Repository navigation
pipeline lab: scenario rows name their capture origin; reconnect-gap and never-lands Finish scenarios - #26309
Merged
Git-on-my-level merged 2 commits intoNov 25, 2026
Conversation
…ever-lands Finish scenarios - ScenarioOps writes external_data.recording_origin_id on batch rows, as listen stamps every generation of one client recording, so the v3 reconnect rule (same origin, new session, same device) is exercised. - finish_after_long_reconnect_gap: the incident's capture with a 360 s stream gap, longer than the 300 s silence gap; only the reconnect rule joins A and B. - finish_transcript_never_lands: fast finish off and B's batch transcript never lands (from the review of #26304); the cut must survive the Finish wait. Both are strict expected failures on main until the v3-finish-late-predecessor fix (#26304) lands. Co-Authored-By: Claude Opus 5.5 <[email protected]>
An aged sync fragment that lands before the Finish cut is stored locks by the ordinary lock delay, a separate rule; the scenario keeps to A and B. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Git-on-my-level
merged commit Nov 25, 2026
6460da0
into
lane/pipeline-lab-scenarios
31 of 32 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #26303, stacked on
lane/pipeline-lab-scenarios. It covers the P3 lab gap from the review of #26304.Change
external_data.recording_origin_id(scenario-origin-<origin label>) next to the session id, as listen does for every generation of one client recording. Before this, scenarios could not exercise any rule keyed on the capture origin.finish_after_long_reconnect_gap.finish_transcript_never_lands.expected_failureuntil v3: Finish waits for a predecessor's pending transcript; a stream gap is not silence #26304 lands.tests/unit/test_pipeline_lab_scenario.pypins the long-gap shape and the origin and session on batch rows.All ids, uids and text are synthetic.
Evidence
Command:
python -m testing.pipeline_lab scenario run finish_after_reconnect_late_transcript finish_single_recording_fast finish_after_long_reconnect_gap finish_transcript_never_lands.finish_after_reconnect_late_transcriptfinish_single_recording_fastfinish_after_long_reconnect_gapfinish_transcript_never_landstests/unit/test_pipeline_lab_scenario.py: 35 passed.expected_failureblocks and the tests that pin them. With the blocks removed and v3: Finish waits for a predecessor's pending transcript; a stream gap is not silence #26304 merged locally, all four scenarios pass (exit 0).Lab gap, not fixed here: a device-sync fragment whose age already exceeds the lock delay when it lands, before the Finish recording's cut is stored, locks by the ordinary rule. The long-gap scenario therefore has no fragment.
🤖 Generated with Claude Code