yoi/.yoi/tickets/00001KXDYZ254/thread.md

2.9 KiB

作成

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


Intake summary

Marked ready by yoi ticket state.


State changed

Marked ready by yoi ticket state.


State changed

Ticket を yoi ticket が queued にしました。


State changed

State changed to inprogress.


Implementation report

Changed active Worker restore so it does not fetch backend profile source archives.

Root cause:

  • Worker metadata already contains the resolved manifest snapshot used by Worker::restore_from_worker_metadata_with_context.
  • ProfileRuntimeWorkerFactory::restore_controller still resolved request.profile_source before calling restore, so Runtime restart could fail if workspace-server/backend resource endpoint was not available yet.

Changes:

  • Active restore now builds only a minimal builtin fallback manifest/loader and calls Worker::restore_from_worker_metadata_with_context directly.
  • The metadata resolved_manifest_snapshot remains the restore authority.
  • Backend profile source archive resolution is deferred to the pending/no-history fallback path only, where fresh Worker recreation still needs a manifest.

Validation:

  • cargo fmt
  • cargo check -q
  • cargo test -q -p worker-runtime --features fs-store,ws-server
  • cargo test -q -p yoi-workspace-server
  • cd web/workspace && deno task check && deno task test
  • git diff --check
  • nix build .#yoi --no-link

Note: README.md had pre-existing unrelated local modifications and was not included.


State changed

State changed to done.


State changed

Ticket を closed にしました。


完了

Ticket 00001KXDYZ254 (Restore Worker without backend profile fetch) はすでに state: done に到達していたため、workspace Dashboard から close しました。

この Close action によって、実装作業、state 変更、Orchestrator/Companion launch、worker invocation は開始されていません。