Skip to content

fix: run az in pinned azure/cli container (Python 3.14 deadlock) - #144

Merged
jschoedl merged 1 commit into
mainfrom
fix/azure-cli-py314-deadlock
Jul 19, 2026
Merged

fix: run az in pinned azure/cli container (Python 3.14 deadlock)#144
jschoedl merged 1 commit into
mainfrom
fix/azure-cli-py314-deadlock

Conversation

@jschoedl

Copy link
Copy Markdown
Collaborator

Summary

Start environment failed at "Attach public IP" because the runner's bundled Azure CLI runs on Python 3.14, which deadlocks on concurrent command-module loading (Azure/azure-cli#32980) — a flaky race, not our logic. All az commands now run inside the pinned azure/cli@v2 container (known-good CLI/Python), reusing the OIDC login. Date math stays on the host (the container image is Alpine, no GNU date).

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Infrastructure / CI
  • Documentation

API changes

  • This PR does not affect the API
  • This PR changes the API → api/openapi.yaml updated and api/scripts/gen-all.sh re-run

Definition of Done

  • CI passes
  • Pre-commit hooks pass locally
  • Relevant tests added or updated

The runner's bundled Azure CLI is on Python 3.14, which deadlocks on
concurrent command-module loading (Azure/azure-cli#32980) — Start environment
failed at "Attach public IP". Run all az commands in the pinned azure/cli@v2
container instead; date math stays on the host (container image is Alpine).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jschoedl, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 38 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 472ed3c3-53df-44ff-ba93-c6647fcdfda0

📥 Commits

Reviewing files that changed from the base of the PR and between 821c9ff and 306e286.

📒 Files selected for processing (3)
  • .github/workflows/deploy-ansible.yml
  • .github/workflows/vm-start.yml
  • .github/workflows/vm-stop.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/azure-cli-py314-deadlock

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jschoedl
jschoedl merged commit e5d0ce5 into main Jul 19, 2026
1 check passed
@jschoedl
jschoedl deleted the fix/azure-cli-py314-deadlock branch July 19, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant