From 833ebdc667db607d54e74681ba69bde66deace10 Mon Sep 17 00:00:00 2001 From: arzafran Date: Thu, 26 Nov 2026 14:42:38 -0300 Subject: [PATCH] ci: keep per-run build artifacts for 7 days --- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 2 ++ .github/workflows/ship-windows.yml | 1 + .github/workflows/test-e2e.yml | 2 ++ 4 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee10f875..d1f8ef45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -348,6 +348,7 @@ jobs: name: programa-windows-ci path: ${{ runner.temp }}/programa-windows-ci/*.exe if-no-files-found: error + retention-days: 7 # Build the Debug app + UI test bundle once and share it with every job that # only needs to *run* it (socket-integration-tests, tests-build-and-lag, diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34443ae4..429faa2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -646,6 +646,7 @@ jobs: overwrite: true path: ${{ runner.temp }}/programa-windows-payload/ if-no-files-found: error + retention-days: 7 # Second half of the supersession check: a newer main commit landing while the builds ran # means this run must not stage or promote. It ends successfully with a notice; the newer @@ -845,6 +846,7 @@ jobs: name: programa-release-dry-run path: ${{ env.PAYLOAD_DIR }}/ if-no-files-found: error + retention-days: 7 promote-rolling: needs: [release-identity, assemble-release] diff --git a/.github/workflows/ship-windows.yml b/.github/workflows/ship-windows.yml index 879e1704..2e40dccd 100644 --- a/.github/workflows/ship-windows.yml +++ b/.github/workflows/ship-windows.yml @@ -66,3 +66,4 @@ jobs: name: windows-lane-${{ github.run_id }}-${{ github.run_attempt }} path: ${{ runner.temp }}/shipit-windows-* if-no-files-found: ignore + retention-days: 7 diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 1e4d99db..abcd6b44 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -321,6 +321,7 @@ jobs: /tmp/programa-e2e.xcresult /tmp/programa-e2e-diagnostics if-no-files-found: warn + retention-days: 7 - name: Stop recording and trim if: ${{ always() && inputs.record_video && env.RECORD_PID != '' }} @@ -370,6 +371,7 @@ jobs: name: test-recording path: /tmp/test-recording.mp4 if-no-files-found: warn + retention-days: 7 # The token never reaches a job that ran the dispatched ref's code: that code # could rewrite $GITHUB_PATH or $GITHUB_ENV and capture it.