test: step 3 server-side tests for push/unpack-mpack (tiers 1-7)
19 tests across two files: - test_wire_mpack_unpack_step3_e2e.py: S3E2E-1..7 (ASGI + real DB + stub MinIO) - test_wire_mpack_unpack_step3_tiers4567.py: T4 stress, T5 integrity, T6 perf, T7 security
Covers: happy path, missing key, count overflow, MinIO not found, sha256 mismatch, unauthenticated access, concurrent job enqueue, branch create/update idempotency, job payload correctness, latency gate, malformed/oversized key rejection.
sha256:ffe1482bf51ee77964f52a670124ef58dbc4b2090cc55335a723ae771374909d
sha
+85
~1
symbols
sha256:64109e81006276faabe394f1394c0b1e48d518cb7ca522e0813eb5e6f0ba8369
snapshot
+85
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
86 symbols
+
test_s3e2e1_happy_path_returns_all_fields
function
async_function test_s3e2e1_happy_path_returns_all_fields L149–178
+
test_s3e2e2_missing_mpack_key_returns_422
function
async_function test_s3e2e2_missing_mpack_key_returns_422 L186–199
+
test_s3e2e3_excessive_commits_count_returns_422
function
async_function test_s3e2e3_excessive_commits_count_returns_422 L207–224
+
test_s3e2e4_excessive_objects_count_returns_422
function
async_function test_s3e2e4_excessive_objects_count_returns_422 L232–249
+
test_s3e2e5_mpack_not_in_minio_returns_422
function
async_function test_s3e2e5_mpack_not_in_minio_returns_422 L257–271
+
test_s3e2e6_sha256_mismatch_returns_422
function
async_function test_s3e2e6_sha256_mismatch_returns_422 L279–295
+
test_s3e2e7_unauthenticated_returns_401_or_403
function
async_function test_s3e2e7_unauthenticated_returns_401_or_403 L303–328
+
test_t4_concurrent_branch_updates_for_same_branch
function
async_function test_t4_concurrent_branch_updates_for_same_branch L167–221
+
test_t4_concurrent_unpack_calls_all_succeed
function
async_function test_t4_concurrent_unpack_calls_all_succeed L120–162
+
test_t5_branch_row_created_when_head_provided
function
async_function test_t5_branch_row_created_when_head_provided L257–277
+
test_t5_branch_row_updated_when_branch_exists
function
async_function test_t5_branch_row_updated_when_branch_exists L282–327
+
test_t5_job_row_not_written_on_mpack_not_found
function
async_function test_t5_job_row_not_written_on_mpack_not_found L332–354
+
test_t5_job_row_written_with_correct_payload
function
async_function test_t5_job_row_written_with_correct_payload L230–252
+
test_t6_job_index_query_uses_index
function
async_function test_t6_job_index_query_uses_index L388–399
+
test_t6_unpack_latency_under_100ms
function
async_function test_t6_unpack_latency_under_100ms L363–383
+
test_t7_commits_count_overflow_rejected
function
async_function test_t7_commits_count_overflow_rejected L478–504
+
test_t7_malformed_mpack_key_rejected
function
async_function test_t7_malformed_mpack_key_rejected L408–421
+
test_t7_oversized_key_field_rejected
function
async_function test_t7_oversized_key_field_rejected L426–441
+
test_t7_unauthenticated_request_rejected
function
async_function test_t7_unauthenticated_request_rejected L446–473
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:ffe1482bf51ee77964f52a670124ef58dbc4b2090cc55335a723ae771374909d --body "your comment"
No comments yet. Be the first to start the discussion.