ticket: close runtime worker tickets

This commit is contained in:
Keisuke Hirata 2026-07-03 03:24:57 +09:00
parent c2c594411d
commit f28d4d5d3a
No known key found for this signature in database
6 changed files with 200 additions and 4 deletions

View File

@ -1,8 +1,8 @@
---
title: 'Workspace Browserから手動Coding Workerを作成する導線を追加する'
state: 'inprogress'
state: 'closed'
created_at: '2026-07-02T12:59:57Z'
updated_at: '2026-07-02T18:20:10Z'
updated_at: '2026-07-02T18:24:50Z'
assignee: null
queued_by: 'workspace-panel'
queued_at: '2026-07-02T16:13:24Z'

View File

@ -0,0 +1,31 @@
完了。
実装内容:
- Workspace Sidebar の WORKER heading に `New` button と Worker 作成 form を追加した。
- form は display name / runtime / profile / initial text の product-level fields のみを扱う。
- Browser-facing `/api/workers` POST を追加/利用し、内部 Runtime create payload や raw authority-bearing fields を UI/API contract に露出しないようにした。
- profile/runtime は Backend-published candidates から選択し、自由入力にしないようにした。
- 作成成功時は Worker list を refresh し、`/runtimes/{runtime_id}/workers/{worker_id}/console` に遷移するようにした。
- unsupported runtime / not accepted cases は Runtime diagnostics を sanitized typed diagnostics として保持するようにした。
- Focused backend/web tests を追加した。
主な commit / merge:
- implementation: `f2fead7e feat: add workspace runtime and worker controls`
- review fix: `47ed0ff8 fix: harden runtime and worker launch controls`
- merge to develop: `4edaa73d merge: runtime worker controls`
- ticket-record merge before closure: `540e55d4 merge: runtime worker ticket records`
Review:
- 初回 external review は request_changes。
- follow-up external review は approve。merge-blocking issue なし。
Final validation on `develop`:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server`: pass55 lib tests + 2 main tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task test`: pass13 tests
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `yoi ticket doctor`: ok
未実行:
- `nix build .#yoi --no-link` は Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。

View File

@ -290,3 +290,71 @@ Non-blocking follow-up:
No merge-blocking issues found.
---
<!-- event: state_changed author: orchestrator at: 2026-07-02T18:24:26Z from: inprogress to: done reason: merged_validated_review_approved field: state -->
## State changed
Merge/validation acceptance:
- Implementation branch `work/00001KWHHRTM9-00001KWHEM8YJ` was merged to `develop` with merge commit `4edaa73d merge: runtime worker controls`.
- Ticket record branch was merged to `develop` with merge commit `540e55d4 merge: runtime worker ticket records` before final closure.
- Final validation on `develop` passed:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server`: pass55 lib tests + 2 main tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task test`: pass13 tests
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `yoi ticket doctor`: ok
- `nix build .#yoi --no-link` は Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。
External follow-up review approved the fix commit `47ed0ff8` and found no merge-blocking issues.
---
<!-- event: state_changed author: hare at: 2026-07-02T18:24:50Z from: done to: closed reason: closed field: state -->
## State changed
Ticket を closed にしました。
---
<!-- event: close author: hare at: 2026-07-02T18:24:50Z status: closed -->
## 完了
完了。
実装内容:
- Workspace Sidebar の WORKER heading に `New` button と Worker 作成 form を追加した。
- form は display name / runtime / profile / initial text の product-level fields のみを扱う。
- Browser-facing `/api/workers` POST を追加/利用し、内部 Runtime create payload や raw authority-bearing fields を UI/API contract に露出しないようにした。
- profile/runtime は Backend-published candidates から選択し、自由入力にしないようにした。
- 作成成功時は Worker list を refresh し、`/runtimes/{runtime_id}/workers/{worker_id}/console` に遷移するようにした。
- unsupported runtime / not accepted cases は Runtime diagnostics を sanitized typed diagnostics として保持するようにした。
- Focused backend/web tests を追加した。
主な commit / merge:
- implementation: `f2fead7e feat: add workspace runtime and worker controls`
- review fix: `47ed0ff8 fix: harden runtime and worker launch controls`
- merge to develop: `4edaa73d merge: runtime worker controls`
- ticket-record merge before closure: `540e55d4 merge: runtime worker ticket records`
Review:
- 初回 external review は request_changes。
- follow-up external review は approve。merge-blocking issue なし。
Final validation on `develop`:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server`: pass55 lib tests + 2 main tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task test`: pass13 tests
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `yoi ticket doctor`: ok
未実行:
- `nix build .#yoi --no-link` は Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。
---

