From 32b31f686f713f01c792d5a8637a8a264612f7f2 Mon Sep 17 00:00:00 2001 From: Dev Punia Date: Thu, 18 Jun 2026 20:27:20 +0530 Subject: [PATCH 1/2] ci(release): cap dist-* build-artifact retention at 2 days MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The per-platform dist-* artifacts are intra-run couriers: the publish and gh-release jobs download them within the same release run, after which the binaries live permanently as npm packages and GitHub Release assets (which do NOT count against the Actions artifact storage quota). With no retention set they inherited the org 90-day default and accumulated to ~90 GB across releases back to March — single-handedly exhausting the shared org artifact-storage quota and failing artifact uploads in other repos (e.g. altimate-ingestion). 2 days is plenty to span a release run. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01GWgwuud3NLX8fdZp581v5y --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52caa05e5..8e4ba4097 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,6 +127,11 @@ jobs: name: dist-${{ matrix.name }} path: packages/opencode/dist/ compression-level: 1 + # These are intra-run couriers: the publish + gh-release jobs download + # them within the same run, then the binaries live permanently as npm + # packages + GitHub Release assets. Keep them only long enough to span + # the run so they don't accumulate against the org artifact-storage quota. + retention-days: 2 # --------------------------------------------------------------------------- # Verdaccio sanity suite — tests the real `npm install -g` flow BEFORE From e6372f219e2eaefa0ab74474a7e0f4d9d100a0f5 Mon Sep 17 00:00:00 2001 From: Dev Punia Date: Thu, 18 Jun 2026 20:40:06 +0530 Subject: [PATCH 2/2] ci(release): use 5-day dist-* retention for extra re-run margin Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01GWgwuud3NLX8fdZp581v5y --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e4ba4097..b60ccb393 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -130,8 +130,9 @@ jobs: # These are intra-run couriers: the publish + gh-release jobs download # them within the same run, then the binaries live permanently as npm # packages + GitHub Release assets. Keep them only long enough to span - # the run so they don't accumulate against the org artifact-storage quota. - retention-days: 2 + # the run (worst run ~62 min) plus margin for a next-day partial re-run, + # so they don't accumulate against the org artifact-storage quota. + retention-days: 5 # --------------------------------------------------------------------------- # Verdaccio sanity suite — tests the real `npm install -g` flow BEFORE