gabriel / musehub public
feat BREAKING dev #15 / 100
AI Agent gabriel · 9 days ago · May 29, 2026 · Diff

feat: mpack byte-range index — store byte_offset/byte_length, range GET read path

sha256:302574ddba13c9a20694c0fb051176eef4896f943b63bc458df886633b1bfcd6 sha
+44 ~4 symbols
5 changed · 953 in snapshot files
sha256:1c4a0597a91e478868418cf7a4b000e03cad747ce6dd52f9635b683baae62c39 snapshot
+44
symbols added
~4
symbols modified
5
files changed
953
files in snapshot
0
dead code introduced
Semantic Changes 48 symbols
+ branch_labels variable variable branch_labels L17–17
+ depends_on variable variable depends_on L18–18
+ down_revision variable variable down_revision L16–16
+ downgrade function function downgrade L32–34
+ annotations import import annotations L10–10
+ op import import op L13–13
+ sa import import sa L12–12
+ revision variable variable revision L15–15
+ upgrade function function upgrade L21–29
~ tests/test_mpack_byte_range.py .py 33 symbols added
+ _OID_BYTES variable variable _OID_BYTES L40–40
+ _PACK_HEADER variable variable _PACK_HEADER L41–41
+ _PACK_MAGIC variable variable _PACK_MAGIC L39–39
+ _PER_OBJ_HEADER variable variable _PER_OBJ_HEADER L42–42
+ _WIRE_SEC_BLOBS variable variable _WIRE_SEC_BLOBS L43–43
+ _build_test_mpack function function _build_test_mpack L52–60
+ _expected_content_offsets function function _expected_content_offsets L76–97
+ _make_raw_object function function _make_raw_object L46–49
+ _parse_objects_section_offset function function _parse_objects_section_offset L63–73
+ Any import import Any L22–22
+ AsyncMock import import AsyncMock L23–23
+ AsyncSession import import AsyncSession L28–28
+ MagicMock import import MagicMock L23–23
+ MusehubMPackIndex import import MusehubMPackIndex L32–32
+ MusehubObject import import MusehubObject L32–32
+ annotations import import annotations L18–18
+ blob_id import import blob_id L31–31
+ build_wire_mpack import import build_wire_mpack L30–30
+ hashlib import import hashlib L20–20
+ inspect import import inspect L27–27
+ msgpack import import msgpack L25–25
+ patch import import patch L23–23
+ pytest import import pytest L26–26
+ select import import select L27–27
+ struct import import struct L21–21
+ text import import text L27–27
+ test_BR1_byte_offset_and_byte_length_columns_exist function function test_BR1_byte_offset_and_byte_length_columns_exist L105–123
+ test_BR2_push_unpack_stores_byte_offsets function async_function test_BR2_push_unpack_stores_byte_offsets L132–156
+ test_BR3_slice_recovers_object_content function function test_BR3_slice_recovers_object_content L164–180
+ test_BR4_slice_is_raw_bytes_even_when_input_was_zstd function function test_BR4_slice_is_raw_bytes_even_when_input_was_zstd L188–212
+ test_BR5_get_range_issues_range_header function async_function test_BR5_get_range_issues_range_header L220–253
+ test_BR6_read_object_bytes_uses_range_get_when_offset_present function async_function test_BR6_read_object_bytes_uses_range_get_when_offset_present L261–287
+ test_BR7_read_object_bytes_falls_back_when_offset_is_null function async_function test_BR7_read_object_bytes_falls_back_when_offset_is_null L295–325
~ musehub/services/musehub_wire_push.py .py 1 symbol added, 1 symbol modified
+ compute_object_byte_offsets function function compute_object_byte_offsets L254–305
~ musehub/storage/backends.py .py 1 symbol added, 2 symbols modified
+ get_range method async_method get_range L406–425
Files Changed
+2 ~3
953 in snapshot

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