Skip to content

ci: stop persisting dev build artifacts - #37

Merged
mikejgray merged 1 commit into
mainfrom
ci/drop-dev-build-artifacts
Jul 29, 2026
Merged

mikejgray merged 1 commit into
mainfrom
ci/drop-dev-build-artifacts

Conversation

@mikejgray

Copy link
Copy Markdown
Collaborator

Why

build.yml uploaded a compiled binary on every push and PR across a 3-OS matrix with no retention-days, so each fell back to the repo default of 90 days.

That accumulated ~2.4 GB of live artifacts — 99.9% of all Actions storage across the entire org — and hit the free plan's 500 MB cap:

Failed to CreateArtifact: Artifact storage quota has been hit.
Unable to upload any new artifacts.

This blocked artifact uploads org-wide, including neon-node-flutter-app#3, which needs storage for real release builds.

What changed

  • Removed the Upload artifact step from build.yml. The build job still compiles on all three platforms, so the matrix keeps its signal — it just stops keeping the output. These were dev binaries from every push, reproducible by re-running the workflow.
  • Pinned the release binary handoff to retention-days: 1 in release-please.yml. It only needs to survive between build-and-upload and upload-release-assets in the same run; 90 days was the recurrence risk.

Release binaries are unaffected

release-please.yml builds its own binaries and attaches them to the GitHub Release via gh release upload, gated on release_created. That path is independent of build.yml and untouched. The Docker digest upload was already at retention-days: 1.

Also done outside this PR

Purged the 110 existing live artifacts in this repo (2474 MB → 0). Artifacts in other org repos (2.81 MB of SARIF scan uploads) were left alone.

build.yml uploaded a compiled binary on every push and PR across a
3-OS matrix with no retention-days, so each fell back to the repo
default of 90 days. That accumulated ~2.4GB of live artifacts and hit
the org's 500MB Actions storage cap, blocking new uploads org-wide.

The build job still compiles on all three platforms, so the matrix
keeps its signal; it just stops keeping the output. Release binaries
are unaffected -- release-please builds its own and attaches them to
the GitHub Release.

Also pin the release binary handoff to retention-days: 1. It only
needs to survive between jobs in the same run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mikejgray
mikejgray merged commit 41c9ed7 into main Jul 29, 2026
4 checks passed
@mikejgray
mikejgray deleted the ci/drop-dev-build-artifacts branch July 29, 2026 00:21
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.

1 participant