Expand description
Single run retrieval route module.
This module provides the single run endpoint (GET /api/v1/runs/:run_id)
for the daemon. The endpoint returns the run lifecycle and lineage details
derived from authoritative projection state. The response is read-only,
deterministic, and sourced strictly from the recovery projection.
§Invariant boundaries
The handler performs no IO, reads no mutation authority or WAL, and mutates no runtime state. It only reads from the authoritative projection state.
Structs§
- RunAttempt
Entry - Run attempt entry for the response payload.
- RunGet
Response - Run get response payload.
- RunLease
Entry - Run lease entry for the response payload.
- RunState
History Entry - Run state history entry for the response payload.
Functions§
- handle
- Run get handler.
- register_
routes - Registers the run get route in the router builder.