Skip to content

feat: Warn at startup when the workspaces folder is not available - #747

Merged
stefanhoelzl merged 1 commit into
mainfrom
posthog
Oct 15, 2026
Merged

stefanhoelzl merged 1 commit into
mainfrom
posthog

Conversation

@stefanhoelzl

Copy link
Copy Markdown
Owner
  • A workspaces root (paths.workspaces) on a drive that is not attached — e.g. a Windows Dev Drive that did not mount — made every managed clone fail to open (Cannot use simple-git on a directory that does not exist) and every workspace in it disappear from the sidebar, which read as data loss (seen in a bug report from a Windows install)
  • The app:start migrations hook of the workspaces-root module now checks that a non-default root can be read before anything opens; when it cannot, the starting screen shows a modal naming the folder, with Retry, Continue without it (today's behaviour, root unchanged) and Quit
  • The check runs after legacy keys are carried over and before the one-time adoption conversion and a pending migration, so neither runs against a missing drive
  • Integration tests for root present / Retry / Continue / Quit; one legacy-keys fixture now seeds the root it names
  • USER_GUIDE.md (Where workspaces live) documents the dialog

🤖 Generated with Claude Code

…older is missing

A workspaces folder on a drive that is not attached (a Dev Drive that did not
mount) made every cloned project fail to open and every workspace vanish from
the sidebar, which looked like data loss. The app:start migrations hook now
checks that the folder in use can be read and, when it cannot, shows a dialog
naming it with Retry, Continue without it, and Quit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stefanhoelzl stefanhoelzl added the enhancement New feature or request label Oct 15, 2026
@stefanhoelzl
stefanhoelzl enabled auto-merge (rebase) October 15, 2026 10:08
@stefanhoelzl
stefanhoelzl merged commit 7ab0d9b into main Oct 15, 2026
18 checks passed
@stefanhoelzl
stefanhoelzl deleted the posthog branch October 15, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant