Uh oh!
There was an error while loading. Please reload this page.
improvement(terminal): performance improvements - #3796
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Reworks terminal console storage and persistence. The console store moves from a single Makes SSE execution/reconnect streams resumable by event id. Server execution and reconnect APIs now attach Also: Written by Cursor Bugbot for commit 27a0e22. Configure here. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Greptile SummaryThis PR delivers a well-structured set of performance improvements to the terminal console log rendering system, replacing recursive full-tree rendering with a virtualized list, moving to per-workflow granular store subscriptions, and introducing an execution-aware persistence manager that avoids unnecessary IndexedDB serialization during hot execution paths. Key changes:
Confidence Score: 4/5Safe to merge after verifying the fixed 32 px row height does not clip real-world entry content. The architecture is sound — virtualization, granular subscriptions, and lifecycle-aware persistence are all well-reasoned improvements backed by tests. The one concrete concern (fixed 32 px row height for variable-height content) could cause visual clipping in production but is not a data-loss or correctness bug. The documentation mismatch in the safety timer comment is trivial. No logic regressions, no security issues. apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx — verify LOG_ROW_HEIGHT_PX = 32 is sufficient for all rendered entry types. Important Files Changed
|
icecrasher321
commented
Mar 26, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 26, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 26, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 26, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 26, 2026
bugbot run |
icecrasher321
commented
Mar 27, 2026
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 27, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
…ai/sim into improvement/terminal-store-mem
icecrasher321
commented
Mar 27, 2026
bugbot run |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
* improvement(terminal): prevent canvas crashes * checkpoint * make persistence execution scoped not debounce * revert feature flags * address bugbot comments * fix test * fix * fix type * fix abortion of manual run * fix type errors * fix diff comment * fix chat history query * fix comment * Ignore previously executed tool call ids * fix eval input color * fix copilot run workflow * fix tests --------- Co-authored-by: Theodore Li <theo@sim.ai>

Summary
Type of Change
Testing
Tested manually
Checklist