gabriel / musehub public
test patch dev
AI Agent gabriel · 118 days ago · May 16, 2026 · Diff

test: tiers 4-7 for mpack-presign step 1; add mpack_key format validation

sha256:7477d3dc0140bcf0f700573d602bdb6133ed27082a8ee4206d5c81b0784208a9 sha
+47 ~1 symbols
sha256:9185a86be5d5722add2932fb0900789e2b567ae25aa18bcb435a4ca0436a5ae9 snapshot
+47
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 48 symbols
+ _AUTH_CTX variable variable _AUTH_CTX L38–43
+ _FAKE_UPLOAD_URL variable variable _FAKE_UPLOAD_URL L32–32
+ _IDENTITY_ID variable variable _IDENTITY_ID L34–34
+ _OTHER_AUTH_CTX variable variable _OTHER_AUTH_CTX L44–49
+ _OTHER_IDENTITY_ID variable variable _OTHER_IDENTITY_ID L35–35
+ _OWNER variable variable _OWNER L33–33
+ _REPO_NAME variable variable _REPO_NAME L36–36
+ _body function function _body L87–88
+ _make_client function function _make_client L79–84
+ _presign function async_function _presign L91–97
+ ASGITransport import import ASGITransport L17–17
+ AsyncClient import import AsyncClient L17–17
+ AsyncSession import import AsyncSession L19–19
+ MSignContext import import MSignContext L24–24
+ MusehubDailyPushBytes import import MusehubDailyPushBytes L28–28
+ annotations import import annotations L8–8
+ app import import app L29–29
+ asyncio import import asyncio L10–10
+ blob_id import import blob_id L22–22
+ build_presign_payload import import build_presign_payload L21–21
+ compute_identity_id import import compute_identity_id L26–26
+ create_repo import import create_repo L30–30
+ datetime import import datetime L11–11
+ func function import func L18–18
+ get_db import import get_db L27–27
+ get_settings import import get_settings L25–25
+ msgpack import import msgpack L14–14
+ pytest import import pytest L15–15
+ pytest_asyncio import import pytest_asyncio L16–16
+ require_valid_token import import require_valid_token L23–23
+ select import import select L18–18
+ text import import text L18–18
+ time import import time L12–12
+ mock_presign_put function async_function mock_presign_put L71–76
+ repo function async_function repo L57–67
+ test_t4_concurrent_distinct_quota_writes_all_land function async_function test_t4_concurrent_distinct_quota_writes_all_land L145–171
+ test_t4_concurrent_quota_writes_not_corrupted function async_function test_t4_concurrent_quota_writes_not_corrupted L106–140
+ test_t5_different_dates_different_rows function async_function test_t5_different_dates_different_rows L201–220
+ test_t5_different_identities_isolated function async_function test_t5_different_identities_isolated L225–251
+ test_t5_quota_pk_is_identity_and_date function async_function test_t5_quota_pk_is_identity_and_date L180–196
+ test_t5_upsert_accumulates_not_overwrites function async_function test_t5_upsert_accumulates_not_overwrites L256–272
+ test_t6_presign_latency_under_50ms function async_function test_t6_presign_latency_under_50ms L281–301
+ test_t6_quota_query_uses_index function async_function test_t6_quota_query_uses_index L306–317
+ test_t7_cross_user_quota_isolation function async_function test_t7_cross_user_quota_isolation L344–369
+ test_t7_malformed_mpack_key_rejected function async_function test_t7_malformed_mpack_key_rejected L326–339
+ test_t7_oversized_key_field_rejected function async_function test_t7_oversized_key_field_rejected L407–422
+ test_t7_unauthenticated_request_rejected function async_function test_t7_unauthenticated_request_rejected L374–402
← 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:7477d3dc0140bcf0f700573d602bdb6133ed27082a8ee4206d5c81b0784208a9 --body "your comment"