Repository navigation
Notes on ADR-0010 the retry window the code documents - #141
Merged
Merged
Conversation
A dated foot Note on ADR-0010 gives the default retry window as the StatifierOban.Timer.Delivery moduledoc now states it: Oban's default of 20 attempts spreads over twelve to thirteen and a half days (15 + 2^n seconds after attempt n plus a 0-10% jitter), where the Context says about twelve days, the no-jitter floor. The Note also records that the snooze code landed at 05d461f while the record is at proposed, by the operator's ruling of 2026-09-28, and that the record stays proposed until that code ships in a published version. Claims read at 05d461f. Additions only; the Note decides nothing and no Status line moves. Docs only: the diff is outside gate.build_paths, so the gate does not apply (the commit row's docs-only clause); no changelog fragment per changelog.d/README.md (ADRs excluded). Refs: sob-xgz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Appends one dated foot Note to ADR-0010 (a timer delivery may answer a snooze). Refs: sob-xgz.
What the Note says
StatifierOban.Timer.Deliverymoduledoc section "A parked execution retries; it is never discarded" now gives the range, twelve to thirteen and a half days, and the Note states it with the moduledoc's arithmetic; "about twelve days" is the no-jitter floor.The record stays at proposed. Additions only:
git diff origin/main -- docs/adr/shows zero removed lines.Direction check (in-turn review, tier gate)
Each claim was read on main at 05d461f by anchor. The range and the sum ("15 + 2^n seconds plus a random 0-10% jitter", "about 12.1 days with no jitter and about 13.4 with the most") match the
StatifierOban.Timer.Deliverymoduledoc section named above and the README's "Delivering timers to a durable execution"; the arithmetic checks against the locked Oban 2.23.1 (Oban.Worker.backoff/1:Oban.Backoff.exponential/2withmin_pad: 15, thenOban.Backoff.jitter/2in:incmode with the default 0.1 multiplier;Oban.Job's defaultmax_attemptsof 20), andStatifierOban.Timer.Workersets nomax_attempts. The quoted record phrases match the Context's last paragraph and the last Consequences bullet word for word. The snooze arm is inc:StatifierOban.Timer.Delivery.deliver/2andt:StatifierOban.Timer.Delivery.snooze/0, the clause inStatifierOban.Timer.Worker.perform/1;mix.exsreads@version "0.16.0"and the change's fragment ischangelog.d/sob-46l.md, so the code is unpublished. The Note decides nothing and changes no Status line.Gate
Docs only: the branch touches no gated path (
gate.build_pathsis lib/, test/, config/, mix.exs, mix.lock), so there is no gate to run. No changelog fragment:changelog.d/README.mdexcludes ADRs.