Skip to content

Defer owned transcript redraws during raw paste bursts - #52964

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/49d89958a89c165249322463e6075377c517bd8e
Oct 10, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/49d89958a89c165249322463e6075377c517bd8e

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Defer owned transcript redraws during raw paste bursts

Why

Raw pastes can arrive as thousands of character, Enter, and Tab events. Redrawing the entire owned transcript before each buffered key defeats the composer's paste batching.

What changed

Skip those redraws while the composer is capturing a paste burst. Continue refreshing geometry immediately for transcript interactions, shortcuts, and non-text keys, including Enter when an accepted Find owns it.

Testing

Add regression tests and a render snapshot covering multiline raw paste with tabs and Korean text, deferred rendering until the burst flushes, and a single submission of the complete pasted text. Also verify that an accepted Find still handles Enter during a paste burst without submitting the draft.

## Why

Raw pastes can arrive as thousands of character, Enter, and Tab events. Redrawing the entire owned transcript before each buffered key defeats the composer's paste batching.

## What changed

Skip those redraws while the composer is capturing a paste burst. Continue refreshing geometry immediately for transcript interactions, shortcuts, and non-text keys, including Enter when an accepted Find owns it.

## Testing

Add regression tests and a render snapshot covering multiline raw paste with tabs and Korean text, deferred rendering until the burst flushes, and a single submission of the complete pasted text. Also verify that an accepted Find still handles Enter during a paste burst without submitting the draft.

GitOrigin-RevId: 49d89958a89c165249322463e6075377c517bd8e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/49d89958a89c165249322463e6075377c517bd8e branch from 6f7155b to ecebd67 Compare October 10, 2026 19:15
@copyberry
copyberry Bot merged commit ecebd67 into main Oct 10, 2026
13 of 18 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/49d89958a89c165249322463e6075377c517bd8e branch October 10, 2026 19:15
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 10, 2026
@MilosK88
MilosK88 deployed to issue-triage October 10, 2026 19:22 — with Image GitHub Actions Active
@MilosK88
MilosK88 deployed to issue-triage October 10, 2026 19:22 — with Image GitHub Actions Active
@MilosK88
MilosK88 deployed to issue-triage October 10, 2026 19:22 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — ecebd679 Deployed Oct 10, 2026 by MilosK88 via Generate label suggestions #54201
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants