fabro/lib/crates/fabro-server/tests/it/api
Bryan Helmkamp 911f957200
refactor(config): move Bind and ServerDaemon into fabro-config
`Bind` and `ServerDaemon` are serde-serialized descriptions of on-disk
server state (the `server.json` record). They belong with
`RuntimeDirectory` in fabro-config rather than in fabro-server's web
layer.

The practical payoff: fabro-test was hand-parsing `server.json` via
`serde_json::Value["pid"]` because fabro-server already depends on
fabro-test (cycle blocked the reverse edge). Moving these types into
fabro-config lets fabro-test call `ServerDaemon::{load_running, read,
remove}` directly, dropping ~20 lines of duplicated record parsing.

fabro-config gains `fabro-proc` and `tempfile` as deps to cover
`ServerDaemon::{is_running, write}`. All 16 `fabro_server::{bind,
daemon}` import sites in fabro-server and fabro-cli are rewritten to
`fabro_config::{bind, daemon}`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 16:44:59 -04:00
..
cli_auth_token.rs Merge remote-tracking branch 'origin/main' 2026-04-21 09:40:09 -04:00
docs.rs refactor(server): simplify github webhook wiring 2026-04-20 07:32:38 -04:00
install.rs refactor(server): unify daemon runtime metadata 2026-04-22 16:07:52 -04:00
install_openai_compatible.rs test(http): improve HTTP test failure diagnostics 2026-04-20 08:06:14 -04:00
mod.rs feat(auth): tighten server auth surface with single origin 2026-04-21 23:38:31 -04:00
routing.rs feat(auth): tighten server auth surface with single origin 2026-04-21 23:38:31 -04:00
run_files.rs test(http): improve HTTP test failure diagnostics 2026-04-20 08:06:14 -04:00
runs.rs test(http): improve HTTP test failure diagnostics 2026-04-20 08:06:14 -04:00
settings.rs test(http): improve HTTP test failure diagnostics 2026-04-20 08:06:14 -04:00
system.rs test(server): make global attach filter deterministic 2026-04-22 16:04:33 -04:00
tcp.rs refactor(config): move Bind and ServerDaemon into fabro-config 2026-04-22 16:44:59 -04:00