Skip to main content

Module run_get

Module run_get 

Source
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§

RunAttemptEntry
Run attempt entry for the response payload.
RunGetResponse
Run get response payload.
RunLeaseEntry
Run lease entry for the response payload.
RunStateHistoryEntry
Run state history entry for the response payload.

Functions§

handle
Run get handler.
register_routes
Registers the run get route in the router builder.