You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ee94417
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): recover leftover worktree folders and keep them in cleanup (adopt pingdotgg#24398)
Adopts upstream pingdotgg#24398 (head 7e369b6, open). In Alpha, storage cleanup
logged "storage cleanup failed for worktree" about every ten minutes for one
delegated thread whose managed worktree folder was left empty, because it
stat()ed the missing `.git`. Cleanup now keeps such a folder as "Not a linked
worktree", and a thread resuming in a managed folder holding only
`node_modules`, `.next` or nothing clears it and recreates its checkout.
Fork-specific: the leftover removal runs ahead of the fork's
recreateMissingWorktree, so its failure still settles the start as
"Couldn't recreate thread workspace". The new tests pass the real path
service (Windows), and the startup-ordering fixture is now a linked checkout
so that an empty folder does not count as leftover.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments