Repository navigation
Conversation
Contributor
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Contributor
|
The following comment was made by an LLM, it may be inaccurate: |
OpeOginni
force-pushed
the
missing-project-folder
branch
from
September 24, 2026 16:48
cf98f17 to
7798c43
Compare
OpeOginni
force-pushed
the
missing-project-folder
branch
from
September 24, 2026 17:22
7798c43 to
f3cee21
Compare
3 of 6 tasks
OpeOginni
force-pushed
the
missing-project-folder
branch
from
September 25, 2026 11:50
f3cee21 to
0a6ca86
Compare
OpeOginni
force-pushed
the
missing-project-folder
branch
from
September 28, 2026 10:15
0a6ca86 to
730ceea
Compare
Contributor
Author
macOS permission-denied project folder
Deleted or renamed project folder
|
OpeOginni
force-pushed
the
missing-project-folder
branch
from
October 3, 2026 18:01
f1e4ecc to
d342a5f
Compare
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
OpeOginni
force-pushed
the
missing-project-folder
branch
from
October 4, 2026 21:17
d342a5f to
ce2b2ff
Compare
OpeOginni
force-pushed
the
missing-project-folder
branch
from
October 4, 2026 21:27
ce2b2ff to
504075c
Compare
This was referenced Oct 11, 2026
3 of 6 tasks
This branch has not been deployed
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.
Issue for this PR
Closes #50951
Depends on #51171. This branch is stacked on it, so the
fix(server)commit here belongs to #51171. Review only thefix(desktop)commit. Once #51171 merges, this diff will show only the app and Desktop changes.Type of change
What does this PR do?
The server now explains unavailable project folders:
LocationNotFoundError(404) from #52668, plusLocationPermissionDeniedError(403) and thelocation.getre-check from #51171. Desktop still shows broken screens or a generic error page for both. This PR uses those errors to explain the problem and offer recovery.location.getagain, which re-checks the folder (fix(server): report location permission errors #51171), so the panel also appears for a folder deleted or renamed mid-session.opencode service restartmay be needed.How did you verify your code works?
bun run checkfrom the repository root.packages/app:bun run test:unitpasses, including a case that recognizes both server errors (direct and SDK-wrapped), uses the macOS wording only when asked, and ignores unrelated errors.packages/desktop: default-project tests cover creation and the denied-then-restored case.session-entry-benchmark.spec.ts, cold session from Home, 5 runs each), since entering a cached project now makes one extralocation.get: stable time 282–394 ms onv2, 250–301 ms with this PR.Screenshots / recordings
Server-side before/after recordings for both cases are on #51171. Desktop panel recordings are not captured yet; they require an unavailable local project folder.
Checklist