Skip to content

Speed up terminal replay catch-up#396

Merged
danshapiro merged 1 commit into
mainfrom
fix-terminal-catchup
Jun 7, 2026
Merged

Speed up terminal replay catch-up#396
danshapiro merged 1 commit into
mainfrom
fix-terminal-catchup

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

Summary

  • Mark attach replay output frames as replay-mode writes in TerminalView.
  • Coalesce adjacent replay writes so long inactive-tab backlogs drain as larger terminal writes instead of thousands of small frame-limited chunks.
  • Give replay queue work a larger frame budget while preserving the existing live-output budget.

Verification

  • npm run test:vitest -- test/unit/client/components/terminal/terminal-write-queue.test.ts test/e2e/terminal-create-attach-ordering.test.tsx test/unit/client/components/TerminalView.lifecycle.test.tsx --run
  • npm run check

@danshapiro danshapiro merged commit 463eff2 into main Jun 7, 2026
1 check passed
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.

2 participants