You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Continuing in browser fails for new issue create #2509
Creating a new issue with gh, and choosing the option to continue in browser after providing the body only returns the link to stdout, and fails to open a new browser tab.
gh --version: gh version 1.3.0 (2020-11-24)
Steps to reproduce the behavior
Type this: gh issue create
Provide body of message using nano.
Save the body through nano
Select the "Continue in browser" option in "What's next?"
Creating issue in astrochun/Metallicity_Stack_Commons
? Title Use GitHub Actions for CI
? Body <Received>
? What's next? Continue in browser
https://github.com/astrochun/Metallicity_Stack_Commons/issues/85
(base) ___$
Note that other browser viewing options (e.g., gh issue list -w will work fine)
Thank you for reporting. If you retry with DEBUG=1 gh issue create, it will start verbose output mode which will display the commands invoked. Here, gh will read the BROWSER environment variable to determine which browser program to use for "Continue in browser". Do you have anything set under that variable in your environment? Please check echo $BROWSER
Thank you for reporting. If you retry with DEBUG=1 gh issue create, it will start verbose output mode which will display the commands invoked. Here, gh will read the BROWSER environment variable to determine which browser program to use for "Continue in browser". Do you have anything set under that variable in your environment? Please check echo $BROWSER
Activity
mislav commentedon Nov 30, 2020
Thank you for reporting. If you retry with
DEBUG=1 gh issue create, it will start verbose output mode which will display the commands invoked. Here, gh will read the BROWSER environment variable to determine which browser program to use for "Continue in browser". Do you have anything set under that variable in your environment? Please checkecho $BROWSERastrochun commentedon Nov 30, 2020
@mislav, here's the full DEBUG output:
BROWSERenvironment is not set. Note that:gh repo view cli/cli -wdoes open a web browser. Here's the verbose output:mislav commentedon Dec 1, 2020
Thank you for the details. I see now that this is a regression in #2386.
Please hold off using "Continue in browser" until this is patched. 🙇
[-]Contining in browser fails for new issue create[/-][+]Continuing in browser fails for new issue create[/+]astrochun commentedon Dec 1, 2020
I figured it was a major refactor since it was fine in v1.2.0. Thanks for confirming that it wasn't just me! 😆