Skip to content

fix(publish): delete earlier editions' staged builds after a successful push - #325

Merged
apresmoi merged 1 commit into
mainfrom
fix/prune-staging-after-publish
Nov 13, 2026
Merged

apresmoi merged 1 commit into
mainfrom
fix/prune-staging-after-publish

Conversation

@apresmoi

Copy link
Copy Markdown
Owner

Each staged edition is a full site build (~0.5 GB) kept forever: 31 of them filled 13 GB of the newsroom server. After a successful push (or an already-published no-op), the publisher now deletes staged builds from earlier editions. Today's builds stay, so late additions and an in-progress restage are untouched; current-edition keeps resolving.

Test: node --test agentic-org/scripts/staged-edition.test.mjs agentic-org/scripts/publish-edition-branch.test.mjs (55 pass).

@apresmoi
apresmoi merged commit 065aa5d into main Nov 13, 2026
5 checks passed
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