Desktop RAF loop and render churn fixes
Cluster 69645 · apps/desktop. Data as of
Nothing open on GitHub. Fix merged in #72388 on 27 Jul 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #72388. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address continuous animation frame loops running unnecessarily on desktop, particularly when terminal and pet roam features are active. The work includes stopping idle RAF loops and reducing render churn to maintain smoother frame rates under load.
Open issues0
Open PRs0
Fixes on record
-
#72388 perf(desktop): hold 60fps under load — salvage three render-churn fixes + finish the selector sweep
files:
apps/desktop/electron/main.ts,apps/desktop/electron/session-windows.test.ts,apps/desktop/electron/session-windows.ts,apps/desktop/src/app/chat/composer/status-stack/index.tsx,apps/desktop/src/app/chat/session-tile.tsx,apps/desktop/src/app/model-picker-overlay.tsx,apps/desktop/src/app/pet-overlay/pet-overlay-app.tsx,apps/desktop/src/app/right-sidebar/terminal/persistent.test.tsx,apps/desktop/src/app/right-sidebar/terminal/persistent.tsx,apps/desktop/src/app/session/hooks/use-message-stream/delta-flush.test.tsx,apps/desktop/src/app/session/hooks/use-session-state-cache.ts,apps/desktop/src/app/shell/hooks/use-statusbar-items.tsx,apps/desktop/src/components/assistant-ui/thread-remount.test.tsx,apps/desktop/src/components/assistant-ui/thread/index.tsx,apps/desktop/src/components/pet/pet-sprite.test.tsx,apps/desktop/src/components/pet/pet-sprite.tsx,apps/desktop/src/components/pet/use-pet-roam.test.tsx,apps/desktop/src/components/pet/use-pet-roam.ts,apps/desktop/src/global.d.ts,apps/desktop/src/lib/renderer-loop-pause.ts(+2 more)
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#69827 fix(desktop): stop idle animation frame loops · superseded by another PR →
#72388
Closed issues · 1
- Closed#69645Desktop keeps continuous RAF loops alive with terminal and pet roam enabled
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- apps/desktop
- Merged PRs
- #72388
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 27 Jul 2026