Repository navigation
Persist PostgreSQL outbox backoff without poisoning broker outages - #672
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review of #672 (durable backoff for PostgreSQL native-send failures) The mechanics look sound. The retry statement is fenced, and the deadline is stored in the row, so a restart can't cause a hot retry loop. The counter saturates, and the direct, ordered and maintenance paths share one eligibility rule. The tests and docs cover the new behaviour and D69 is recorded. Blocking: no cap on retries for a permanently failing send
Suggested fix: keep durable backoff, but still count attempts against a ceiling, and dead-letter when it is exceeded (a long-horizon attempt or age option). Alternatively, classify transport exceptions. Azure Service Bus has Minor
|
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Addressed Claude's review in 1c8b266 using its explicitly offered documented-contract alternative. D69 and the PostgreSQL reference now state that all native send exceptions retry indefinitely, including permanent rejections; operators must repair them, ordered keys remain blocked, and failed batches back off all claimed rows. They also state that unclassified local failures/configuration errors require repair. The three stale worker Minor suggestions disposition: a shared helper is a non-blocking optional refactor; the two call sites intentionally differ because ordered preparation errors retain their budget. The clock-source comment is non-blocking: the explicit store clock remains caller-supplied while lane transactions use database time; changing or commenting unchanged clock ownership is outside this focused correction. Validation: |
|
@codex review |
Review of #672: durable PostgreSQL dispatch backoffI read What looks sound
Non-blocking notes
No actionable issues. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Disposition of the current-head Claude review: the suggested saturation warning/metric is a non-blocking observability extension; existing documented indefinite retry behavior is retained without another runtime change. The shared diagnostic/preparation attempt counter behavior is documented and accepted as the reviewer notes. Both required reviewers now report a clear verdict for 1c8b266; all review surfaces are dispositioned and no review threads exist. Verified the retained evidence inventory against its SHA256SUMS: all 543 files under /Users/tom/git/Relayer-evidence/pr-672/6fa5796c513ae913472c7def0b8e1a1cb8952be3/ and both files under /Users/tom/git/Relayer-evidence/pr-672/1c8b2665161a19bd148c9be5ed6e7cbaab4a3c29/ match. Original worktrees have already been released; this verifies the archived inventory and hashes rather than claiming a new comparison to deleted originals. No tests rerun for this lifecycle-only action. |
|
Promotion succeeded on the approved head 1c8b266, but Enable-AutoMerge.ps1 -MarkReady stopped with: CI did not start on the ready head within 3 minutes. GitHub recorded ready_for_review at 2026-11-13T11:54:17Z; the CI workflow is active and subscribes to ready_for_review, but the only registered CI run remained the skipped draft run 43419885923. The PR is ready and auto-merge remains unarmed. No checks were bypassed or rerun. A later unit should check for delayed ready CI registration and invoke Enable-AutoMerge.ps1 -Pr 672 without -MarkReady once it registers; if delivery remains absent, diagnose workflow event delivery before further lifecycle actions. |
1c8b266 to
07d111c
Compare
|
The earlier promotion timeout still had no ready CI execution: only skipped draft CI runs were registered. The PR also became conflicting with main, which prevents a pull_request workflow from running. Converted back to draft and rebased onto 70b1a6f; preserved both appended decisions and renumbered the PostgreSQL decision to D70 because main now owns D69. Range-diff confirms the runtime changes and review correction are preserved. Pushed 07d111c. Validation: all 6 DispatchBackoffTests passed across net10.0/net11.0; npm ci, npm run build and git diff --check passed. Logs and SHA256SUMS are retained at /Users/tom/git/Relayer-evidence/pr-672/rebase/. The new head needs both required reviews before promotion; auto-merge remains unarmed. No CI checks or review gates were bypassed. @codex review |
|
Review The mechanics look sound. The retry statement is fenced, the Blocking: permanent native send failures are now retried forever, and a bad row can stall healthy ones Before this PR, a send failure that kept recurring ended in the dead table after
Suggestion: classify native send exceptions with the existing
That keeps the outage-recovery goal of #666 without turning poison messages into unbounded stalls. If you want to keep the "retry everything" behavior, it needs explicit maintainer sign-off, since it trades away the dead-letter default. Minor
Per-message cost: the success path is unchanged, so no benchmark is needed. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Review of PR #672 (PostgreSQL outbox durable dispatch backoff)I read What looks sound
Non-blocking suggestions
|
2d065a2 to
e809dd1
Compare
|
Addressed current-head Claude findings in final head e809dd1:
214 selected real-PostgreSQL cases passed across net10/net11, including scoped Retry/DeadLetter/Discard through keyed DI and mixed/partially successful batch isolation. npm ci/build and diff check passed. Successful sends add no work/allocations; all new scopes and isolation work occur on failure. D71 and the site document the final policy. 548 archived evidence files were verified against originals and SHA256SUMS under /Users/tom/git/Relayer-evidence/pr-672/2d065a2d1ecb3938f638e1eda7165c89135db06a/. The earlier ready-CI timeout was caused by conflicts preventing pull_request workflow delivery. A new appended-decision conflict arose after MySQL #676 merged; this unit rebased, preserved both records and renumbered PostgreSQL D71. The final head is MERGEABLE. PostgreSQL code/tests and the shared ordered contract are identical to measured 2d065a2; rebase proof is retained under /Users/tom/git/Relayer-evidence/pr-672/e809dd18782773af0dccf0d8d2a64c09f8c1d7ce/. Both reviewers must now review the final draft head before promotion. Auto-merge remains unarmed under the normal lifecycle, not parked behind the old CI timeout. @codex review |
|
Review of PR 672 (PostgreSQL outbox durable dispatch backoff) I read the dispatcher, the failure classifier, the retry and dead-letter SQL, and the store wiring. The design is sound: it reuses the registered IFailureClassifier, the fenced claims and deliver_at, and it adds no per-message cost on the success path. The retry SQL is correct: the attempt counter saturates at 30 and the delay runs from 1 s to 300 s. One finding: a failing batch can send each row individually during an outage (PostgreSqlDirectDispatcher.cs, lines 244-270) When a native batch fails with live > 1, every row is re-sent with its own SendAsync. Nothing short-circuits when the first single send fails with a transient error that the classifier maps to Retry.
Suggested fix: if a single-row send fails and the classifier returns Retry, treat it as systemic. Record the retry with the same error for the remaining claimed rows, including the ones skipped by the break, and send no more rows in that pass. Keep per-row isolation only while failures are classified DeadLetter or Discard, which is the poison-row case the isolation exists for. That bounds an outage to one failing batch send plus one failing single send, and every row gets a durable deadline. Please add a test where the broker is down for a batch of several rows. It should assert that every row has a future deliver_at and that the number of native sends is bounded. Notes (non-blocking)
|
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
The earlier ready-CI timeout no longer describes the current blocker: conflicts were already resolved and the PR is now draft for review. Addressed the current-head Claude blocking finding in 0b3a76e. The first single-send Retry ends native isolation and applies fenced durable retry to remaining claims; permanent/discard decisions still permit per-row isolation. Expired/replaced claims remain protected by fencing. The regression reproduced 5 native attempts before the fix, now 2, with all four live rows retaining future deadlines. Validation: all 24 DispatchBackoffTests cases passed across net10/net11, including existing mixed-poison/partial-success cases; npm ci/build and diff check passed. D71 and the PostgreSQL reference describe the bounded outage behavior. Successful dispatch adds no work or allocations; this changes only the failure path. Eight archived evidence files were verified against originals and SHA256SUMS in the head-specific location recorded in the PR body. Non-blocking review notes disposition: carrying row indices is an optional error-path optimization and does not justify another pipeline buffer. A warning/analyzer for missing native rules is an optional diagnostic extension; the required configuration and indefinite fallback are explicitly documented. Classifier exceptions are application-code failures, already logged and left under claim-expiry recovery; introducing a fallback policy for a broken classifier is outside this transport-outage correction. These suggestions do not block the documented valid-classifier contract. The new head needs both required reviewers before promotion; auto-merge remains unarmed under the normal lifecycle. @codex review |
Review of #672: PostgreSQL retryable outbox sends retain durable eligibilityI read the diff against AGENTS.md and D70 and found nothing that should block merge.
|
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Rechecked the earlier ready-CI promotion timeout. It no longer describes this PR: the current head 0b3a76e is MERGEABLE and draft after the subsequent review fix. Claude run 43426180036 succeeded with CLEAR for this head. Codex summary comment 6851852226 still reports this head running, and current-head request 6853037582 has only the connector eyes reaction, not a thumbs-up. All REST reviews/inline comments and GraphQL review threads were checked; no threads or new undispositioned findings exist. Resolution routes checked: there is no linked implementation blocker to work, no replacement PR or finished-parent action needed to advance this PR, and #666 is already referenced with Closes in the body. The prior fix is pushed; the current dependency is hosted review completion, not the earlier CI timeout. No competing review, CI rerun, or promotion was started. Keep the existing review request; after Codex completes, check every review surface and retained evidence, then use Enable-AutoMerge.ps1 -Pr 672 -MarkReady if both current-head verdicts remain positive. No on-hold or needs-human label is appropriate for this self-ending wait. |
|
The prior Codex-review blocker has cleared: the mutable summary now reports completed with no findings for current head 0b3a76e, matching its explicit clean receipt. Claude run 43426180036 also reports CLEAR for that head. Rechecked all paginated REST reviews, inline comments and conversation comments, plus all GraphQL review threads: no unresolved threads or undispositioned findings. The linear-scan suggestion remains a non-blocking error-path optimization, already dispositioned. Reverified all 548 + 2 + 8 archived files against SHA256SUMS in the measured, rebase-proof and current-head evidence directories cited in the PR body under /Users/tom/git/Relayer-evidence/pr-672/. Originals were compared when archived by the implementation units; original worktrees have since been released, so this is retention verification rather than a new comparison against removed originals. No tests rerun for this lifecycle-only action. Head is unchanged and MERGEABLE; proceeding through Enable-AutoMerge.ps1 -MarkReady. |
0b3a76e to
0b6ed14
Compare
|
The earlier wait on CI run 43432827595 was still active, but the PR had become conflicting with main. Disabled auto-merge and restored draft before rebasing. Pushed 0b6ed14 onto fresh main; preserved SQL Server D71 and renamed PostgreSQL D72. Range-diff confirms the PostgreSQL implementation/tests are unchanged; no tests rerun for this docs-only conflict resolution. Evidence location is recorded in the PR body. All review surfaces were checked; prior findings are dispositioned and there are no threads. No linked blocker, replacement PR, finished-parent or stale-issue route is needed: #666 remains delivered by this PR with Closes. The old run is superseded by this new head, which needs both current-head reviews before promotion. Auto-merge remains unarmed. @codex review |
|
Review of #672 (PostgreSQL outbox durable dispatch backoff) The design reuses the existing fenced-claim SQL, Blocking: local-handler The PR description says local handlers keep their existing consume classification. The action stays the same, but the budget behaviour does not.
Suggested fix: make Minor, non-blocking
|
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
The earlier CI run 43432827595 belongs to superseded head 0b3a76e and is no longer this PR's blocker. Current-head Claude feedback identified a real local-handler retry-budget regression, fixed in 4b5c256: local consume failures and local validation failures retain bounded poison handling; only native sends use indefinite durable backoff. Ordered poison accounting uses the same distinction. Restored actual local Retry tests with MaxDispatchAttempts=1, including handler/disposal rollback and unrelated-key progress. The regression failed on both frameworks before the fix; all 124 affected-class cases now pass. Docs/build/evidence details are in the PR body. Minor findings remain non-blocking and previously dispositioned: classifier exceptions are application-code failures recovered by claim expiry, while a parallel row-index array is an optional failure-path optimization. No extra policy or buffer is introduced. All review surfaces were checked: no review threads exist. Resolve routes checked: #666 remains delivered by this PR with Closes; no linked implementation blocker, replacement PR, finished-parent or stale-issue action is needed. This unit pushed a concrete fix rather than deferring. The new draft head requires both reviews before guarded promotion; auto-merge remains unarmed. @codex review |
Review of #672 (PostgreSQL outbox dispatch backoff)I read the dispatcher failure path in Correctness
Minor, non-blocking observations
Tests and docs: |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
The earlier wait on run 43432827595 has ended in test failures, rather than remaining a CI wait. Diagnosed its logs and fixed the remaining test contracts in 5794b04. Recovery and telemetry tests now explicitly advance durable retry eligibility along with claim expiry/age. The shared partial-batch contract asserts PostgreSQL single-send isolation, permitted duplicates and completion while retaining the existing MySQL/SQL Server whole-batch recovery expectations. CDC polling now reuses one database connection instead of repeatedly opening unpooled sessions; its failed-send restart test explicitly advances the persisted deadline before startup recovery on an otherwise quiet INSERT-only stream. Validation: the first focused PostgreSQL run passed 84/86 cases, including every original deterministic CI assertion failure, and exposed the additional CDC restart deadline assumption on both targets. After that correction, all 20 ChangeCaptureTests cases passed across net10/net11; the other 66 cases were unchanged and not rerun. The shared partial-batch contract also passed on MySQL and SQL Server across both targets (4 cases). git diff --check passed. No production code or user-facing behavior changed in this fix; no docs impact. Per-message cost unchanged, 0 B. Existing durable deadlines, fenced recovery and native SendAsync isolation are reused; no native capability is duplicated. Retained logs, test reports and all five changed test sources: /Users/tom/git/Relayer-evidence/pr-672/5794b049fad230c7df638669025fbca2adb08877/. All archived files were compared to originals and their SHA256SUMS reverified before this citation. All review surfaces were examined before the fix; no threads exist and prior findings are dispositioned. The new draft head needs fresh reviews. Resolve routes checked: #666 is delivered by this PR with Closes; no linked implementation blocker, replacement, finished-parent or stale-issue action advances it. This unit pushed fixes rather than repeating the earlier deferral. Auto-merge remains unarmed. @codex review |
Review of #672: PostgreSQL outbox durable dispatch backoffI read the dispatcher, ordered-lane, classifier and retry SQL changes against AGENTS.md. I found no blocking defects. What checks out
Non-blocking observations
|
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Rechecked the quoted blocker: run 43432827595 has completed with failure on superseded head 0b3a76e. The failures have already been diagnosed and corrected by 5794b04, with focused test results recorded above. It is no longer a pending-run blocker. Current head 5794b04 is MERGEABLE and draft. Claude run 43435372116 succeeded with CLEAR for this exact head. Codex summary 6851852226 explicitly reports this head running; request 6854564840 was posted at 13:38:31 UTC and has the connector eyes reaction only. It is within the 15-minute request window, so no duplicate request or competing run is warranted. Both current-head verdicts are required before guarded promotion. Auto-merge remains unarmed. Checked every review surface, including all conversation comments, REST reviews and inline comments, and GraphQL review threads: no threads or new blocking findings exist. Latest Claude observations are non-blocking: lane-wide delay follows the existing first-head lane-readiness contract (PostgreSqlOrderedLane._ready/_read); filtering delayed heads would change that ordering contract. Jitter is an optional retry-policy extension, and serial isolation is the already documented bounded failure path. No additional runtime change is justified for these suggestions. Resolve routes checked: #666 remains delivered by this open PR and its body has Closes #666; main does not yet replace it. There is no separate agent-workable blocker, superseding PR, finished-parent closure, stale acceptance criterion, or reversible implementation choice that would advance promotion. The only remaining gate is the already-running hosted Codex review. No on-hold or needs-human label applies. Next visit should re-read its mutable summary and every review surface, then verify retained evidence before Enable-AutoMerge.ps1 -Pr 672 -MarkReady if both verdicts are positive. No tests rerun for this review/lifecycle-only unit. |
5794b04 to
335f9dc
Compare
|
The earlier Codex blocker cleared: its mutable summary completed with no findings for 5794b04. All review surfaces were rechecked; there are no threads or undispositioned blocking findings. The PR had since become conflicting with main, so this unit rebased and pushed 335f9dc. Preserved main's handler-registration D72 and renamed PostgreSQL D73. No production conflicts or PostgreSQL implementation changes; all 80 selected backoff/telemetry/CDC tests passed on net10/net11. Evidence and verification details are in the PR body. Resolve routes checked: #666 remains delivered by this PR with Closes; main does not implement its durable retry changes and no replacement PR exists. No separate linked blocker, finished-parent closure, stale acceptance criterion or reversible choice advances it. This is pushed conflict resolution, not another deferral. The new draft head requires fresh current-head reviews before guarded promotion; auto-merge remains unarmed. @codex review |
Review of #672: durable backoff for PostgreSQL outbox native-send failuresI read the diff against AGENTS.md and found no blocking issues. What I checked
Non-blocking notes
|
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
The earlier Codex blocker has cleared: its mutable summary now reports completed with no findings for current head 335f9dc. Claude run 43438488018 also returned CLEAR for this head. All review surfaces were inspected, including paginated reviews, inline comments, conversation comments and GraphQL threads; there are no threads or outstanding blocking findings. Latest Claude suggestions are non-blocking: documenting classifier speed and exception recovery are optional follow-ups to the existing classifier contract; throwing classifiers already recover through claim expiry and were dispositioned above. Carrying row indexes is an optional failure-path optimization already declined. No runtime changes or new tests are justified for these suggestions. Resolve routes checked: #666 is delivered by this PR with Closes #666; no replacement exists, and main has not delivered this change. Parent #646 still has open child #666, so it is not finished. No linked implementation prerequisite, stale acceptance criterion or reversible implementation choice remains. The review wait is resolved, so proceeding with guarded promotion rather than deferral. Reverified 1,720 archived files across all ten retained SHA256SUMS manifests under /Users/tom/git/Relayer-evidence/pr-672/, including all 585 files for current head 335f9dc. Originals were compared at archival by prior units; this verifies retained files rather than claiming a new comparison against removed worktrees. Evidence locations remain recorded in the PR body. No tests rerun for this lifecycle-only action. |
| Both required current-head reviews are positive. Guarded promotion succeeded and auto-merge is armed at 335f9dc. Ready CI run 43438960269 is in progress; GitHub will merge only after the required gate succeeds. No tests were rerun for this lifecycle-only unit. |
PostgreSQL outbox dispatch now persists exponential backoff for retryable send failures without exhausting the poison budget. Permanent native-send decisions use the registered scoped
IFailureClassifier; failed batches isolate each row through native single sends so a rejected row does not retain healthy neighbours.Closes #666
Part of #646; SQL Server #667 and MySQL #668 are separate deliverables.
Retryretains pending work with a 1-second to 5-minute durable deadline and a diagnostic counter saturating at 30.DeadLetterimmediately uses the existing fenced dead-copy/ordered-barrier transition;Discardcompletes the fenced row. Classifiers receive original identity, headers, type, attempt and scoped services with tenant restoration. Local handlers retain their existing consume classification. Unmatched native failures useDefaultFailureClassifier, so applications must configure permanent native-exception rules; otherwise non-contract errors still retry indefinitely. The website includes a Service BusIsTransientexample and explains ordered-key blocking and unclassified errors.Failed native batches get one bounded per-row isolation pass under their existing live claims. Partially successful batches can duplicate sends, as allowed by at-least-once delivery. Cancellation/known expiry stop isolation. Successful native sends and batch completion SQL are unchanged. Ordered preparation failures and explicit store failure recording retain
MaxDispatchAttempts, including prior diagnostic attempts.Native and existing features: reuse native client send retries and
SendAsync, registeredIFailureClassifier/FailureClassifierBuilder, existing scoped tenant context, PostgreSQL fenced claims and terminal mutations,deliver_ateligibility, and ordered head barriers. Native-first inspection checked existing Service Bus/Kafka/SQS/RabbitMQ batch implementations and the pinned Service Bus 7.21.0 checksum-verified exception source. SQS exposes native partial response details, butITransport.SendBatchAsynchas no portable per-row receipt. D71 records why a bounded isolation pass uses the existing single-send API rather than inferring per-row outcomes or introducing a retry scheduler. No broker client configuration or retry implementation is duplicated.Validation: 214 selected real-PostgreSQL cases passed across net10.0/net11.0: 22 DispatchBackoffTests cases (outages beyond budget, replacement workers, deadline/fencing/rollback/saturation, scoped native Retry/DeadLetter/Discard through actual keyed DI registrations, mixed rejected/healthy batches and partial-success duplicates), plus 192 direct/ordered/poison/local/shutdown/maintenance/tenant cases.
npm ci,npm run buildandgit diff --checkpassed. No broker adapters changed; tests exercise dispatcher outcomes against real PostgreSQL with controlled native-send failures.Per-message cost: unchanged successful native sends, SQL, awaits and allocations, 0 B. Additional scopes, context views and the bounded isolation pass run only after send failure; no benchmark required.
Validation evidence measured on 2d065a2:
/Users/tom/git/Relayer-evidence/pr-672/2d065a2d1ecb3938f638e1eda7165c89135db06a/(logs, reports, regression source, binaries, native source evidence and SHA256SUMS). All 548 archived files were compared to their originals and the manifest was reverified before this citation. Earlier validation remains under the previously cited head-specific evidence directories.Rebased onto fresh main after MySQL #676 landed. The only conflict was the appended design record; preserved MySQL D70 and renamed PostgreSQL D71. Final head
e809dd18782773af0dccf0d8d2a64c09f8c1d7cehas identical PostgreSQL code/tests and shared ordered-dispatch contract to the measured head, so no tests were rerun after this docs-only resolution. Rebase proof and verified SHA256SUMS:/Users/tom/git/Relayer-evidence/pr-672/e809dd18782773af0dccf0d8d2a64c09f8c1d7ce/. GitHub reports the final head mergeable.Review correction in
0b3a76ef6c3828b91d7132d54da5cc31034194fa: failed-batch isolation stops after the first single-send Retry. Remaining claims receive the same fenced durable retry without further native sends or classification. DeadLetter/Discard continue isolation. Successful sends are unchanged; failure-path-only work, no benchmark required. Reuses existing SendAsync, IFailureClassifier and fenced RecordDispatchFailureAsync; no additional native feature is duplicated.Validation: a new four-row outage regression failed on both targets before the fix (5 attempts), then all 24 DispatchBackoffTests cases passed across net10.0/net11.0 (2 outage attempts and durable deadlines on every row). npm ci, npm run build and git diff --check passed. Eight retained source/report/log files were compared to originals and their SHA256SUMS reverified under
/Users/tom/git/Relayer-evidence/pr-672/0b3a76ef6c3828b91d7132d54da5cc31034194fa/.Rebased onto fresh main
65e4da3after SQL Server #674 landed. Preserved its D71 and renumbered PostgreSQL D72. Current head0b6ed14496d66561169fdf705f6655f9f0ad703dretains identical PostgreSQL source/tests and affected PostgreSQL site pages to measured0b3a76ef6c3828b91d7132d54da5cc31034194fa. No code conflicts; tests were not rerun for this docs-only conflict resolution. Range-diff, identity proof and diff check are retained with SHA256SUMS at/Users/tom/git/Relayer-evidence/pr-672/0b6ed14496d66561169fdf705f6655f9f0ad703d/.Review fix in
4b5c25609b958c5deedeff32236677754c0f3b2b: local-handlerRetryfailures retain their original MaxDispatchAttempts budget in direct and ordered dispatch; native broker sends retain durable indefinite backoff. Actual local-handler Retry tests replace forced DeadLetter cases and cover rollback, disposal and unrelated-key progress. Updated worker option summaries, D72 and site; corrected stale maintenance backoff text. Native/existing reuse: existing local consume classification, fenced failure SQL and ordered poison transitions; no native capability duplicated. Per-message cost: successful sends unchanged, 0 B; failure-path branch only.Validation: regression failed on both targets before the fix; all 124 selected LocalTransportTests/PoisonTests/OrderedDispatchTests/DispatchBackoffTests cases passed across net10/net11 after it. npm ci, npm run build and git diff --check passed. Ten source/report/log files were compared to originals and SHA256SUMS reverified under
/Users/tom/git/Relayer-evidence/pr-672/4b5c25609b958c5deedeff32236677754c0f3b2b/.CI test-contract correction in
5794b049fad230c7df638669025fbca2adb08877: recovery/telemetry and CDC restart tests explicitly advance the new durable retry deadline. Shared direct-dispatch tests distinguish PostgreSQL isolation/completion with permitted duplicates from MySQL/SQL Server whole-batch retention. CDC polling reuses a database connection to avoid unpooled session churn. Test-only correction; no docs impact or production/per-message cost change. Existing native send isolation and fenced durable retry are reused, with no duplicated native capability.Validation: 84/86 initial focused PostgreSQL cases passed; the remaining two exposed the CDC restart deadline assumption, then all 20 CDC cases passed after correction (the other 66 unchanged cases were not rerun). The shared partial-batch contract passed on MySQL and SQL Server across both targets (4 cases); git diff --check passed. All 16 archived source/report/log files were compared to originals and SHA256SUMS reverified at
/Users/tom/git/Relayer-evidence/pr-672/5794b049fad230c7df638669025fbca2adb08877/.Rebased onto main
04ee8e7in335f9dcec54f9f82350243316f45616e433f28ad: preserved main’s consumer handler-registration D72 and renumbered PostgreSQL D73. Production PostgreSQL sources are byte-identical to prior reviewed head 5794b04. All 80 focused DispatchBackoffTests, OutboxTelemetryTests and ChangeCaptureTests cases passed across net10/net11 after the upstream handler API change; git diff --check passed. No additional site edits or per-message cost changes. Rebase proof, logs, test reports, test sources and loaded binaries retained at/Users/tom/git/Relayer-evidence/pr-672/335f9dcec54f9f82350243316f45616e433f28ad; all 585 archived files were compared to originals where available and SHA256SUMS reverified.