fabro/lib/apps/fabro-server/tests/it/api/mod.rs
Bryan Helmkamp 6557a2f404
Check the HTTP run store against a loopback server
Petri's store conformance suite runs over `HttpRunStore` talking to an
axum listener on a loopback port. The suite opens runs under keys of
its own, while a key over the API is a Fabro run id the worker's token
names, so an adapter gives each suite key a fresh run with a token
minted for that run alone: the least a worker holds.

Three more tests cover what the suite cannot: the operator release
through the server's store turns the worker's handle stale; a
middleware swallows the reply of one committed append and the store's
resend leaves each record once; and two workers with owners of their
own never hold one run's lease at the same time.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 20:12:20 -04:00

20 lines
310 B
Rust

mod auth_sessions;
mod automations;
mod cli_auth_token;
mod compression;
mod docs;
mod environments;
mod events;
mod install;
mod install_openai_compatible;
mod mcp_servers;
mod petri_store;
mod routing;
mod run_files;
mod runs;
mod sandbox_vnc;
mod sessions;
mod settings;
mod system;
mod tcp;
mod variables;