Use Windows PowerShell daily install suggestion for package-manager update errors#7293
Conversation
Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600
Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600
Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600
|
@copilot Remove function DailyInstallCmd. Winget is support windows only. |
Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/3d6160f5-8d5e-4172-ac95-815cc901ec09
Removed |
There was a problem hiding this comment.
Pull request overview
Updates the azd update --channel daily package-manager error suggestion to use the Windows PowerShell installer guidance (since this code path applies to winget/choco installs), and refreshes the update design doc to reflect platform-specific daily install instructions.
Changes:
- Update the winget/choco “daily builds aren’t available” suggestion to use
install-azd.ps1PowerShell instructions. - Update the update-design documentation to reference platform-appropriate daily install commands.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
cli/azd/cmd/update.go |
Changes the error suggestion for winget/choco daily-channel updates to a PowerShell-based daily install command. |
cli/azd/docs/design/azd-update.md |
Updates the design note for cross install-method switching to mention platform-specific daily install guidance. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/91766c4d-c85a-4d88-8d25-de13ae263fc9
The CI failures were caused by referencing |
|
/azp run azure-dev - cli |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
|
/check-enforcer override |
- Add Unreleased section to cli/azd/CHANGELOG.md documenting: - Azure#7236: azd auth status --output json agent-friendly improvements - Azure#7223: Function App .funcignore-aware remoteBuild defaulting - Azure#7293: Windows PowerShell daily install suggestion fix - Azure#7250: Container Apps and ARM error suggestion improvements - Add azure.ai.models extension v0.0.5-preview CHANGELOG entry for Azure#7279: 403 error handling improvements in custom create Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
* Initial plan * Create changelog for azd 1.23.13 Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/ec18918d-8b3a-40c9-b15a-4d9b273c0270 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> * Remove PR #7293 from 1.23.13 changelog Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
…pdate errors (Azure#7293) * Initial plan * fix: use platform-specific daily install suggestion Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: finalize update suggestion fix Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: revert unrelated extension dependency changes Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * refactor: remove DailyInstallCmd and inline Windows PowerShell command Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/3d6160f5-8d5e-4172-ac95-815cc901ec09 * Update cli/azd/cmd/update.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: inline install-azd.ps1 URL to fix undefined update.InstallScriptURL Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/91766c4d-c85a-4d88-8d25-de13ae263fc9 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan * Create changelog for azd 1.23.13 Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/ec18918d-8b3a-40c9-b15a-4d9b273c0270 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> * Remove PR Azure#7293 from 1.23.13 changelog Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
…pdate errors (Azure#7293) * Initial plan * fix: use platform-specific daily install suggestion Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: finalize update suggestion fix Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: revert unrelated extension dependency changes Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * refactor: remove DailyInstallCmd and inline Windows PowerShell command Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/3d6160f5-8d5e-4172-ac95-815cc901ec09 * Update cli/azd/cmd/update.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: inline install-azd.ps1 URL to fix undefined update.InstallScriptURL Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/91766c4d-c85a-4d88-8d25-de13ae263fc9 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan * Create changelog for azd 1.23.13 Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/ec18918d-8b3a-40c9-b15a-4d9b273c0270 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> * Remove PR Azure#7293 from 1.23.13 changelog Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
…pdate errors (Azure#7293) * Initial plan * fix: use platform-specific daily install suggestion Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: finalize update suggestion fix Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: revert unrelated extension dependency changes Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * refactor: remove DailyInstallCmd and inline Windows PowerShell command Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/3d6160f5-8d5e-4172-ac95-815cc901ec09 * Update cli/azd/cmd/update.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: inline install-azd.ps1 URL to fix undefined update.InstallScriptURL Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/91766c4d-c85a-4d88-8d25-de13ae263fc9 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan * Create changelog for azd 1.23.13 Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/ec18918d-8b3a-40c9-b15a-4d9b273c0270 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> * Remove PR Azure#7293 from 1.23.13 changelog Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
…pdate errors (Azure#7293) * Initial plan * fix: use platform-specific daily install suggestion Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: finalize update suggestion fix Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: revert unrelated extension dependency changes Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * refactor: remove DailyInstallCmd and inline Windows PowerShell command Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/3d6160f5-8d5e-4172-ac95-815cc901ec09 * Update cli/azd/cmd/update.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: inline install-azd.ps1 URL to fix undefined update.InstallScriptURL Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/91766c4d-c85a-4d88-8d25-de13ae263fc9 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan * Create changelog for azd 1.23.13 Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/ec18918d-8b3a-40c9-b15a-4d9b273c0270 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> * Remove PR Azure#7293 from 1.23.13 changelog Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
…pdate errors (Azure#7293) * Initial plan * fix: use platform-specific daily install suggestion Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: finalize update suggestion fix Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * chore: revert unrelated extension dependency changes Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/5e14a4d6-7532-45e9-97f5-480c97748600 * refactor: remove DailyInstallCmd and inline Windows PowerShell command Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/3d6160f5-8d5e-4172-ac95-815cc901ec09 * Update cli/azd/cmd/update.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: inline install-azd.ps1 URL to fix undefined update.InstallScriptURL Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/91766c4d-c85a-4d88-8d25-de13ae263fc9 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan * Create changelog for azd 1.23.13 Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/ec18918d-8b3a-40c9-b15a-4d9b273c0270 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> * Remove PR Azure#7293 from 1.23.13 changelog Agent-Logs-Url: https://github.com/Azure/azure-dev/sessions/c248a61d-9e5c-4091-b002-953c5c7ea4e7 Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajeshkamal5050 <11532743+rajeshkamal5050@users.noreply.github.com>
Fixes #7292
This PR updates the error suggestion for when user has azd installed via WinGet and is trying to switch to
dailybuilds withazd update --channel daily.Before change:
After change:
Original prompt
daily builds aren't available via wingeterror suggestion #7292💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.