mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Preserve streamed output during capped history replay (#33093)
## Why Stream consolidation can replace transcript cells while initial history replay is buffering capped display rows, leaving those rows stale and omitting the finalized output. ## What changed - Discard buffered rows when required stream reflow occurs during capped initial replay and rebuild the capped tail from the canonical transcript after replay finishes. - Schedule the rebuild through the resize reflow path so it waits for an active transcript overlay to close. ## Testing Added coverage for consolidated Markdown output during capped initial replay, both with and without an active transcript overlay. GitOrigin-RevId: 1c184ff561a50362daf11c1c629be59882f27a4a
This commit is contained in:
1 parent
6629e08702
commit
effd58d750
4 files changed
+156
-10
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
source: tui/src/app/tests.rs
|
||||
expression: "rendered.lines.iter().map(rendered_line_text).collect::<Vec<_>>().join(\"\\n\")"
|
||||
---
|
||||
latest user question
|
||||
|
||||
• Final answer:
|
||||
|
||||
Pattern Outcome
|
||||
━━━━━━━━━━━━ ━━━━━━━━━━━
|
||||
Table tail Preserved
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
source: tui/src/app/tests.rs
|
||||
expression: "rendered.lines.iter().map(rendered_line_text).collect::<Vec<_>>().join(\"\\n\")"
|
||||
---
|
||||
latest user question
|
||||
|
||||
• Final answer:
|
||||
|
||||
Pattern Outcome
|
||||
━━━━━━━━━━━━ ━━━━━━━━━━━
|
||||
Table tail Preserved
|
||||
Reference in new issue
Block a user