yoi/.yoi/tickets/00001KW76E8EG/thread.md

3.0 KiB

作成

LocalTicketBackend によって作成されました。


Plan

Workspace Backend embedded Runtime の fs-store 永続化について詳細化した。

調査済み事実:

  • worker-runtime には Runtime::with_fs_store_and_execution_backend(...)FsRuntimeStoreOptions が存在する。
  • workspace-server は現在 worker-runtimews-server feature のみで使っており、fs-store feature が有効ではない。
  • 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-serverworker-runtimefs-store feature を有効化する。
  • 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 00001KW7726H9 is currently inprogress.
  • Current inprogress Tickets: 00001KW7726H9
  • Orchestration worktree: clean

Decision:

  • Leave 00001KW76E8EG queued 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 00001KW7726H9 is merged, validated, and closed, or after an explicit replan changes the dependency.