pub fn heartbeat() -> ActionExpand description
The “steady-state heartbeat” requeue action —
after_secs(HEARTBEAT_SECONDS).
The ONE substrate owner of the “default periodic reconcile heartbeat” requeue intent. Pre-lift bound at 11 workspace-wide sites past the ★★ PRIME-DIRECTIVE ≥ 2 duplication threshold across three files:
tatara-reconciler::phase_machine— 7 sites fed the localconst HEARTBEAT: u64 = 30;at handler tails that maintain steady-state re-observation (forking / execing / running / attested / reconverging / releasing / failed).tatara-reconciler::controller— 2 sites fed a bare30literal at the reconcile-error sink and theerror_policyreturn (both semantically “back off to the default heartbeat after an error”).tatara-reconciler::table_controller— 2 sites fed a bare30literal at the ProcessTable heartbeat return and itserror_policyreturn.
Post-lift each callsite reads
tatara_process::requeue::heartbeat(). Peer to tick and
short_retry on the “named requeue intent” axis; each future
controller that wants the workspace-canonical heartbeat cadence
lands as ONE new callsite here instead of another hand-authored
after_secs(30) chain, and a future workspace-wide heartbeat
re-tuning (a config-slot override, a per-controller adaptive
cadence) lands at THIS primitive rather than as a scatter-
gather sweep across every reconciler.