refactor(cli): drop the runner's dead ephemeral store #427

Merged
KofTwentyTwo merged 1 commits from chore/cli-polish into dev 2026-08-15 01:42:49 +00:00
1 Commits
Author SHA1 Message Date
james.maes 3508b5e10a refactor(cli): drop the runner's dead ephemeral store
The headless runner still built an ephemeral DatabaseEngine, an EventBus,
and a TempDir that no command read -- a remnant of the CLI-holds-its-own-store
design that predates the gRPC API. Nothing but two dead_code accessors touched
them, so remove the fields, the accessors, and the now-unreachable RunnerError.

With no store to open, construction is neither fallible nor async, so the
constructors lose their Result and async, and 'ephemeral' no longer describes
them: they are renamed connect/connect_with/connect_with_token_override.

Doc comments that contrasted the daemon's persistent store against 'this
runner's own ephemeral local db' now described a field that does not exist;
they are rewritten to say the CLI keeps no store at all.
2026-08-14 20:28:27 -05:00