test(wire): add multi-batch push TDD suite (MB-1 through MB-5)
Invariants tested: - MB-1: non-final batch objects land in DB after request completes - MB-2: final batch succeeds when snapshot refs objects from earlier batches - MB-3: final batch fails when objects were never sent (negative baseline) - MB-4: presigned objects (pre-registered) pass final batch integrity check - MB-5: rolled-back earlier batch causes final failure (causal proof)
Also fixes MB-3 assertion to check SFRAME_ERROR ('X') not hardcoded 'E_'.
sha256:6b96a3d30e98eac26de837c69cc23f36fbfde819bb71be3802bcead96d0f4f13
sha
+39
symbols
sha256:40d6b32f773915c57233c9bc11be5cfea17435a9afe116a3153c4dc1a0bcb784
snapshot
+39
symbols added
0
dead code introduced
Semantic Changes
39 symbols
+
test_mb1_nonfinal_batch_objects_land_in_db
function
async_function test_mb1_nonfinal_batch_objects_land_in_db L245–278
+
test_mb2_final_batch_succeeds_with_objects_from_earlier_batches
function
async_function test_mb2_final_batch_succeeds_with_objects_from_earlier_batches L286–326
+
test_mb3_final_batch_fails_when_objects_never_sent
function
async_function test_mb3_final_batch_fails_when_objects_never_sent L334–363
+
test_mb4_presigned_objects_pass_integrity_check
function
async_function test_mb4_presigned_objects_pass_integrity_check L371–411
+
test_mb5_rolled_back_earlier_batch_causes_final_failure
function
async_function test_mb5_rolled_back_earlier_batch_causes_final_failure L419–462
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:6b96a3d30e98eac26de837c69cc23f36fbfde819bb71be3802bcead96d0f4f13 --body "your comment"
No comments yet. Be the first to start the discussion.