feat(pack-gc): Phase 4 — GC consolidates N push packs into one bundle
process_pack_gc_job merges all distinct packs for a repo into a single content-addressed consolidated bundle and rewrites musehub_pack_index so every object_id maps to the new key. After GC, wire_fetch_bundle returns exactly 1 pack_url regardless of how many pushes the repo had.
- process_pack_gc_job: download all packs, merge objects, write consolidated bundle, delete+reinsert pack index rows pointing at new key - Idempotent: same content → same sha256 key → no duplicate rows - Skips repos already at ≤ 1 pack (single-pack repos are already optimal) - Wire pack.gc job type into worker.py - PG-1..6 TDD tests all green (18/18 across phases 1-4)
sha256:28e1d7ddf80d751ec881b5c8bf57f6259b9b36b829d3ab1730784b626ece4d0e
sha
sha256:d9f98d094eb2ff75820d490dc2c812739ab7d5ed05158fdcd8aa61ba173d041c
snapshot
Older
feat(pack-fetch): Phase 3 — pack-based fetch returns presigned p…
sha256:0e57608ae6b9f42358be2017649f98fd9cc509ba99c346dfbdb84de5bfaf9e59
All commits
Newer
feat(cdn-reads): Phase 5 — CDN-first bundle reads via Cloudflare
sha256:40deaf8bd39fb488ad88b0d234b553c5c3a26affe8fe864b21a8b61527f0a7f1
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:28e1d7ddf80d751ec881b5c8bf57f6259b9b36b829d3ab1730784b626ece4d0e --body "your comment"
No comments yet. Be the first to start the discussion.