This commit is contained in:
James Long
2026-05-01 18:23:32 -04:00
parent 26512178c7
commit 7089f72e76
2 changed files with 6 additions and 2 deletions

View File

@@ -134,10 +134,9 @@ export function DialogSessionList() {
type={workspace.type}
name={workspace.name}
status={project.workspace.status(x.workspaceID) ?? "error"}
icon
/>
) : (
<WorkspaceLabel type="unknown" name={x.workspaceID} status="error" icon />
<WorkspaceLabel type="unknown" name={x.workspaceID} status="error" />
)
}
} else {

View File

@@ -529,6 +529,11 @@ export const layer = Layer.effect(
body: HttpBody.jsonUnsafe({ sessionID: input.sessionID }),
}),
)
// TODO: if this fails, we need to mark this workspace
// as "orphaned" meaning we abandoned it and never want
// to talk to it again
if (response.status < 200 || response.status >= 300) {
const body = yield* response.text
log.warn("session warp erase failed", {