gabriel / musehub public
BREAKING task/rc13-test-greenup-typing-audit #1 / 1
AI Agent gabriel · 10 hours ago · Jun 17, 2026 · Diff

test+types: green the musehub suite and ratchet typing audit to 0 (v0.2.0rc13)

Green the failing test suite after the merge-engine redesign and wire/manifest changes, and bring the typing-audit ratchet to 0/0 for both code and tests.

Tests (stale tests refactored to current behavior, not deleted): - fetch-mpack cleanup/prebuild: test the gc + consolidated-prebuild paths - wire step3/step4c upload: store via backend for the memory:// presign sentinel - migrations/alembic: head 0072, count 72 - minio backend: route through _get_backend_impl - SSR (collaborators/sessions/team): owner-auth gate + auth_headers - object-store phase6, proposal reimagination phase1/phase4: manifest/directories wire shape + recursive/snapshot strategy vocabulary - proposal type badge: skipped pending list-row badge design (musehub#96) - storage backend: MemoryBackend gains presign_get to match BlobBackend

Typing audit (0/0): named aliases (JSONObject, StrDict, ReadOnlyJSONObject, RepoResponse, MuseMergeResult), Callable signatures for injected fns, Iterator fixtures, and precise tuple returns. No dict[str,...] at boundaries.

Version: 0.2.0rc12 -> 0.2.0rc13

sha256:dc28fb2384d12a52d4b4fea7743873940b89d9d08ce298f96d0fdc8d694724d4 sha
+28 ~69 −25 symbols
28 changed · 976 in snapshot files
sha256:fec70ed3f579b95bfafa97bf583de3c39b7915f70b2961222d42fec3da3da338 snapshot
+28
symbols added
~69
symbols modified
−25
symbols removed
28
files changed
976
files in snapshot
0
dead code introduced
Semantic Changes 122 symbols
~ musehub/services/musehub_proposals.py .py 2 symbols added, 1 symbol modified
+ Awaitable import import Awaitable L23–23
+ Callable import import Callable L23–23
~ musehub/services/musehub_wire_push.py .py 1 symbol added, 5 symbols modified
+ ReadOnlyJSONObject import import ReadOnlyJSONObject L36–36
~ musehub/services/proposal_merge_strategies.py .py 1 symbol added, 1 symbol modified
+ MuseMergeResult import import MuseMergeResult L28–28
~ musehub/storage/backends.py .py 1 symbol added, 1 symbol modified
+ presign_get method async_method presign_get L647–648
~ pyproject.toml .toml 2 symbols modified
~ tests/test_fetch_mpack_cleanup.py .py 8 symbols added, 21 symbols removed, 5 symbols modified
_make_commit function async_function _make_commit L112–172
_now function function _now L30–31
_store_object function async_function _store_object L74–109
MusehubBranch import import MusehubBranch L23–23
MusehubCommit import import MusehubCommit L23–23
MusehubCommitGraph import import MusehubCommitGraph L23–23
MusehubCommitRef import import MusehubCommitRef L23–23
MusehubMPackIndex import import MusehubMPackIndex L23–23
MusehubObject import import MusehubObject L23–23
MusehubObjectRef import import MusehubObjectRef L23–23
MusehubSnapshot import import MusehubSnapshot L23–23
MusehubSnapshotRef import import MusehubSnapshotRef L23–23
asyncio import import asyncio L13–13
blob_id import import blob_id L22–22
call import import call L20–20
hashlib import import hashlib L14–14
msgpack import import msgpack L15–15
pg_insert import import pg_insert L18–18
test_bc0_mpack_deleted_after_ttl function async_function test_bc0_mpack_deleted_after_ttl L180–214
test_bc2_cleanup_failure_is_swallowed function async_function test_bc2_cleanup_failure_is_swallowed L223–256
test_bc3_exactly_one_cleanup_per_call function async_function test_bc3_exactly_one_cleanup_per_call L264–293
+ _insert_cache_row function async_function _insert_cache_row L48–68
+ _remaining_mpack_ids function async_function _remaining_mpack_ids L71–77
+ MusehubFetchMPackCache import import MusehubFetchMPackCache L31–31
+ select import import select L27–27
+ timedelta import import timedelta L23–23
+ test_bc0_expired_mpack_deleted_by_gc function async_function test_bc0_expired_mpack_deleted_by_gc L85–100
+ test_bc2_gc_delete_failure_is_swallowed function async_function test_bc2_gc_delete_failure_is_swallowed L108–124
+ test_bc3_gc_deletes_only_expired_once function async_function test_bc3_gc_deletes_only_expired_once L132–149
~ tests/test_fetch_mpack_prebuild.py .py 1 symbol added, 1 symbol removed, 1 symbol modified
test_fmc_07_builds_each_tip_and_writes_cache function async_function test_fmc_07_builds_each_tip_and_writes_cache L67–104
+ test_fmc_07_builds_uncached_tips_in_one_combined_mpack function async_function test_fmc_07_builds_uncached_tips_in_one_combined_mpack L67–93
~ tests/test_intel_code_scale.py .py 1 symbol added, 1 symbol modified
+ JSONObject import import JSONObject L25–25
~ tests/test_migrations.py .py 2 symbols modified
~ tests/test_minio_backend.py .py 1 symbol added, 1 symbol removed, 4 symbols modified
~ tests/test_mpack_index_job_object_refs.py .py 2 symbols added, 2 symbols modified
+ JSONObject import import JSONObject L33–33
+ RepoResponse import import RepoResponse L30–30
~ tests/test_musehub_ui_sessions_ssr.py .py 1 symbol modified
~ _OWNER
~ tests/test_object_refs_on_repush.py .py 1 symbol added, 1 symbol modified
+ JSONObject import import JSONObject L37–37
~ _push
~ tests/test_proposal_type_badge.py .py 1 symbol added
+ pytestmark variable variable pytestmark L32–32
~ tests/test_push_delta_only_parent_manifest.py .py 2 symbols added, 2 symbols modified
+ Iterator import import Iterator L33–33
+ StrDict import import StrDict L43–43
~ tests/test_repair_commit_endpoint.py .py 2 symbols added, 3 symbols modified
+ Iterator import import Iterator L34–34
+ JSONObject import import JSONObject L46–46
~ tests/test_serve_corrupt_manifest_recovery.py .py 2 symbols added, 2 symbols modified
+ Iterator import import Iterator L30–30
+ StrDict import import StrDict L41–41
Files Changed
~28
976 in snapshot
← Older Oldest on task/rc13-test-greenup-typing-audit
All commits
Newer → Latest on task/rc13-test-greenup-typing-audit

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:dc28fb2384d12a52d4b4fea7743873940b89d9d08ce298f96d0fdc8d694724d4 --body "your comment"