Skip to content

Give sink deliveries their own retry schedule - #52

Merged
asher-aqi merged 1 commit into
mainfrom
feat/delivery-retry-backoff
Nov 27, 2026
Merged

asher-aqi merged 1 commit into
mainfrom
feat/delivery-retry-backoff

Conversation

@asher-aqi

@asher-aqi asher-aqi commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Summary

A sink failure can hold up every later delivery in its scope when the judge needs a long provider backoff.

  • Set settle.deliveryRetryBackoffMs (delivery_retry_backoff_ms in Python) to configure sink delays and the sink retry budget. Omission falls back to retryBackoffMs. An empty list dead-letters on the first failure. Judges, sources and dead-letter handlers use retryBackoffMs.
  • The new option validates finite, nonnegative delays. The legacy option keeps its existing input handling.
  • Reducer revision 8 saves the option with the policy. Tails replay under that policy, and already scheduled retries keep their committed deadlines.

Evidence

  • The restart regression originally scheduled the sink at 1,000 ms. It now retries at the committed 10 ms, even when restarted with a new policy.
  • TypeScript passed pnpm check with 1,682 tests passed and two existing Redis poll skips. All 128 oracle tests and eight shared fixture checks passed.
  • Python passed all 531 tests with Redis, Postgres and cross-runtime interop enabled. All 180 shared conformance tests, Ruff, Ruff format and Pyright passed.

Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

@asher-aqi
asher-aqi merged commit 4cf5178 into main Nov 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant