yoi/.yoi/tickets/00001KXDEVT13/thread.md

2.8 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 filesystem option cleanup for worker-runtime-rest-server.

  • Kept --store <fs> as the only accepted store selector value.
  • Added --no-store to represent the old ephemeral memory Runtime catalog mode.
  • Changed --fs-root to mean the top-level filesystem-backed storage root.
  • Added --fs-worker-dir for Worker storage, defaulting to <fs-root>/worker.
  • Added --fs-runtime-dir for Runtime catalog storage, defaulting to <fs-root>/runtime.
  • Added --workdir-target for Workdir materialization, defaulting to <fs-root>/workdirs.
  • Removed the old --worker-store-dir, --worker-metadata-dir, and --worker-runtime-base-dir CLI options.
  • Worker session store, Worker metadata store, Worker controller runtime base, and workdirless Worker root are now derived from --fs-worker-dir.

Validation:

  • cargo fmt --check
  • git diff --check
  • cargo check -q
  • cargo check -q -p worker-runtime --features fs-store,ws-server
  • cargo test -q -p worker-runtime --features fs-store,ws-server
  • cargo test -q -p yoi-workspace-server
  • cargo run -q -p worker-runtime --features ws-server,fs-store --bin worker-runtime-rest-server -- --help
  • cargo run -q -p worker-runtime --features ws-server,fs-store --bin worker-runtime-rest-server -- --store memory rejects the old memory store selector
  • cargo run -q -p worker-runtime --features ws-server,fs-store --bin worker-runtime-rest-server -- --worker-store-dir /tmp/x rejects the removed worker path option
  • Started worker-runtime-rest-server with --fs-root /tmp/yoi-runtime-fs-options-test and verified /v1/runtime responds with backend: fs_store while using the derived runtime directory.
  • nix build .#yoi --no-link

State changed

State changed to done.