feat
BREAKING
feat/repair-commit-endpoint
#1 / 1
feat: add repair-commit wire endpoint (API parity with repair-object/repair-snapshot)
Repairs commits whose stored row no longer reproduces its commit_id — e.g. commits the rc10 migration stamped with a signer_public_key without recomputing the id, so the serve-path hash check fails on clone and the commit (plus all descendants) is dropped. Mirrors repair-snapshot: validates hash_commit(fields)==commit_id (round- tripping committed_at through timestamp.isoformat() so the verified identity is the one re-served) before force-overwriting the row. Owner/write-only.
Validated on localhost end-to-end: push -> stamp spurious signer -> bust mpack cache -> broken clone (0/3) -> signed HTTP repair-commit -> bust cache -> clean clone (3/3).
sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2
sha
+35
~46
symbols
974 changed · 974 in snapshot
files
sha256:a260600d0f1e5493eaaaecfcf2fc0dcc000330ad1ceac98be224a98b444984ac
snapshot
+35
symbols added
~46
symbols modified
974
files changed
974
files in snapshot
0
dead code introduced
Semantic Changes
81 symbols
+
test_repair_commit_fixes_spurious_signer
function
function test_repair_commit_fixes_spurious_signer L154–183
← Older
Oldest on feat/repair-commit-endpoint
All commits
Newer →
Latest on feat/repair-commit-endpoint
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2 --body "your comment"
No comments yet. Be the first to start the discussion.