fabro/lib/apps/fabro-server/tests/it/api
Bryan Helmkamp a36bea15d2
Remove the engine flag: every run is a Petri run
Delete `Engine`, `RunEngine`, `[workflow] engine`, `[server.execution]
engine`, `FABRO_SERVER_ENGINE` and `fabro server start --engine`. The run
spec records what Petri admitted as `admission: PetriAdmission`; the
create handler always admits through `Runtime::check`; `execute_run`
always launches the Petri worker (or executes in process under the test
override); the CLI runner takes only the Petri worker path, and its
legacy control arm, artifact uploader, signal pause handlers and
credential helpers go with it. The CLI's `attach` and `events` read the
run stream only.

Two gaps this surfaced are closed here: the check adapter binds the
server's run variables as Petri compile variables (`{{ vars.* }}` in a
prompt no longer fails admission), and deleting a run removes its Petri
records, lease, platform records, projection and stream.

Tests: the config engine tests are replaced (an engine key is unknown),
the API round-trip test covers `PetriAdmission`, the server and CLI
Petri scenarios drop their engine settings, and the API tests that read
legacy event names now read the run stream or the session events. The
remaining red tests are fixtures and scenarios of the legacy executor
and the legacy event store (`fabro-store` `slate` and `run_state`,
`fabro-types` legacy `run.created` JSON, the server's handler-registry
scenarios, the CLI dry-run snapshots), which the next steps of the F4.3
series delete or port.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 09:58:21 -04:00
..
auth_sessions.rs Remove stale auth-session test import 2026-08-24 14:40:38 -04:00
automations.rs Align remote workflow selectors with run targets 2026-08-31 17:13:20 -04:00
cli_auth_token.rs Keep retired Slate helpers test-only 2026-08-24 17:31:15 -04:00
compression.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
docs.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
environments.rs Require a server-managed environment for automations 2026-08-30 09:58:13 -04:00
events.rs Retire legacy manifest run creation 2026-09-13 08:49:50 -06:00
install.rs Merge origin/main into the sandbox-driver adoption 2026-09-10 13:37:11 -06:00
install_openai_compatible.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
mcp_servers.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
mod.rs Check the HTTP run store against a loopback server 2026-09-17 20:12:20 -04:00
petri_store.rs Prove the checkpoint hooks and the recovery protocol 2026-09-18 00:25:10 -04:00
routing.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
run_files.rs Remove the engine flag: every run is a Petri run 2026-09-18 09:58:21 -04:00
runs.rs Remove the engine flag: every run is a Petri run 2026-09-18 09:58:21 -04:00
sandbox_vnc.rs Retire legacy manifest run creation 2026-09-13 08:49:50 -06:00
sessions.rs Remove the engine flag: every run is a Petri run 2026-09-18 09:58:21 -04:00
settings.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
system.rs Remove the engine flag: every run is a Petri run 2026-09-18 09:58:21 -04:00
tcp.rs Remove the engine flag: every run is a Petri run 2026-09-18 09:58:21 -04:00
variables.rs Remove the engine flag: every run is a Petri run 2026-09-18 09:58:21 -04:00