fix: upgrade test-coverage-improver sandbox to AWF v0.25.51#3583
Conversation
The workflow was failing because sandbox.agent.version v0.25.29 did not have binary artifacts in releases (checksums.txt returned 404). Updated to v0.25.51 (latest release with all required assets), then recompiled all workflows with `gh aw compile` and ran the required post-processing script.
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.
There was a problem hiding this comment.
Pull request overview
This pull request updates the agentic workflow sandbox/runtime configuration to prevent the Test Coverage Improver workflow from failing before the Copilot agent runs, and regenerates the compiled/locked workflows with the newer gh-aw compiler output.
Changes:
- Bumped
test-coverage-improversandbox AWF agent version fromv0.25.29tov0.25.51. - Recompiled multiple
*.lock.ymlworkflows (compiler metadata updated tov0.74.8) and updated generated execution/env wiring accordingly. - Updated the maintenance workflow and the actions lockfile content as part of the recompilation.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/update-release-notes.lock.yml | Regenerated lock workflow with gh-aw v0.74.8 and updated generated execution/env wiring. |
| .github/workflows/test-coverage-improver.md | Bumps sandbox AWF agent version to v0.25.51. |
| .github/workflows/smoke-claude.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata. |
| .github/workflows/security-review.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/issue-monster.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/issue-duplication-detector.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/firewall-issue-dispatcher.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/export-audit.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/dependency-security-monitor.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and additional checkout handling. |
| .github/workflows/copilot-token-usage-analyzer.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/copilot-token-optimizer.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/cli-flag-consistency-checker.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/claude-token-usage-analyzer.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/ci-doctor.lock.yml | Regenerated lock workflow output with updated gh-aw v0.74.8 metadata and env wiring tweaks. |
| .github/workflows/agentics-maintenance.yml | Regenerated maintenance workflow to use updated gh-aw action versions. |
| .github/aw/actions-lock.json | Updates the action pin lockfile contents alongside regenerated workflows. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
.github/aw/actions-lock.json:88
.github/aw/actions-lock.jsonno longer contains entries forgithub/gh-aw-actions/setup@v0.74.8/github/gh-aw-actions/setup-cli@v0.74.8, but the regenerated workflows reference those actions. If this lock file is meant to provide immutable action pins, please add the missing entries (repo/version/commit SHA) so compilation can emit SHA-pinneduses:references and avoid mutable tag execution.
"repo": "docker/setup-buildx-action",
"version": "v4.0.0",
"sha": "4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd"
},
"github/gh-aw/actions/setup@v0.72.1": {
"repo": "github/gh-aw/actions/setup",
"version": "v0.72.1",
"sha": "489dbab88cc78e35506b5ccbf08a4037166824ac"
},
"softprops/action-gh-release@v3.0.0": {
"repo": "softprops/action-gh-release",
"version": "v3.0.0",
"sha": "b4309332981a82ec1c5618f44dd2e27cc8bfbfda"
}
},
- Files reviewed: 39/39 changed files
- Comments generated: 3
| steps: | ||
| - name: Setup Scripts | ||
| id: setup | ||
| uses: github/gh-aw-actions/setup@d3abfe96a194bce3a523ed2093ddedd5704cdf62 # v0.74.4 | ||
| uses: github/gh-aw-actions/setup@v0.74.8 | ||
| with: | ||
| destination: ${{ runner.temp }}/gh-aw/actions |
| steps: | ||
| - name: Setup Scripts | ||
| uses: github/gh-aw-actions/setup@d3abfe96a194bce3a523ed2093ddedd5704cdf62 # v0.74.4 | ||
| uses: github/gh-aw-actions/setup@v0.74.8 |
|
|
||
| - name: Install gh-aw | ||
| uses: github/gh-aw-actions/setup-cli@d3abfe96a194bce3a523ed2093ddedd5704cdf62 # v0.74.4 | ||
| uses: github/gh-aw-actions/setup-cli@v0.74.8 |
This comment has been minimized.
This comment has been minimized.
|
@copilot address review feedback |
Addressed. I pinned Included in commit: |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
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.
Fixed in commit I investigated run |
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.
This comment has been minimized.
This comment has been minimized.
|
@copilot fix this failing ci check https://github.com/github/gh-aw-firewall/actions/runs/26296541420/job/77410889228?pr=3583 |
Fixed in commit I traced run 26296541420/job 77410889228 and updated the Smoke Claude prompt to require |
Smoke Test Results✅ All tests PASS
Claude engine validation complete.
|
Smoke Test ResultsPR #3584: Remove unused ✅ GitHub MCP: Connected successfully Overall Status: ❌ FAIL cc
|
Smoke Test: Copilot BYOK (Offline) — PARTIAL FAILTests:
Current PR: #3583 "fix: upgrade test-coverage-improver sandbox to AWF v0.25.51" by Overall: FAIL — file test failed, missing pre-step HTTP data
|
Smoke TestPR titles: Remove unused 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.
|
Smoke Test: Services Connectivity - FAIL ❌
Result: FAIL - No service containers are reachable from AWF sandbox
|
Smoke Test Results
Overall status: FAIL 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 All build and test operations completed successfully across all 18 projects.
|
The Test Coverage Improver agentic workflow was failing immediately before the Copilot agent was ever invoked. The
install_awf_binary.shstep tried to downloadchecksums.txtfrom releasev0.25.29, which doesn't exist as a binary release, returning 404 and aborting the job.Changes
test-coverage-improver.md: Updatedsandbox.agent.versionfromv0.25.29→v0.25.51(latest release with full binary assets)*.lock.ymlfiles: Recompiled viagh aw compile+ post-processing script (postprocess-smoke-workflows.ts) as required after any version bump — updates container image digests and replaces the install-from-release step with a local build step in affected workflowsThe failure signature was:
curl: (22) The requested URL returned error: 404onreleases/download/v0.25.29/checksums.txt, withGH_AW_EFFECTIVE_TOKENS: (none)confirming the AI agent was never reached.