workspace: remove worker status field

This commit is contained in:
2026-07-11 15:22:23 +09:00
parent 69560addf8
commit 2d2c29a775
8 changed files with 51 additions and 29 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: 'Remove duplicate Worker status field'
state: 'inprogress'
state: 'done'
created_at: '2026-07-11T06:05:38Z'
updated_at: '2026-07-11T06:06:13Z'
updated_at: '2026-07-11T06:22:05Z'
assignee: null
queued_by: 'yoi ticket'
queued_at: '2026-07-11T06:06:13Z'
+31
View File
@@ -39,4 +39,35 @@ Ticket を `yoi ticket` が queued にしました。
State changed to `inprogress`.
---
<!-- event: implementation_report author: hare at: 2026-07-11T06:22:05Z -->
## Implementation report
Removed duplicate Workspace Worker `status` from browser-facing Worker summaries.
- `WorkerSummary` now exposes `state` only for Worker state.
- Backend Worker projections populate only `state`; registry-only Workers remain `state: archived`.
- Frontend Worker type, sidebar, Workers page, and Console header no longer reference `worker.status`.
- Runtime/Host/Workdir/protocol statuses are unchanged where they are distinct domain concepts.
Validation:
- cargo test -q -p yoi-workspace-server
- cd web/workspace && deno task check
- cd web/workspace && deno task test
- cargo test -q
- git diff --check
- nix build .#yoi --no-link
---
<!-- event: state_changed author: "yoi ticket" at: 2026-07-11T06:22:05Z from: inprogress to: done reason: cli_state field: state -->
## State changed
State changed to `done`.
---