fix(contribution-check): switch to gpt-5.4-mini and add cancel-in-progress concurrency#5163
Conversation
…ress concurrency - Replace claude-haiku-4.5 with gpt-5.4-mini to avoid Copilot/Claude API rate limits (HTTP 429) - Add explicit concurrency group scoped per PR with cancel-in-progress: true so rapid pushes to the same PR cancel the queued run instead of piling up - Recompile contribution-check.lock.yml (v0.79.8) Closes #5097
There was a problem hiding this comment.
Pull request overview
Updates the contribution-check agentic workflow to reduce Copilot-side rate limiting and avoid stacked runs by switching to a native Copilot model and enabling per-PR concurrency cancellation.
Changes:
- Switch
engine.modelfromclaude-haiku-4.5togpt-5.4-miniin the source workflow. - Add a
concurrencygroup withcancel-in-progress: trueto supersede stale runs on rapid pushes. - Regenerate
contribution-check.lock.ymlwithgh aw compilev0.79.8 to reflect the source workflow updates.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/contribution-check.md | Adds PR-scoped concurrency cancellation and updates the Copilot model used by the workflow. |
| .github/workflows/contribution-check.lock.yml | Recompiled locked workflow reflecting the new model + concurrency (and updated gh-aw tooling output). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 5
| engine: | ||
| id: copilot | ||
| model: claude-haiku-4.5 | ||
| model: gpt-5.4-mini |
| - name: Setup Scripts | ||
| id: setup | ||
| uses: github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6 | ||
| uses: github/gh-aw-actions/setup@v0.79.8 | ||
| with: |
| - name: Setup Scripts | ||
| id: setup | ||
| uses: github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6 | ||
| uses: github/gh-aw-actions/setup@v0.79.8 | ||
| with: |
| - name: Setup Scripts | ||
| id: setup | ||
| uses: github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6 | ||
| uses: github/gh-aw-actions/setup@v0.79.8 | ||
| with: |
| - name: Setup Scripts | ||
| id: setup | ||
| uses: github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6 | ||
| uses: github/gh-aw-actions/setup@v0.79.8 | ||
| with: |
|
@copilot address review feedback |
|
✅ Copilot review passed with no inline comments. @copilot Add the |
Done in commit
|
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (4 files)
Coverage comparison generated by |
|
✅ Contribution Check completed successfully! |
|
🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅ |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
✅ Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓 |
|
✅ Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓 |
|
🚀 Security Guard has started processing this pull request |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
❌ Smoke Claude failed |
|
🔌 Smoke Services — All services reachable! ✅ |
|
✅ Build Test Suite completed successfully! |
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded. |
|
✅ Smoke Gemini completed. All facets verified. 💎 |
🔬 Smoke Test: Copilot PAT Auth — PASS
Overall: PASS | Auth mode: PAT (COPILOT_GITHUB_TOKEN) cc
|
Smoke Test: Copilot BYOK ✅Mode: Direct BYOK (COPILOT_PROVIDER_API_KEY) via api-proxy → api.githubcopilot.com Test Results:
Status: PASS
|
|
Running in direct BYOK mode (AWF_AUTH_TYPE=github-oidc + AWF_AUTH_AZURE_* + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) authenticated via Microsoft Entra Overall status: PASS
|
Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
|
Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw)
Overall: PASS
|
Chroot Version Comparison Results
Overall: ❌ FAILED — Python and Node.js versions differ between host and chroot environments.
|
📡 Smoke Test: API Proxy OpenTelemetry Tracing
Overall: All scenarios pass. Scenario 3 shows a false negative — the validation script grep targets the wrong source file; the actual env var forwarding is implemented and confirmed in
|
🔍 Smoke Test ResultsPR: fix(contribution-check): switch to gpt-5.4-mini and add cancel-in-progress concurrency
Overall: PASS
|
Smoke Test Results
Overall: FAIL
|
Smoke Test: Gemini Engine Validation
Overall Status: PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS Environment notes
|
The
contribution-checkworkflow hit HTTP 429 rate limits repeatedly on PR #5095 (11 consecutive failures) due to two compounding issues:claude-haiku-4.5via the Copilot API gateway has tighter per-model rate limits than native Copilot models, and withoutcancel-in-progress: trueeach rapid push queued a new run rather than superseding the previous one.Changes
contribution-check.mdmodel: claude-haiku-4.5→model: gpt-5.4-mini— native Copilot model, avoids the Claude-via-Copilot rate limit ceilingconcurrencyblock scoped per PR withcancel-in-progress: true— rapid pushes cancel stale queued runs instead of stacking themcontribution-check.lock.yml— recompiled withgh aw compile contribution-check(v0.79.8)