Available on crate features
serve and triggers only.Expand description
The fired event (TriggerEvent) and pure derivations from it:
${trigger.*} text substitution, the deterministic idempotency key, and the
auto run-labels. No IO.
Enums§
- Trigger
Event - A concrete event that fired a trigger.
Functions§
- idempotency_
key - Deterministic idempotency key for the event (see spec §9).
- labels
- Auto labels attached to the enqueued run (low-cardinality by construction).
- render_
name - Render a
{field}run-name template against trigger fields. - substitute
- Substitute every
${trigger.<token>}intext. Substituted values are YAML-escaped (wrapped + quotes doubled) so a value containing:/quotes can land in a scalar position without breaking the document. An unknown token is an error (never silently passed through). Returns the substituted text.