gabriel / musehub public
BREAKING dev #37 / 100
AI Agent gabriel · 1 day ago · Nov 15, 2026 · Diff

merge: REST wire wave — #296 #297 #298 #299 (Tier A review PASS + F1-F3 fixes); migration 0089

sha256:89c7a8268be75aeb33144acf863ad3ebefe7fd3bdfd679faa768199fd789b376 sha
+114 ~55 −29 symbols
sha256:0b6c522d31d7a958f447b34c14422e114d41592f61efaaabbe3f998fccac1d12 snapshot
+114
symbols added
~55
symbols modified
−29
symbols removed
0
dead code introduced
Semantic Changes 198 symbols
+ branch_labels variable variable branch_labels L19–19
+ depends_on variable variable depends_on L20–20
+ down_revision variable variable down_revision L18–18
+ downgrade function function downgrade L30–31
+ JSONB import import JSONB L15–15
+ annotations import import annotations L11–11
+ op import import op L14–14
+ sa import import sa L13–13
+ revision variable variable revision L17–17
+ upgrade function function upgrade L23–27
~ tests/test_commit_metadata_297.py .py 8 symbols added
+ _row function function _row L10–14
+ MusehubCommit import import MusehubCommit L6–6
+ _to_wire_commit import import _to_wire_commit L7–7
+ annotations import import annotations L2–2
+ datetime import import datetime L4–4
+ timezone import import timezone L4–4
+ test_commits_stored_before_the_column_serve_empty_metadata function function test_commits_stored_before_the_column_serve_empty_metadata L21–22
+ test_fetch_serves_the_stored_metadata function function test_fetch_serves_the_stored_metadata L17–18
~ tests/test_object_cdn_integrity.py .py 26 symbols added
+ OWNER variable variable OWNER L27–27
+ _get function async_function _get L48–58
+ _store function async_function _store L41–45
+ ASGITransport import import ASGITransport L15–15
+ AsyncClient import import AsyncClient L15–15
+ AsyncGenerator import import AsyncGenerator L11–11
+ AsyncSession import import AsyncSession L16–16
+ MusehubIdentity import import MusehubIdentity L22–22
+ MusehubObject import import MusehubObject L23–23
+ MusehubObjectRef import import MusehubObjectRef L23–23
+ MusehubRepo import import MusehubRepo L23–23
+ annotations import import annotations L7–7
+ app import import app L24–24
+ blob_id import import blob_id L18–18
+ compute_identity_id import import compute_identity_id L20–20
+ create_repo import import create_repo L25–25
+ get_db import import get_db L21–21
+ hashlib import import hashlib L9–9 ← moved from tests/test_security_r1_repo_authz.py
+ logging import import logging L10–10
+ optional_signed_request import import optional_signed_request L19–19
+ pytest import import pytest L13–13
+ pytest_asyncio import import pytest_asyncio L14–14
+ public_repo function async_function public_repo L31–38
+ test_a_valid_object_is_served_without_a_corruption_log function async_function test_a_valid_object_is_served_without_a_corruption_log L62–72
+ test_an_untyped_sha256_id_is_not_an_object_id function async_function test_an_untyped_sha256_id_is_not_an_object_id L92–98
+ test_bytes_that_do_not_hash_to_their_id_are_refused_and_not_cached function async_function test_bytes_that_do_not_hash_to_their_id_are_refused_and_not_cached L76–88
~ tests/test_object_zstd_verify.py .py 4 symbols added
+ _verified import import _verified L5–5
+ annotations import import annotations L2–2
+ blob_id import import blob_id L4–4
+ test_compressed_object_verifies_by_its_decompression function function test_compressed_object_verifies_by_its_decompression L8–15
+ _AUTH variable variable _AUTH L38–38
+ _KEY variable variable _KEY L39–39
+ _fetched_commits function async_function _fetched_commits L130–137
+ _index function async_function _index L115–127
+ _local function function _local L62–71
+ _populate function function _populate L74–98
+ _push function async_function _push L101–112
+ _stored function async_function _stored L140–141
+ client function async_function client L43–51
+ ASGITransport import import ASGITransport L18–18
+ AsyncClient import import AsyncClient L18–18
+ AsyncSession import import AsyncSession L20–20
+ CommitRecord import import CommitRecord L22–22
+ Ed25519PrivateKey import import Ed25519PrivateKey L17–17
+ MSignContext import import MSignContext L31–31
+ MusehubCommit import import MusehubCommit L33–33
+ SnapshotRecord import import SnapshotRecord L29–29
+ annotations import import annotations L9–9
+ app import import app L34–34
+ blob_id import import blob_id L30–30
+ build_mpack import import build_mpack L23–23
+ build_wire_mpack import import build_wire_mpack L23–23
+ compute_commit_id import import compute_commit_id L28–28
+ compute_snapshot_id import import compute_snapshot_id L28–28
+ datetime import import datetime L11–11
+ encode_pubkey import import encode_pubkey L30–30
+ fake_id import import fake_id L30–30
+ get_db import import get_db L32–32
+ msgpack import import msgpack L14–14
+ muse_dir import import muse_dir L25–25
+ optional_signed_request import import optional_signed_request L31–31
+ parse_wire_mpack import import parse_wire_mpack L23–23
+ pathlib import import pathlib L12–12
+ provenance_payload import import provenance_payload L26–26
+ pytest import import pytest L15–15
+ pytest_asyncio import import pytest_asyncio L16–16
+ require_signed_request import import require_signed_request L31–31
+ select import import select L19–19
+ sign_commit_ed25519 import import sign_commit_ed25519 L26–26
+ write_branch_ref import import write_branch_ref L27–27
+ write_commit import import write_commit L22–22
+ write_object import import write_object L24–24
+ write_snapshot import import write_snapshot L29–29
+ pytestmark variable variable pytestmark L36–36
+ repo function async_function repo L55–59
+ test_a_large_have_is_trimmed_not_refused function async_function test_a_large_have_is_trimmed_not_refused L266–271
+ test_a_normal_push_then_fetch_round_trips function async_function test_a_normal_push_then_fetch_round_trips L149–161
+ test_commit_metadata_survives_a_round_trip function async_function test_commit_metadata_survives_a_round_trip L240–249
+ test_depth_is_refused_rather_than_ignored function async_function test_depth_is_refused_rather_than_ignored L276–279
+ test_every_fetch_route_refuses_more_than_10000_wants function async_function test_every_fetch_route_refuses_more_than_10000_wants L257–261
+ test_require_signed_commits_accepts_a_signed_push function async_function test_require_signed_commits_accepts_a_signed_push L193–203
+ test_require_signed_commits_refuses_an_unsigned_push function async_function test_require_signed_commits_refuses_an_unsigned_push L177–189
+ test_reviewed_by_test_runs_and_format_version_survive_a_round_trip function async_function test_reviewed_by_test_runs_and_format_version_survive_a_round_trip L223–236
+ test_the_fetch_mpack_route_accepts_the_clients_request function async_function test_the_fetch_mpack_route_accepts_the_clients_request L165–170
+ test_unsigned_pushes_are_accepted_when_the_setting_is_off function async_function test_unsigned_pushes_are_accepted_when_the_setting_is_off L207–216
~ musehub/api/routes/wire.py .py 1 symbol added, 4 symbols modified
+ _fetch_request function function _fetch_request L178–181
~ fetch
~ musehub/models/wire.py .py 3 symbols added, 14 symbols removed, 7 symbols modified
− MAX_COMMITS_PER_PUSH variable variable MAX_COMMITS_PER_PUSH L40–40
− MAX_OBJECTS_PER_PUSH variable variable MAX_OBJECTS_PER_PUSH L41–41
− MAX_OBJECT_BYTES variable variable MAX_OBJECT_BYTES L73–73
− MAX_SNAPSHOTS_PER_PUSH variable variable MAX_SNAPSHOTS_PER_PUSH L70–70
− WireMPack class class WireMPack L234–247
− WireObject class class WireObject L196–232
− _check_content_size method method _check_content_size L227–232
− _check_object_id method method _check_object_id L218–223
− WireSnapshot class class WireSnapshot L145–194
− _check_delta_upsert_values method method _check_delta_upsert_values L183–194
− _check_snapshot_id method method _check_snapshot_id L174–179
− _SizeMap variable variable _SizeMap L37–37
− JSONObject import import JSONObject L34–34
− model_validator import import model_validator L32–32
+ MAX_HAVE_PER_FETCH variable variable MAX_HAVE_PER_FETCH L64–64
+ WIRE_COMMIT_FORMAT_VERSION variable variable WIRE_COMMIT_FORMAT_VERSION L67–67
+ _trim_have method method _trim_have L166–167
~ Field
~ musehub/services/musehub_wire_push.py .py 1 symbol added, 3 symbols modified
+ _MAX_PG_INT variable variable _MAX_PG_INT L560–560
~ musehub/services/musehub_wire_shared.py .py 1 symbol added, 3 symbols removed, 4 symbols modified
− WireMPack import import WireMPack L39–39
− WireObject import import WireObject L39–39
− WireSnapshot import import WireSnapshot L39–39
+ WIRE_COMMIT_FORMAT_VERSION import import WIRE_COMMIT_FORMAT_VERSION L39–39
~ tests/docs_contract/test_wire.py .py 4 symbols added, 5 symbols removed, 5 symbols modified
− _T_BOUNDS variable variable _T_BOUNDS L51–51
− _T_CDN variable variable _T_CDN L52–52
− _T_FIELDS variable variable _T_FIELDS L50–50
− _T_SIGNED variable variable _T_SIGNED L49–49
− test_push_ingest_keeps_commit_fields function function test_push_ingest_keeps_commit_fields L504–507
+ _NoStoredCommits class class _NoStoredCommits L484–488
+ execute method async_method execute L487–488
+ test_push_ingest_keeps_commit_metadata function function test_push_ingest_keeps_commit_metadata L520–524
+ test_push_ingest_keeps_reviewed_by_and_test_runs function function test_push_ingest_keeps_reviewed_by_and_test_runs L507–517
~ tests/test_genesis_ids.py .py 6 symbols removed, 3 symbols modified
− test_wire_object_accepts_future_algo method method test_wire_object_accepts_future_algo L339–341
− test_wire_object_rejects_bad_object_id method method test_wire_object_rejects_bad_object_id L335–337
− test_wire_snapshot_accepts_future_algo method method test_wire_snapshot_accepts_future_algo L331–333
− test_wire_snapshot_rejects_bad_id method method test_wire_snapshot_rejects_bad_id L327–329
− WireObject import import WireObject L63–63
− WireSnapshot import import WireSnapshot L63–63
~ tests/test_migrations.py .py 2 symbols modified
~ tests/test_security_r1_repo_authz.py .py 1 symbol added, 1 symbol removed, 3 symbols modified
− hashlib import import hashlib L18–18 → moved to tests/test_object_cdn_integrity.py
+ blob_id import import blob_id L27–27

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