Remove dead threshold guards and fix test models for global content-addressing
- Delete FETCH_PRESIGN_OBJECT_THRESHOLD / FETCH_PRESIGN_SIZE_THRESHOLD constants - Remove dead inline-path branches from wire_fetch_bundle and wire_fetch_presign (presign is now unconditional — BlobBackend.supports_presign always True) - Fix _make_commit helpers: MusehubCommit and MusehubSnapshot no longer have repo_id (globally content-addressed); insert MusehubCommitRef, MusehubCommitGraph, and MusehubSnapshotRef rows for repo membership instead - Delete BC1 test (inline path no longer exists) - Update FP0/FP3/FP8 assertions to expect presign=True (no threshold routing) - Fix FPST1 raise trigger to be within 5-object test range
sha256:495d26b0c4730a92aec91ee340f4630c1554646bc47b1525697b4d39addef927
sha
+6
~15
−6
symbols
sha256:08efba49324930959c865cb4adf8344ca510744f04732dcab615c26878d86e22
snapshot
+6
symbols added
~15
symbols modified
−6
symbols removed
0
dead code introduced
Semantic Changes
27 symbols
−
FETCH_PRESIGN_SIZE_THRESHOLD
variable
variable FETCH_PRESIGN_SIZE_THRESHOLD L102–102 → moved to tests/test_wire_fetch_presign.py
−
test_bc1_no_delete_on_inline_path
function
async_function test_bc1_no_delete_on_inline_path L183–212
−
test_fp0_below_threshold_returns_presign_false
function
async_function test_fp0_below_threshold_returns_presign_false L173–186
+
FETCH_PRESIGN_SIZE_THRESHOLD
variable
variable FETCH_PRESIGN_SIZE_THRESHOLD L94–94 ← moved from musehub/services/musehub_wire.py
+
test_fp0_single_object_always_presigns
function
async_function test_fp0_single_object_always_presigns L194–207
← Older
Oldest on task/issue-67-grid
All commits
Newer
Fix test helpers for global content-addressing in fetch bundle tests
sha256:38150d49e5fafa5068489ccb3e64799926a63574dc38b7d1c5600eb097e59ed7
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:495d26b0c4730a92aec91ee340f4630c1554646bc47b1525697b4d39addef927 --body "your comment"
No comments yet. Be the first to start the discussion.