-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"az bicep upgrade" intermittently downgrades bicep version #15514
Comments
We have now been able to replicate this issue on multiple different devices |
I've noticed this happens immediately after we push a new release. My suspicion is that our CDN (https://downloads.bicep.azure.com) is returning inconsistent results - perhaps because some endpoints happen to refresh at different times than others. Some possible fixes:
|
@JamieForsythe if you're still able to repro - could you try running these commands with the |
@anthony-c-martin from a quick test the issue seems far rarer now compared to yesterday, which I guess would support your theory. Did manage to repro a couple of times and got the following:
|
Bicep version
v0.31.34
Describe the bug
Since upgrading to v0.31.34, running
az bicep upgrade
intermittently downgrades Bicep to v0.30.23. Re-runningaz bicep upgrade
will then re-upgrade to v0.31.34, but this behaviour then repeats when the command is run in future.Tried uninstalling Bicep and getting a clean install, but the issue persists.
To Reproduce
az bicep upgrade
again (behaviour is intermittent, doesn't seem to happen every time).Terminal output from reproducing the issue with a fresh install:
Additional context
Our organisation has CI processes that run this command to keep our Bicep installation up-to-date, so we need to be able to rely on this command actually installing the latest version.
The text was updated successfully, but these errors were encountered: