Rule

Retry with backoff

A rule's limits: a two-hour cap per run, three runs a day at most, and three retries with exponential backoff.

Use it when A rebuild sometimes fails for a passing reason and should try again, without ever running away.

By The Nistor team

if:
  quiet_period_seconds: 600
  max_runtime_seconds: 7200
  run_limit:
    max: 3
    period: day
then:
  target:
    same_as_applies_to: true
    scope: node
  do:
    kind: single
    action:
      type: dataform_run
      parameters:
        release: projects/acme-mart-{ENV}/locations/europe-west1/repositories/acme-marts/releaseConfigs/daily
        retry:
          mode: exponential
          max_retries: 3
  1. Line 2wait for 10 quiet minutes before running

Taken from docs/concepts/scheduling.md

Part of the scheduling docs' example rule (the rest of it is Failsafe deadline).

max_runtime_seconds stops the action after two hours. run_limit allows at most three firings a day; hitting it opens an incident. A failed run is retried according to parameters.retry: exponential multiplies the wait by backoff_factor (2.0 by default) from initial_backoff_s (60), capped at max_backoff_s (900), with up to 20% jitter either way. retry_number: 3 is the older spelling of max_retries: 3.

Feeds fromGoogle Cloud

See your platform as one graph, on your laptop. Explore the demo estate, or book a walkthrough on one like yours.