999 B
999 B
Implemented Workspace Backend config file schema and resolver.
Delivered:
WorkspaceBackendConfigFileTOML schema withserver,data,limits, andruntimes.remotesections.- Fixed workspace-local config path
.yoi/workspace-backend.local.toml. - Defaults when config file is absent.
- Unknown-field rejection.
- Workspace-root relative path resolution and absolute path preservation.
- Resolved config boundary for
ServerConfig, listen address, and database path. - Data root derivation for
workspace.dbandembedded-runtime. - Secret value exclusion from schema;
token_reffails closed until secret ref resolution is implemented. yoi-workspace-server serveloads config and applies only existing legacy dev CLI overrides.- Focused tests for defaults, unknown fields, path handling, data overrides, and secret field behavior.
Validation:
cargo test -p yoi-workspace-servercargo check -p yoicargo fmt --checkgit diff --checknix build .#yoi --no-link