gabriel / musehub public
chore BREAKING task/timing-instrumentation #1 / 5
AI Agent gabriel · 125 days ago · May 10, 2026 · Diff

chore: stage remaining timing-instrumentation branch files

docker-compose.override.yml, config.py, storage/backends.py, and test files accumulated during the push performance investigation. Also includes alembic migration 0052 for the object_refs object_id index and two perf/regression test files from the investigation.

sha256:c01e97c20a4343f0696a8733cfe73b4b9b915998697f7e378e1f08a8ab4cc028 sha
+48 ~5 symbols
sha256:83e816694095e017c29edbf314b91b342c8f74a5f458dd481aae45376c5106bc snapshot
+48
symbols added
~5
symbols modified
0
dead code introduced
Semantic Changes 53 symbols
+ branch_labels variable variable branch_labels L20–20
+ depends_on variable variable depends_on L21–21
+ down_revision variable variable down_revision L19–19
+ downgrade function function downgrade L33–34
+ annotations import import annotations L13–13
+ op import import op L15–15
+ revision variable variable revision L18–18
+ upgrade function function upgrade L24–30
~ tests/test_push_confirm_perf.py .py 16 symbols added
+ _make_objects function function _make_objects L47–55
+ AsyncMock import import AsyncMock L34–34
+ AsyncSession import import AsyncSession L37–37
+ MagicMock import import MagicMock L34–34
+ annotations import import annotations L30–30
+ asyncio import import asyncio L32–32
+ create_repo import import create_repo L40–40
+ fake_id import import fake_id L39–39
+ patch import import patch L34–34
+ pytest import import pytest L36–36
+ time import import time L33–33
+ test_p1_exists_called_once_per_object function async_function test_p1_exists_called_once_per_object L63–87
+ test_p2_exists_calls_are_concurrent function async_function test_p2_exists_calls_are_concurrent L95–124
+ test_p3_bulk_insert_single_statement function async_function test_p3_bulk_insert_single_statement L132–162
+ test_p4_wall_clock_under_threshold function async_function test_p4_wall_clock_under_threshold L170–202
+ test_p5_mixed_batch_absent_skipped function async_function test_p5_mixed_batch_absent_skipped L210–232
~ tests/test_push_stream_ghost_skip.py .py 15 symbols added
+ _insert_objects function async_function _insert_objects L36–52
+ AsyncSession import import AsyncSession L25–25
+ annotations import import annotations L19–19
+ create_repo import import create_repo L29–29
+ db import import db L28–28
+ fake_id import import fake_id L27–27
+ pytest import import pytest L23–23
+ text import import text L24–24
+ time import import time L21–21
+ test_p1_registered_objects_not_missing function async_function test_p1_registered_objects_not_missing L60–69
+ test_p2_unregistered_objects_are_missing function async_function test_p2_unregistered_objects_are_missing L77–85
+ test_p3_deleted_objects_are_missing function async_function test_p3_deleted_objects_are_missing L93–105
+ test_p4_mixed_batch_correct_partition function async_function test_p4_mixed_batch_correct_partition L113–129
+ test_p5_empty_input function async_function test_p5_empty_input L137–142
+ test_p6_single_query_wall_clock function async_function test_p6_single_query_wall_clock L150–166
~ musehub/config.py .py 1 symbol modified
~ musehub/storage/backends.py .py 1 symbol added, 4 symbols modified
+ _rewrite_presign_url method method _rewrite_presign_url L316–327
~ tests/test_blob_backend_unit.py .py 8 symbols added
+ TestPresignPublicEndpoint class class TestPresignPublicEndpoint L180–261
+ _backend_with_internal_and_public method method _backend_with_internal_and_public L189–201
+ _backend_without_public method method _backend_without_public L203–214
+ test_presign_batch_no_rewrite_when_public_endpoint_absent method async_method test_presign_batch_no_rewrite_when_public_endpoint_absent L240–250
+ test_presign_batch_rewrites_all_urls method async_method test_presign_batch_rewrites_all_urls L227–238
+ test_presign_put_no_rewrite_when_public_endpoint_absent method async_method test_presign_put_no_rewrite_when_public_endpoint_absent L222–225
+ test_presign_put_preserves_path_and_query method async_method test_presign_put_preserves_path_and_query L252–261
+ test_presign_put_rewrites_host_when_public_endpoint_set method async_method test_presign_put_rewrites_host_when_public_endpoint_set L216–220

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