gabriel / musehub public
fix BREAKING dev
AI Agent gabriel · 114 days ago · May 27, 2026 · Diff

fix: repair 400+ failing tests, fix mpack integrity check, add zlib decompression, zero typing audit violations

- Fix mpack_key computation: use blob_id() not raw hashlib.sha256 everywhere - Fix wire bytes format: use build_wire_mpack() (MUSE magic) not raw msgpack.packb - Fix conftest: patch musehub_wire_push and musehub_wire_shared in global backend fixture - Fix CommitRecord constructor: remove repo_id field (not in schema) - Fix zlib decompression tests: commit MusehubObject rows, use correct db mock - Fix _fetch_readme unit tests: mock db.get with AsyncMock returning object with content_cache - Fix musehub_wire_push.py: integrity check uses blob_id() not raw SHA-256 - Zero typing audit violations (--max-any 0): fix bare_dict, bare_list, boundary_dict, dict_of_dict, param_object, return_object across 14 source + test files

sha256:1bb2b2331b696382042e1249385aafd0c7bdd17167b7b972be72b90ae625bd80 sha
+65 ~263 −1 symbols
sha256:ff9c4d2331214a72a4b75e91be7340c0d0f933a4278b585a2ce6c7e2b080ecab snapshot
+65
symbols added
~263
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 329 symbols
~ musehub/muse_cli/snapshot.py .py 1 symbol added, 1 symbol modified
+ hash_commit import import hash_commit L15–15
~ musehub/services/musehub_snapshot.py .py 1 symbol added, 2 symbols modified
+ ColumnElement import import ColumnElement L37–37
~ select
~ musehub/services/musehub_wire_fetch.py .py 1 symbol added, 1 symbol modified
+ _CommitDeltaMap variable variable _CommitDeltaMap L42–42
~ musehub/services/musehub_wire_push.py .py 1 symbol added, 2 symbols modified
+ _SnapshotManifest variable variable _SnapshotManifest L56–56
~ tests/conftest.py .py 1 symbol modified
~ tests/test_cdn_reads_phase5.py .py 2 symbols added, 2 symbols modified
+ JSONValue import import JSONValue L33–33
+ Mapping import import Mapping L24–24
~ tests/test_file_history_performance.py .py 2 symbols added, 5 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L38–38
+ MusehubSnapshotRef import import MusehubSnapshotRef L38–38
~ tests/test_file_last_commits.py .py 2 symbols added, 4 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L27–27
+ MusehubSnapshotRef import import MusehubSnapshotRef L27–27
~ tests/test_fleet_pagination.py .py 1 symbol added, 2 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L9–9
~ tests/test_gc.py .py 2 symbols modified
~ tests/test_gc_background_tasks.py .py 1 symbol added, 7 symbols modified
~ tests/test_gc_object_refs.py .py 2 symbols added, 7 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L27–27
+ MusehubSnapshotRef import import MusehubSnapshotRef L27–27
~ tests/test_intel_api_surface.py .py 2 symbols added, 3 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L27–27
+ MusehubSnapshotRef import import MusehubSnapshotRef L27–27
~ tests/test_intel_breakage.py .py 2 symbols added, 3 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L32–32
+ MusehubSnapshotRef import import MusehubSnapshotRef L32–32
~ tests/test_intel_codemap.py .py 2 symbols added, 3 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L31–31
+ MusehubSnapshotRef import import MusehubSnapshotRef L31–31
~ tests/test_intel_detect_refactor.py .py 2 symbols added, 6 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L31–31
+ MusehubSnapshotRef import import MusehubSnapshotRef L31–31
~ tests/test_intel_languages.py .py 2 symbols added, 3 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L30–30
+ MusehubSnapshotRef import import MusehubSnapshotRef L30–30
+ pytestmark variable variable pytestmark L23–23
~ tests/test_last_commit_for_file_performance.py .py 2 symbols added, 5 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L40–40
+ MusehubSnapshotRef import import MusehubSnapshotRef L40–40
~ _snap
~ tests/test_last_commit_index_lookup.py .py 2 symbols added, 5 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L47–47
+ MusehubSnapshotRef import import MusehubSnapshotRef L47–47
~ _snap
~ tests/test_ltier_fetch_regression.py .py 1 symbol added, 3 symbols modified
~ tests/test_mcp_executor_no_commit_meta.py .py 1 symbol added, 3 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L9–9
~ tests/test_mcp_read_tools.py .py 1 symbol added, 6 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L85–85
~ tests/test_mcp_write_tools.py .py 1 symbol added, 4 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L74–74
~ tests/test_merge_commit_id_parity.py .py 1 symbol added, 3 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L68–68
~ tests/test_merge_proposals.py .py 1 symbol added, 4 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L53–53
~ tests/test_mpack_fetch_phase3.py .py 2 symbols added, 1 symbol modified
+ _Base import import _Base L31–31
+ pytestmark variable variable pytestmark L25–25
~ tests/test_mpack_gc_phase4.py .py 1 symbol added
+ pytestmark variable variable pytestmark L32–32
~ tests/test_mpack_index_job.py .py 1 symbol added, 6 symbols modified
+ pytestmark variable variable pytestmark L26–26
~ tests/test_mpack_index_job_phase3.py .py 2 symbols added, 7 symbols modified
+ JSONObject import import JSONObject L40–40
+ pytestmark variable variable pytestmark L22–22
~ tests/test_mpack_index_job_phase4.py .py 1 symbol added, 6 symbols modified
+ pytestmark variable variable pytestmark L32–32
~ tests/test_mpack_index_phase1.py .py 1 symbol added, 1 symbol modified
+ Mapping import import Mapping L15–15
~ tests/test_mpack_index_phase2.py .py 2 symbols added, 1 symbol modified
+ Mapping import import Mapping L21–21
+ pytestmark variable variable pytestmark L27–27
~ tests/test_mpack_phase2.py .py 1 symbol added, 1 symbol removed, 7 symbols modified
~ tests/test_mpack_phase3.py .py 2 symbols added, 3 symbols modified
+ Mapping import import Mapping L22–22
+ pytestmark variable variable pytestmark L29–29
~ tests/test_mpack_push_async.py .py 1 symbol added, 6 symbols modified
+ pytestmark variable variable pytestmark L37–37
~ tests/test_mpack_validation_phase2.py .py 1 symbol added, 6 symbols modified
+ pytestmark variable variable pytestmark L27–27
~ tests/test_push_ff_check.py .py 2 symbols added, 6 symbols modified
+ JSONObject import import JSONObject L34–34
+ pytestmark variable variable pytestmark L43–43
~ tests/test_social_api.py .py 2 symbols added, 5 symbols modified
+ MusehubCommitRef import import MusehubCommitRef L31–31
+ MusehubSnapshotRef import import MusehubSnapshotRef L31–31
~ tests/test_wire_mpack_unpack_step3_e2e.py .py 1 symbol added, 2 symbols modified
+ build_wire_mpack import import build_wire_mpack L48–48
~ tests/test_wire_step4c_scale.py .py 1 symbol added, 8 symbols modified
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:1bb2b2331b696382042e1249385aafd0c7bdd17167b7b972be72b90ae625bd80 --body "your comment"