2.9 KiB
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
Implemented removal of Runtime-owned runtime_id from worker-runtime.
- Removed
RuntimeIdand made worker-runtime Worker authority Runtime-local (WorkerRef { worker_id }). - Removed
runtime_idfrom Runtime options, summaries, event cursors/subscriptions, Worker summaries/details, Runtime errors, persisted Runtime state, and Worker snapshots. - Removed REST server
--runtime-id; the process exposes a single Runtime identified externally by URL/backend alias only. - Changed REST server default store selection to durable fs-store with a default user data root, keeping
--store memoryas the explicit throwaway mode. - Changed fs-store layout so the supplied root is the Runtime store, not
root/runtimes/<runtime-id>. - Added legacy single-runtime layout migration from the old
runtimes/<encoded-runtime-id>/layout into the root store when exactly one legacy Runtime directory exists. - Changed deterministic Worker runtime names from
runtime-<runtime_id>-<worker_id>to Runtime-localworker-runtime-<worker_id>. - Kept workspace-server runtime ids as backend/endpoint aliases and adapted embedded/remote projections to attach those aliases at the workspace boundary instead of passing them into worker-runtime.
Validation:
cargo fmt --checkgit diff --checkcargo check -qcargo test -q -p worker-runtime --features fs-store,ws-servercargo test -q -p yoi-workspace-servercargo run -q -p worker-runtime --features ws-server,fs-store --bin worker-runtime-rest-server -- --helpcargo run -q -p worker-runtime --features ws-server,fs-store --bin worker-runtime-rest-server -- --runtime-id arcrejects the removed option- started
worker-runtime-rest-serverwith--fs-root /tmp/yoi-runtime-idless-testand verified/v1/runtimereportsbackend: fs_storewithout runtime_id nix build .#yoi --no-link
State changed
State changed to done.