ci.metrics.collect¶
Join the legs' timing rows with the forge's times into the run's file.
Runs in the gate job before its verdict. Reads the per-run refs
the legs wrote, asks the forge for the run's jobs and their
steps, and puts the run's file on the metrics series under its
window. The per-run refs stay for ci.metrics.drop, the job's
last entry, so a red verdict leaves them for the forge's re-run
of the job, which runs without its legs. Fails open loudly: every
reason is printed and the exit stays 0.
Hidden: this task is not listed by fm --list, --tree or completion — it runs like any other when named.