workspace: disable archived worker console links
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
title: 'Disable Console links for archived Workers'
|
||||
state: 'inprogress'
|
||||
state: 'done'
|
||||
created_at: '2026-07-11T06:51:23Z'
|
||||
updated_at: '2026-07-11T06:52:17Z'
|
||||
updated_at: '2026-07-11T07:01:17Z'
|
||||
assignee: null
|
||||
queued_by: 'yoi ticket'
|
||||
queued_at: '2026-07-11T06:52:17Z'
|
||||
|
||||
@@ -39,4 +39,33 @@ Ticket を `yoi ticket` が queued にしました。
|
||||
State changed to `inprogress`.
|
||||
|
||||
|
||||
---
|
||||
|
||||
<!-- event: implementation_report author: hare at: 2026-07-11T07:01:17Z -->
|
||||
|
||||
## Implementation report
|
||||
|
||||
Archived registry-only Workers no longer render as Console links.
|
||||
|
||||
- Added shared `canOpenWorkerConsole` helper that rejects `state: archived` and `implementation.kind: backend_worker_registry`.
|
||||
- Sidebar renders archived Workers as disabled readonly rows instead of anchors.
|
||||
- Workers page shows `Archived` instead of `Open Console` for archived Workers.
|
||||
- Added unit coverage for live vs archived Console availability.
|
||||
|
||||
Validation:
|
||||
- cd web/workspace && deno task check
|
||||
- cd web/workspace && deno task test
|
||||
- git diff --check
|
||||
- nix build .#yoi --no-link
|
||||
|
||||
|
||||
---
|
||||
|
||||
<!-- event: state_changed author: "yoi ticket" at: 2026-07-11T07:01:17Z from: inprogress to: done reason: cli_state field: state -->
|
||||
|
||||
## State changed
|
||||
|
||||
State changed to `done`.
|
||||
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user