CLI app for developers prototyping atproto functionality
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(test/subscription): restore timing normalization (I3)

empty_stream_advisories and unreachable_endpoint_network_error tests were missing normalize_timing wrapper around render_report_to_string calls, causing timing-flaky snapshots to fail Phase 4 regression checks.

Restore normalize_timing wrapping to use canonical XXms placeholder in snapshots.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

authored by

Jack Grigg
Claude Haiku 4.5
and committed by
Tangled
ded5a0d1 22e97f16

+4 -4
+2 -2
tests/labeler_subscription.rs
··· 410 410 }; 411 411 412 412 let report = run_pipeline(target, opts).await; 413 - let rendered = render_report_to_string(&report); 413 + let rendered = common::normalize_timing(render_report_to_string(&report)); 414 414 415 415 insta::assert_snapshot!(rendered); 416 416 } ··· 567 567 }; 568 568 569 569 let report = run_pipeline(target, opts).await; 570 - let rendered = render_report_to_string(&report); 570 + let rendered = common::normalize_timing(render_report_to_string(&report)); 571 571 572 572 insta::assert_snapshot!(rendered); 573 573 }
+1 -1
tests/snapshots/labeler_subscription__empty_stream_advisories.snap
··· 3 3 expression: rendered 4 4 --- 5 5 Target: https://example.com/labeler 6 - elapsed: 0ms 6 + elapsed: XXms 7 7 8 8 == Identity == 9 9 [SKIP] target resolution — no DID supplied; run with a handle, a DID, or --did <did>
+1 -1
tests/snapshots/labeler_subscription__unreachable_endpoint_network_error.snap
··· 3 3 expression: rendered 4 4 --- 5 5 Target: https://example.com/labeler 6 - elapsed: 0ms 6 + elapsed: XXms 7 7 8 8 == Identity == 9 9 [SKIP] target resolution — no DID supplied; run with a handle, a DID, or --did <did>