Skip to content

fix: main-process stalls from the code review (right-click, moves, sizes, thumbnails, New Tab), 0.117.6 - #419

Merged
Maxaubert merged 9 commits into
mainfrom
fix/review-main-stalls
Oct 16, 2026
Merged

Maxaubert merged 9 commits into
mainfrom
fix/review-main-stalls

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Main-process stall fixes from the 2026-10-16 code review (research/prism/2026-10-16-code-review.md, findings #4, 14, 29, 21, 11, 10 and part of 9). Built by an Opus agent and reviewed by a second.

Fixes

Tests

  • New unit tests for each fix. 262 unit test files pass; typecheck clean, lint 0 errors.
  • Full e2e (before the rebase onto core 0.41.5): all passed except terminal ("claude leaving clears the detection"), which passed alone. The same step failed in the media branch's full run too, so it looks like a core-side race; reported to the PrismTerminal session.
  • After the rebase: npm run e2e:terminal green.

0.117.6.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx

Maxaubert and others added 9 commits October 16, 2026 11:01
…nt loop on main

Each selected path walks its own ancestors against a key set instead of
asking every other path (4.6 s frozen for 2,000 items).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…, no PowerShell per right-click

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…in, in arrival order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…, so a hung drive cannot hold New Tab

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…again past the ceiling

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…pen folders only on local fixed disks

An offline share in a tab's history no longer freezes main for an SMB
timeout per entry, twice per page load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…se to the outermost folders, and dirChanged no longer waits on marker writes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
…ed past its signature

A file time moves in clock ticks, so a marker written in the same tick as the
signature's stat (another process's, or ours while a read was in flight) left
the signature unchanged and the cached journal missed it until the next
change. A read is now kept only when the journal is at least 100 ms old and
this process wrote nothing since the read began.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
@Maxaubert
Maxaubert merged commit 9700ede into main Oct 16, 2026
3 checks passed
@Maxaubert
Maxaubert deleted the fix/review-main-stalls branch October 16, 2026 09:39
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.

1 participant