You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
trigger: a composite without --correlate never starts a run (gate consumed as unidentifiable) #451
--correlate is optional on a composite trigger, and record_for_composites treats its absence as "one global match" (partial key \"\"). When that gate is satisfied, the composite's PollItem is built with id: \"\". dedup_value refuses a blank id, so the firing is counted unidentifiable and no run starts — and because the firing still reports no failures, the satisfied partial is settled (removed). The gate is consumed silently: no run, no error, nothing in trigger status beyond the counter.
A naive fix (a constant non-empty id) would start the first run and then return Duplicate forever, since every uncorrelated firing would share one run id.
The existing composite_resumed_after test worked around it by correlating on /at_ms ("so the gate's item has an identity of its own to mint a run id from").
Fix
The identity of an uncorrelated firing is the gate instance: uncorrelated@<partial.started_ms>. That is stable across a refused run's retries (the partial is kept) and new for every satisfaction after the last one settled. Correlated composites are unchanged (same id, same payload). The uncorrelated run input carries gate_started_ms.
Pinned by an_uncorrelated_composite_starts_a_run_each_time_its_gate_is_satisfied (two satisfactions → two runs, zero unidentifiable).
Fixed in #452 (merged): an uncorrelated composite's firing is identified by its gate instance (uncorrelated@<partial.started_ms>), so each satisfaction starts one run and a refused run retries under the same id. Pinned by an_uncorrelated_composite_starts_a_run_each_time_its_gate_is_satisfied. Ships in the next patch release.
Activity
Merge pull request #452 from AreevAI/fix/composite-uncorrelated
sathish-mg commentedon Nov 24, 2026
Fixed in #452 (merged): an uncorrelated composite's firing is identified by its gate instance (
uncorrelated@<partial.started_ms>), so each satisfaction starts one run and a refused run retries under the same id. Pinned byan_uncorrelated_composite_starts_a_run_each_time_its_gate_is_satisfied. Ships in the next patch release.