3.0 KiB
3.0 KiB
作成
LocalTicketBackend によって作成されました。
Plan
Workspace Backend embedded Runtime の fs-store 永続化について詳細化した。
調査済み事実:
worker-runtimeにはRuntime::with_fs_store_and_execution_backend(...)とFsRuntimeStoreOptionsが存在する。workspace-serverは現在worker-runtimeをws-serverfeature のみで使っており、fs-storefeature が有効ではない。WorkspaceApi::new_with_execution_backend(...)はEmbeddedWorkerRuntime::new_memory_with_execution_backend(...)を呼んでいる。ServerConfigは Runtime store root を持っていない。worker-runtimeの restore は live execution handle を復元せずWorkerExecutionStatus::unconnected()/execution_handle: Noneにする。
実装方針:
workspace-serverでworker-runtimeのfs-storefeature を有効化する。ServerConfigに embedded Runtime store root を追加する。- CLI/default path は user data 配下の workspace_id 別 path にする。
EmbeddedWorkerRuntimeに fs-store backed constructor を追加し、Runtime::with_fs_store_and_execution_backend(...)を通す。- Workspace Backend の通常 constructor から memory-backed Runtime を使う経路を外す。
- restart 後は catalog / transcript / ConfigBundle を復元し、live execution handle は connected として偽装しない。
Intake summary
Marked ready by yoi ticket state.
State changed
Marked ready by yoi ticket state.
State changed
Ticket を workspace-panel が queued にしました。
Decision
Routing decision:
Workspace Dashboard Queue authorized Orchestrator routing, so the Ticket and current workspace state were inspected.
Findings:
- Ticket state:
queued - Outgoing dependency:
depends_on 00001KW7726H9 - Blocking Ticket
00001KW7726H9is currentlyinprogress. - Current inprogress Tickets:
00001KW7726H9 - Orchestration worktree: clean
Decision:
- Leave
00001KW76E8EGqueued and do not create a child worktree / role Pod yet. - Reason: embedded Runtime fs-store persistence should persist the canonical Runtime Worker creation model, not an embedded-only bypass. That canonical creation path is currently being implemented in
00001KW7726H9.
Next routing condition:
- Re-evaluate this Ticket after
00001KW7726H9is merged, validated, and closed, or after an explicit replan changes the dependency.