Skip to content

ci: reduce retention for debugging artifacts in ci.yml and cgo.yml#32451

Merged
pelikhan merged 4 commits into
mainfrom
copilot/ci-coach-reduce-artifact-retention
May 15, 2026
Merged

ci: reduce retention for debugging artifacts in ci.yml and cgo.yml#32451
pelikhan merged 4 commits into
mainfrom
copilot/ci-coach-reduce-artifact-retention

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

This updates CI artifact retention to better match debugging windows and reduce storage churn. Integration test result artifacts now keep short-lived data, while cgo debug/support artifacts move to a one-week horizon.

  • Scope

    • .github/workflows/ci.yml
    • .github/workflows/cgo.yml
  • Integration artifact retention (14 → 3 days)

    • test-result-integration-${{ matrix.test-group.name }}
    • test-result-integration-unauthenticated
    • test-result-integration-add-dispatch-workflow
  • CGO artifact retention (14 → 7 days)

    • test-result-cgo-unit
    • test-coverage-analysis-cgo
    • gh-aw-linux-amd64
    • fuzz-results-${{ matrix.group }}
  • No change

    • Longer-lived artifacts intended for trend/history (e.g., benchmark and dependency-audit retention) remain unchanged.
# Example of the applied pattern
- name: Upload test results
  uses: actions/upload-artifact@...
  with:
    name: test-result-integration-unauthenticated
    path: test-result-integration-unauthenticated.json
    retention-days: 3

pr-sous-chef: updated branch during run https://github.com/github/gh-aw/actions/runs/25942653140

Generated by 👨‍🍳 PR Sous Chef ·

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request May 15, 2026
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Reduce artifact retention days for debugging artifacts ci: reduce retention for debugging artifacts in ci.yml and cgo.yml May 15, 2026
Copilot AI requested a review from pelikhan May 15, 2026 18:56
@pelikhan pelikhan marked this pull request as ready for review May 15, 2026 21:36
Copilot AI review requested due to automatic review settings May 15, 2026 21:36
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot merge main and recompile

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates GitHub Actions workflow artifact retention to reduce storage churn while keeping enough time for debugging.

Changes:

  • Reduce CI integration test result artifact retention from 14 days to 3 days.
  • Reduce CGO workflow debug/support artifact retention from 14 days to 7 days.
  • Regenerate .github/workflows/linter-miner.lock.yml (workflow lock/metadata).
Show a summary per file
File Description
.github/workflows/ci.yml Lowers integration test result artifact retention to 3 days.
.github/workflows/cgo.yml Lowers CGO unit/coverage/build/fuzz artifact retention to 7 days.
.github/workflows/linter-miner.lock.yml Regenerated lock file content/metadata as part of the change set.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 1

Comment thread .github/workflows/linter-miner.lock.yml Outdated
@@ -1,4 +1,4 @@
# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"07f2f92a9c56fdc0c6048f58fed584e6a9bc47505aca83cdeb1eec6583eb28b4","strict":true,"agent_id":"copilot"}
# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"ba9a57761586d292fac773c21b1a347c829d0a88cc13a120696e8e8ac412ad15","strict":true,"agent_id":"copilot"}
@github-actions
Copy link
Copy Markdown
Contributor

@copilot review all comments

Please address the unresolved review feedback, then refresh the branch and rerun checks.

Generated by 👨‍🍳 PR Sous Chef ·

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 15, 2026

@copilot merge main and recompile

Done in ebdbba09c1: merged origin/main into this branch and ran make recompile.

@pelikhan pelikhan merged commit f6d369b into main May 15, 2026
@pelikhan pelikhan deleted the copilot/ci-coach-reduce-artifact-retention branch May 15, 2026 21:54
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.

[ci-coach] ci: reduce artifact retention days for debugging artifacts

3 participants