gabriel / muse public
fix patch dev
gabriel · 163 days ago · Apr 16, 2026 · Diff

fix: sha256: prefix canonical at contract boundaries, update tests for MWP streaming

- describe.py: short_sha now includes sha256: prefix (was stripping it for display) - describe long_format: removed git-ism 'g' prefix since sha256: already identifies the hash type - test_merge_data_integrity: fix _write_object/_h/_SHA256_EMPTY to use sha256: prefix; fix _snapshot_path/_commit_path_for to strip prefix for filesystem paths only - test_push_have_filter: fix _sha helper to return sha256: prefix; update mock from push_pack to push_stream (MWP streaming refactor); fix I3/I4 path assertions to strip prefix before filesystem checks; remove PackBundle/FilterObjectsResult/PresignResponse - delete test_push_pack_origin.py: _push_objects_as_packs removed in MWP refactor

sha256:5587bc25c9427315d2bc2e75abc40d23a0b26bce956b54e34ddc75ee20774ead sha
~25 −23 symbols
sha256:bc9d050f138e67669605c120bb22a0726c20c23e8e3fc860fff8da99be8e4400 snapshot
~25
symbols modified
−23
symbols removed
0
dead code introduced
Semantic Changes 48 symbols
~ tests/test_push_pack_origin.py .py 19 symbols removed
− TestPackOriginUrlRewriting class class TestPackOriginUrlRewriting L52–205
− test_empty_object_list_no_pack_calls method method test_empty_object_list_no_pack_calls L121–137
− test_http_to_https_scheme_swap method method test_http_to_https_scheme_swap L104–119
− test_https_hub_replaced_with_worker_origin method method test_https_hub_replaced_with_worker_origin L71–86
− test_multiple_packs_all_use_worker_url method method test_multiple_packs_all_use_worker_url L158–180
− test_no_pack_origin_uses_hub_url_unchanged method method test_no_pack_origin_uses_hub_url_unchanged L88–102
− test_origin_replaced_path_preserved method method test_origin_replaced_path_preserved L53–69
− test_pack_origin_does_not_append_extra_path method method test_pack_origin_does_not_append_extra_path L139–156
− test_stored_and_skipped_totals_accumulated method method test_stored_and_skipped_totals_accumulated L182–205
− _make_transport function function _make_transport L28–37
− _write_obj function function _write_obj L40–44
− ObjectsChunkResponse import import ObjectsChunkResponse L20–20
− _push_objects_as_packs import import _push_objects_as_packs L18–18
− annotations import import annotations L9–9
− hashlib import import hashlib L14–14
− pathlib import import pathlib L11–11
− pytest import import pytest L16–16
− mock import import unittest.mock L12–12
− write_object import import write_object L19–19
~ muse/core/describe.py .py 1 symbol 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:5587bc25c9427315d2bc2e75abc40d23a0b26bce956b54e34ddc75ee20774ead --body "your comment"