fix(workspace): bound linked worktree discovery - #2384
Merged
Merged
Conversation
Contributor
Reference screenshotsCI run 34299698325 published no changed screenshot candidates for |
jonathanKingston
force-pushed
the
codex/fix-linked-worktree-startup
branch
from
September 5, 2026 20:12
8aeeb40 to
1abfa91
Compare
Contributor
🖥️ PR preview
|
jonathanKingston
temporarily deployed
to
github-pages
September 5, 2026 20:19 — with
GitHub Actions
Inactive
Collaborator
Author
|
Validation follow-up (2026-09-05): the external-Git-directory startup reproduction is fixed without widening sandbox authority. Timeout/abort remains limited to optional auto-discovery, incomplete discovery grants no linked-worktree metadata, and explicit worktree-manager registration stays strict. Local workspace tests passed 28/28, build passed, and the real Electron regression spec opened successfully in 8.4s. GitHub |
jonathanKingston
force-pushed
the
codex/fix-linked-worktree-startup
branch
from
September 6, 2026 09:19
1abfa91 to
520c593
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Opening a persisted project inside a linked worktree can leave Copse at No folder / Loading forever when the worktree Git metadata lives on a slow or blocked external volume. Workspace activation awaits best-effort sandbox metadata discovery, and a filesystem read that never settles therefore blocks workspace:set.
Fix
Validation