Skip to content
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

[ARM] az bicep: fix installation check for concurrent usages #30722

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

marlamb
Copy link

@marlamb marlamb commented Jan 27, 2025

Related command
az bicep

Description
If az bicep is called by multiple processes or threads the code has a race condition. By simply allowing for the directory to exist, the same behavior as before is achieved without failing in concurrent usages.


This checklist is used to make sure that common guidelines for a pull request are followed.

If `az` is called by multiple processes or threads the code has a race
condition. By simply allowing for the directory to exist, the same
behavior as before is achieved without failing in concurrent usages.
Copy link

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

Copy link

Hi @marlamb,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 27, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jan 27, 2025
Copy link
Contributor

Thank you for your contribution marlamb! We will review the pull request and get back to you soon.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Auto-Assign Auto assign by bot label Jan 27, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants