Show an error for missing project paths (#1490)

* Fix missing project paths flashing in the sidebar

* Log project lifecycle changes

* Address project picker review feedback

* Show project picker transport errors

* Inject session filesystem for workspace tests
This commit is contained in:
Mohamed Boudra
2026-06-12 23:42:21 +08:00
committed by GitHub
parent c4d544baf6
commit a929ea9726
20 changed files with 603 additions and 73 deletions
+2
View File
@@ -2622,6 +2622,8 @@ export const OpenProjectResponseMessageSchema = z.object({
requestId: z.string(),
workspace: WorkspaceDescriptorPayloadSchema.nullable(),
error: z.string().nullable(),
// Unknown codes from newer daemons degrade to null; clients fall back to `error`.
errorCode: z.enum(["directory_not_found"]).nullish().catch(null),
}),
});