You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduces artifact retention for debugging-only artifacts that don't need 2-week retention. All 6184 unit tests pass with no gaps in coverage. Integration failures in scheduled runs are network-dependent issues, not CI config problems.
Top Optimizations
Reduce Integration Test Result Retention (14 → 3 days)
Type: Artifact Management
Impact: ~50% storage reduction for the highest-volume artifacts (multiple jobs × multiple daily runs)
Risk: None — these are debugging artifacts not referenced by downstream jobs
Changes: ci.yml lines 260, 1115, 1173
Rationale: Integration test result JSON files are only useful when debugging a failure that occurred in the last 1-2 days. 14 days is excessive.
Reduce Unit Test / Coverage / Fuzz / Binary Artifacts (14 → 7 days)
Type: Artifact Management
Impact: Halves storage for 4 artifact types in cgo.yml
Risk: None — test-result-cgo-unit is consumed by canary-go which runs immediately after test completes
Changes: cgo.yml lines 215, 270, 323, 1129
Rationale: These artifacts are used for debugging recent runs or trend analysis, not long-term archiving. 7 days is sufficient.
Expected Impact
Estimated ~50% reduction in CI artifact storage costs
No impact on CI speed or test coverage
Benchmark (14 days) and dependency-audit (14 days) unchanged — these benefit from longer retention for trend tracking
Validation Results
✅ YAML syntax validated
✅ 6184/6184 unit tests executed (no coverage gaps per canary-go)
✅ No unit test failures in latest run
✅ Changes are surgical — only retention-days values modified
Metrics Baseline
Total runs analyzed: 60
Success rate: 22% (41% failure rate from integration tests — network-dependent, not config issues)
The bundle file is available in the agent artifact in the workflow run linked above.
To create a pull request with the changes:
# Download the artifact from the workflow run
gh run download 25921071141 -n agent -D /tmp/agent-25921071141
# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-25921071141/aw-ci-coach-reduce-artifact-retention.bundle refs/heads/ci-coach/reduce-artifact-retention:refs/bundles/create-pr-ci-coach-reduce-artifact-retention-5290374da7e24882-409dcde7
git update-ref refs/heads/ci-coach/reduce-artifact-retention-5290374da7e24882 refs/bundles/create-pr-ci-coach-reduce-artifact-retention-5290374da7e24882-409dcde7
git checkout ci-coach/reduce-artifact-retention-5290374da7e24882
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d refs/bundles/create-pr-ci-coach-reduce-artifact-retention-5290374da7e24882-409dcde7
# Push the branch to origin
git push origin ci-coach/reduce-artifact-retention-5290374da7e24882
# Create the pull request
gh pr create --title '[ci-coach] ci: reduce artifact retention days for debugging artifacts' --base main --head ci-coach/reduce-artifact-retention-5290374da7e24882 --repo github/gh-aw
CI Optimization Proposal
Summary
Reduces artifact retention for debugging-only artifacts that don't need 2-week retention. All 6184 unit tests pass with no gaps in coverage. Integration failures in scheduled runs are network-dependent issues, not CI config problems.
Top Optimizations
Reduce Integration Test Result Retention (14 → 3 days)
ci.ymllines 260, 1115, 1173Reduce Unit Test / Coverage / Fuzz / Binary Artifacts (14 → 7 days)
cgo.ymltest-result-cgo-unitis consumed bycanary-gowhich runs immediately aftertestcompletescgo.ymllines 215, 270, 323, 1129Expected Impact
Validation Results
retention-daysvalues modifiedMetrics Baseline
References:
Warning
Firewall blocked 2 domains
The following domains were blocked by the firewall during workflow execution:
proxy.golang.orgpypi.orgSee Network Configuration for more information.
Note
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download bundle artifact
The bundle file is available in the
agentartifact in the workflow run linked above.To create a pull request with the changes: