Skip to content

ci: evict majestic's moving S3 tarball from the dl cache too#2212

Merged
widgetii merged 1 commit into
masterfrom
ci-evict-majestic-moving-bz2
Jun 28, 2026
Merged

ci: evict majestic's moving S3 tarball from the dl cache too#2212
widgetii merged 1 commit into
masterfrom
ci-evict-majestic-moving-bz2

Conversation

@widgetii

Copy link
Copy Markdown
Member

Mirrors OpenIPC/builder#109.

The "Refresh moving-ref package downloads" step evicts *-{HEAD,master,main,dist}.tar.gz so buildroot re-fetches moving refs each run. That covers the webui dist (majestic-webui-dist.tar.gz) but not majestic, which downloads from S3 as:

majestic.<family>.<variant>.master.tar.bz2     # majestic.mk

dot separator, .tar.bz2, on the S3 host the old pattern spared as "content-addressed". But that S3 object is a moving master build (re-uploaded each majestic CI run, no .hash), so it froze in the monthly output/dl cache while the webui refreshed. That desync shipped a pre-x-groups majestic against the current webui → "No settings groups in schema." on the settings page.

Broaden the eviction to a regex covering both -ref/.ref separators across gz/bz2/xz:

find output/dl -type f -regextype posix-extended \
  -regex '.*[-.](HEAD|master|main|dist)\.tar\.(gz|bz2|xz)' \
  -print -delete

Evicts majestic.*.master.tar.bz2 and majestic-webui-dist.tar.gz while sparing semver/SHA pins. The builder side (#109) is already merged and verified end-to-end: a republished t31_lite_xiaomi-mjsxj03hl-nor.tgz now bundles a 2026-06-25 majestic with the x-groups manifest (was 2026-05-24).

🤖 Generated with Claude Code

The "Refresh moving-ref package downloads" step drops *-{HEAD,master,main,dist}.tar.gz
before each build so buildroot re-fetches the current ref. That matches the
majestic-webui dist (*-dist.tar.gz) but never matched majestic itself, which
downloads from S3 as majestic.<family>.<variant>.master.tar.bz2 (majestic.mk) —
a DOT separator, .tar.bz2, on the S3 host the old pattern spared as
"content-addressed". But that S3 object is a moving `master` build, re-uploaded
on every majestic CI run, with no .hash to force a refetch, so it froze in the
monthly output/dl cache while the webui refreshed. That desync shipped a
pre-x-groups majestic against the current webui, blanking the settings page
("No settings groups in schema").

Broaden the eviction to a regex covering both -ref and .ref separators across
gz/bz2/xz, so majestic.*.master.tar.bz2 and majestic-webui-dist.tar.gz are both
dropped while semver/SHA-pinned tarballs keep their cache. Mirrors OpenIPC/builder#109.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@widgetii
widgetii merged commit 220abe6 into master Jun 28, 2026
100 checks passed
@widgetii
widgetii deleted the ci-evict-majestic-moving-bz2 branch June 28, 2026 11:47
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