improvement(terminal): performance improvements#3796
improvement(terminal): performance improvements#3796TheodoreSpeaks merged 20 commits intostagingfrom
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. |
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
|
|
bugbot run |
|
bugbot run |
|
bugbot run |
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx
Show resolved
Hide resolved
|
bugbot run |
|
bugbot run |
|
@greptile |
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
Outdated
Show resolved
Hide resolved
|
bugbot run |
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx
Show resolved
Hide resolved
…ai/sim into improvement/terminal-store-mem
|
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.

Summary
Type of Change
Testing
Tested manually
Checklist