View File

@ -1,8 +1,8 @@
---
title: 'Workspace Backend Runtime接続の管理画面と永続configを追加する'
state: 'inprogress'
state: 'closed'
created_at: '2026-07-02T13:54:52Z'
updated_at: '2026-07-02T18:20:10Z'
updated_at: '2026-07-02T18:24:38Z'
assignee: null
queued_by: 'workspace-panel'
queued_at: '2026-07-02T16:45:19Z'

View File

@ -0,0 +1,30 @@
完了。
実装内容:
- Workspace Settings に Runtime Connections v0 を追加し、embedded Runtime を built-in / delete不可として表示するようにした。
- remote Runtime connection の list/add/delete/test を Browser-facing API と Settings UI から扱えるようにした。
- remote runtime config は `.yoi/workspace-backend.local.toml` の既存 `[[runtimes.remote]]` schema を typed read-modify-write で更新し、変更後は `restart_required = true` を返すようにした。
- Runtime connection test は `/v1/runtime` の lightweight negotiation と Browser-relevant operation の compatibility/capability projection を行い、unsupported/unknown を typed sanitized diagnostics として返すようにした。
- Browser-facing response から raw token/secret、Runtime endpoint、config path、workspace/internal paths、socket/session/store path、live handle 等が漏れないようにした。
- Focused backend/web tests を追加した。
主な commit / merge:
- implementation: `f2fead7e feat: add workspace runtime and worker controls`
- review fix: `47ed0ff8 fix: harden runtime and worker launch controls`
- merge to develop: `4edaa73d merge: runtime worker controls`
- ticket-record merge before closure: `540e55d4 merge: runtime worker ticket records`
Review:
- 初回 external review は request_changes。
- follow-up external review は approve。merge-blocking issue なし。
Final validation on `develop`:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server`: pass55 lib tests + 2 main tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task test`: pass13 tests
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `yoi ticket doctor`: ok
未実行:
- `nix build .#yoi --no-link` は Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。

View File

@ -310,3 +310,70 @@ Non-blocking follow-up:
No merge-blocking issues found.
---
<!-- event: state_changed author: orchestrator at: 2026-07-02T18:24:16Z from: inprogress to: done reason: merged_validated_review_approved field: state -->
## State changed
Merge/validation acceptance:
- Implementation branch `work/00001KWHHRTM9-00001KWHEM8YJ` was merged to `develop` with merge commit `4edaa73d merge: runtime worker controls`.
- Ticket record branch was merged to `develop` with merge commit `540e55d4 merge: runtime worker ticket records` before final closure.
- Final validation on `develop` passed:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server`: pass55 lib tests + 2 main tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task test`: pass13 tests
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `yoi ticket doctor`: ok
- `nix build .#yoi --no-link` は Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。
External follow-up review approved the fix commit `47ed0ff8` and found no merge-blocking issues.
---
<!-- event: state_changed author: hare at: 2026-07-02T18:24:38Z from: done to: closed reason: closed field: state -->
## State changed
Ticket を closed にしました。
---
<!-- event: close author: hare at: 2026-07-02T18:24:38Z status: closed -->
## 完了
完了。
実装内容:
- Workspace Settings に Runtime Connections v0 を追加し、embedded Runtime を built-in / delete不可として表示するようにした。
- remote Runtime connection の list/add/delete/test を Browser-facing API と Settings UI から扱えるようにした。
- remote runtime config は `.yoi/workspace-backend.local.toml` の既存 `[[runtimes.remote]]` schema を typed read-modify-write で更新し、変更後は `restart_required = true` を返すようにした。
- Runtime connection test は `/v1/runtime` の lightweight negotiation と Browser-relevant operation の compatibility/capability projection を行い、unsupported/unknown を typed sanitized diagnostics として返すようにした。
- Browser-facing response から raw token/secret、Runtime endpoint、config path、workspace/internal paths、socket/session/store path、live handle 等が漏れないようにした。
- Focused backend/web tests を追加した。
主な commit / merge:
- implementation: `f2fead7e feat: add workspace runtime and worker controls`
- review fix: `47ed0ff8 fix: harden runtime and worker launch controls`
- merge to develop: `4edaa73d merge: runtime worker controls`
- ticket-record merge before closure: `540e55d4 merge: runtime worker ticket records`
Review:
- 初回 external review は request_changes。
- follow-up external review は approve。merge-blocking issue なし。
Final validation on `develop`:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server`: pass55 lib tests + 2 main tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task test`: pass13 tests
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `yoi ticket doctor`: ok
未実行:
- `nix build .#yoi --no-link` は Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。
---