mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 09:42:53 +00:00
* fix(server): keep workspaces whose project root is unreachable Reconciliation archived every active workspace whose cwd returned ENOENT on a single stat, including the pass that runs at daemon startup. An external disk that has not mounted yet, or a network share that is briefly down, made every workspace on it disappear from the sidebar along with its sessions, and nothing brought them back when the directory returned. A missing path is only evidence that a workspace was removed when the project it belongs to is still readable. When the project root is missing too, the whole location is unavailable, and projects already persist through that. Workspaces now follow the same rule. Closes #4982 * fix(server): read project roots after workspace directories Reading the project roots first left a window where a volume could go away between the two reads, marking a project reachable while its workspace looked missing. Reading them after inverts the skew: a volume that disappears mid-pass makes the project unreachable, which withholds an archive instead of causing one. --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>