Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
402 stars 195 forks source link

Fail to run `azd pipeline config` on Codespaces #4275

Closed Menghua1 closed 3 weeks ago

Menghua1 commented 1 month ago

Describe the issue: When running the command azd pipeline config, it fails with the following error: image According to the error prompt, run the command gh auth login, and encounter the following error: image

Repro Steps:

  1. Open the Codespaces environment of the todo-java-mongo staging branch.
  2. Install the daily version of azd.
  3. Run azd auth login.
  4. Run azd pipeline conifg.

Environment:

Expected behavior: azd pipeline config command can run successfully.

@rajeshkamal5050 for notification.

jongio commented 1 month ago

Was GH removed from the template devcontainer?

rajeshkamal5050 commented 1 month ago

@vhvb1989 can you help triage this one?

vhvb1989 commented 4 weeks ago

@jongio , azd handles/manages gh-cli, It is automatically installed and used by azd.

This looks like a breaking change in the not logged in message on the gh-cli. We recently updated the version azd uses, which could introduce this different error and broke azd :). I'll take a look

vhvb1989 commented 4 weeks ago

Fix created