Expand description
Which DAGs a scheduler round visits (decision 485; first “Quiet DAGs”, archive/PROJECT.md).
A round visits the scheduled DAGs whose stored next fire time (dag_triggers.next_fire_at)
has come or isn’t known, the DAGs with queued runs, and those a mark woke (a command, a run
queued or ended, a new version): the database says which, through the round’s probe, and
nothing about a DAG is kept in memory to decide it. The rest are quiet: not visited.
A term’s first round visits every DAG, and every round does with [master] quiet_dags off.
Visiting a DAG that didn’t need it creates nothing (a scheduled run is unique per
planned_for), so a needless visit costs time, never runs.
Structs§
- Quiet
Dags - The DAGs a round visits, and what is logged and counted of them.
- Quiet
Settings - The
[master] quiet_dagssetting. - Visited
- What a visit found of a DAG.
- Wakes
- The marks from what changes a DAG, taken by the next round (shared by clones).
Enums§
- Visit
- What a round visits.
- Wake
Reason - Why a DAG was visited.