Harden gh-aw extension install in CI/CD gaps assessment workflow#2904
Conversation
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
There was a problem hiding this comment.
Pull request overview
This PR hardens the scheduled CI/CD Pipelines and Integration Tests Gap Assessment workflow by making gh-aw extension installation more resilient when an authenticated install fails (e.g., due to HTTP 401: Bad credentials), reducing the chance the job aborts before running the agent.
Changes:
- Wraps
gh extension install github/gh-awwith a single retry that clearsGH_TOKENon failure. - Removes an extraneous trailing blank line at the end of the workflow file.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/ci-cd-gaps-assessment.lock.yml | Adds a fallback retry path for gh-aw extension install to mitigate token-auth failures in CI. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Smoke Test Results
Overall: FAIL — GitHub MCP auth issue (401). Playwright, file ops, and bash all working.
|
Smoke Test: Copilot BYOK — Results
Running in BYOK offline mode ( Overall: FAIL — GitHub MCP returned 401; pre-step outputs not injected into agent environment.
|
🤖 Smoke Test Results
Overall: PASS (MCP auth is a known agent limitation; infra tests pass) cc
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Smoke Test Results
Overall: FAIL —
|
|
Smoke Test: FAIL 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.
|
Bug Fix
What was the bug?
The scheduled CI/CD Pipelines and Integration Tests Gap Assessment workflow failed on
mainbecausegh extension install github/gh-awexited onHTTP 401: Bad credentialsduring extension install, aborting the agent job before execution.How did you fix it?
.github/workflows/ci-cd-gaps-assessment.lock.ymlto keep the current authenticated install path first, then retry once withoutGH_TOKENif the initial install fails with token-related auth issues.Testing