Cue
Decisions

A metric is apart from the run

A metric is apart from the run

A person looks at outcomes and durations over a period, and the orchestrator still has to reread the result that a step returned. Keeping those in one row would either drop the period view when the next run replaces the tree, or make the engine reread a metric. The metric is the retained end of a finished run. ClickHouse holds those ends and the hourly aggregates. The engine rereads the result. It does not reread the metric. A running flow run is not a metric. ADR 0007 replaces the rule that Postgres holds only the current flow run.