Skip to content

gh pr create breaks with "could not prompt" error #7651

Description

@achimnol

Describe the bug

The latest update 2.31.0 installed using brew on macOS breaks with an "could not prompt" error when running gh pr create with the milestone selected via the Add metadata menu.

Maybe it's a similar issue to #7634.

Steps to reproduce the behavior

  1. Set your default shell as zsh.
  2. Clone a repo (probably https://github.com/lablup/backend.ai)
  3. gh pr create with milestone using "Add metadata" option.

Expected vs actual behavior

It should ask for which milestone to set for the new PR.

Additional Info

With the update 2.31.0, I'm experiencing a similar issue with zsh.
image

After chagning the selections for "Add metadata" several times, it seems to break with the "Milestone".
image

If I do not include "Milestone", it seems to work fine:
image

You may check out the milestone configuration of the repo shown in the log here: https://github.com/lablup/backend.ai/milestones.

Activity

  1. added
    priority-2Affects more than a few users but doesn't prevent core functions
    and removed on Jul 5, 2023
  2. vilmibm commented on Jul 5, 2023

    @vilmibm
    Contributor

    confirmed locally; thanks for the report.

  3. dybarsky commented on Aug 2, 2023

    @dybarsky

    @vilmibm Hi. Unfortunately I still have this error. Milestones have format 2023.15.0
    Screenshot_20230802_134038

  4. reopened this on Aug 2, 2023
  5. dybarsky commented on Aug 25, 2023

    @dybarsky

    Fixed in 2.33.0 (2023-08-18)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-investigationCLI team needs to investigatepriority-2Affects more than a few users but doesn't prevent core functions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions