Skip to content

fix: avoid replaying tee capture output - #970

Merged
tobiasraabe merged 2 commits into
mainfrom
codex/fix-tee-capture-double-output
Aug 28, 2026
Merged

tobiasraabe merged 2 commits into
mainfrom
codex/fix-tee-capture-double-output

Conversation

@tobiasraabe

Copy link
Copy Markdown
Member

Drain tee capture buffers without writing them back when capture stops, because TeeCaptureIO already forwards output live. Preserve buffered-output replay for non-tee capture modes. Adds regression coverage for both behaviors and a changelog entry. Adapted from pytest-dev/pytest@46ea2a3. Validation: the full capture test module and just lint pass.

@tobiasraabe
tobiasraabe enabled auto-merge August 28, 2026 20:53
@tobiasraabe
tobiasraabe added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit a57904e Aug 28, 2026
23 checks passed
@tobiasraabe
tobiasraabe deleted the codex/fix-tee-capture-double-output branch August 28, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant