Skip to content

fix(webhooks): retry only the endpoints that failed, under a stable delivery id - #14025

Merged
levivannoort merged 10 commits into
mainfrom
fix/webhooks-retry-undelivered
Oct 8, 2026
Merged

levivannoort merged 10 commits into
mainfrom
fix/webhooks-retry-undelivered

Conversation

@levivannoort

@levivannoort levivannoort commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Summary

A webhooks message fans one event out to every matching webhook and throws if any of them fails. On a broker that redelivers (NATS), the redelivery re-ran the whole loop: every endpoint that had already accepted the event got it again, up to maxDeliver times, and its "sent" usage was counted again. Now a redelivery retries only the endpoints that failed. Every request also carries X-Appwrite-Webhook-Delivery-Id, which stays the same across attempts, so receivers can drop repeats.

Part of appwrite-labs/cloud#5815, tracked in appwrite-labs/cloud#6215.

Why this shape

  • The id is in the payload, not the pid. Event\Webhook adds an eventId to the queue message. It is not part of the body sent to endpoints, which is still payload['payload']. The Redis broker requeues a retry under a fresh pid (Broker/Redis.php retryPayload()), while the payload survives every broker, requeue and migration unchanged.
  • The delivery id is md5(eventId:webhookId): the same on every attempt of one event to one webhook, and different for anything else. This follows GitHub's X-GitHub-Delivery.
  • Only failed endpoints are retried. On a partial failure, the worker records the endpoints that accepted in the cache for 7 days, and a redelivery (getAttempts() > 0) skips them. The cache is written only on a partial failure and read only on a redelivery, so the normal path never touches it.
  • Alternatives rejected:
    • "Throw only if no endpoint accepted" drops the retries for a failing endpoint whenever another one succeeded.
    • Republishing a narrowed message loses the broker's backoff and its delivery cap.
  • Degrades to re-sending, never to skipping. An unreadable cache, a failed record write, a worker killed mid-loop, or a message redriven from the dead letters (which starts again at attempt 0) all re-send, under the same delivery id.
  • Failure accounting: each real HTTP attempt counts once towards attempts and the pause threshold. Endpoints that already accepted are no longer re-sent to or re-counted.
  • The enabled check moved into the loop, so a webhook paused between attempts is skipped rather than recorded as delivered.
  • Rollout: messages published before this change carry no eventId and fall back to the pid, which is stable on NATS.

Evidence

  • Appwrite Cloud regions on NATS or moving to it: 0 endpoint failures in 443k deliveries over 27 days.
  • The Redis region: 87 failures in 3.94M over 7 days. Most are transient: 15s timeouts and 500s from function endpoints. Retries fix exactly these, and they are what made healthy endpoints receive the event again on NATS.

Tests

  • E2E: WebhooksBase::testRedeliveryRetriesOnlyTheWebhookThatFailed.
    • One webhook points at the request catcher and one at a closed port. The test fires the event, repoints the failing webhook at the catcher, and forces the retry with queue-retry.
    • It asserts the healthy webhook got exactly 1 delivery, the recovered one got exactly 1 on the retry, its attempts reset to 0, and the two delivery ids are non-empty and different.
    • Against main the healthy webhook is sent the event again ("size 2, expected 1"). testTablesDBRows also asserts 4 distinct delivery ids across 2 events × 2 webhooks. The whole Webhooks suite passes locally (135 tests).
  • Unit: the bookkeeping lives in Appwrite\Event\Redelivery, shared with the functions worker (fix(functions): never redeliver a message once the function has run #14023), with 10 tests in tests/unit/Event/RedeliveryTest.php. The file is byte-identical in both PRs.
  • The worker unit tests this PR first added are removed, per AGENTS.md.
  • Pint, Rector (tests config) and PHPStan are clean on the changed files.

Not covered

  • The public docs listing webhook headers live in appwrite/website and need X-Appwrite-Webhook-Delivery-Id added.
  • On NATS a dead endpoint reaches the pause threshold (_APP_WEBHOOK_MAX_FAILED_ATTEMPTS) in fewer events than on Redis, because each event is retried. That was already true before this PR and is a separate decision.

…elivery id

A webhooks message fans one event out to every matching webhook and throws
if any of them fails. On a broker that redelivers (NATS), the redelivery
ran the whole loop again, so every endpoint that had already accepted the
event received it a second time, up to maxDeliver times, and its "sent"
usage was counted again.

The publisher now names each event (eventId in the payload, which every
broker carries through a retry unchanged; the Redis broker requeues under
a fresh pid). When a delivery partially fails, the worker records the
webhooks that accepted it in the cache for 7 days, and a redelivery skips
them and retries only the rest. The record is written only on a partial
failure and read only on a redelivery, so the common path is unchanged.
An unreadable cache falls back to re-sending.

Each request carries X-Appwrite-Webhook-Delivery-Id, derived from the
event and the webhook: the same on every attempt of one event to one
webhook, different for anything else, so a receiver can drop a repeat
that still gets through (a worker killed mid-loop). Messages published
before this change fall back to the pid, which is stable on NATS.

The enabled check moves into the loop, so a webhook paused between
attempts is skipped rather than counted as delivered.
@ghost

ghost commented Sep 30, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The previously reported retry-limit mismatch is fixed, and no new findings were identified in this incremental review.

Adds stable webhook delivery IDs and cached success tracking so broker redeliveries retry only failed endpoints, alongside library and E2E coverage. Updates queue-retry limit handling and makes an omitted NATS limit use the initial pending-message count rather than a fixed 500-job cap. CI also isolates queue-retry tests and adds security-rule reporting and native-crash checks.

Latest changes: The newest commits replace NATS's default 500-job retry cap with the retry consumer's initial pending count and add an E2E regression covering 501 dead-lettered messages.

Verdict New comments Fixed Still open
✅ Approved 0 1 0
📂 Walkthrough · 9
File Change
.github/workflows/ci.yml Isolates queue-retry tests and adds security-rule reporting and native-crash checks.
packages/queue/src/Broker/Nats.php Uses the initial retry-consumer pending count when no retry limit is supplied.
packages/queue/tests/E2E/NatsBrokerTest.php Adds a 501-message regression for retrying without a limit.
src/Appwrite/Event/Redelivery.php Tracks successful fan-out targets with stable identities and cache-error fallback.
src/Appwrite/Event/Webhook.php Adds a unique eventId to published webhook messages.
src/Appwrite/Platform/Tasks/QueueRetry.php Preserves omitted limits as null and validates explicit positive limits.
src/Appwrite/Platform/Workers/Webhooks.php Skips successful endpoints on redelivery, sends delivery IDs, and uses the restricted HTTP client.
tests/e2e/Services/Webhooks/WebhooksBase.php Covers distinct delivery IDs and failed-endpoint recovery through queue-retry.
tests/unit/Event/RedeliveryTest.php Tests identity isolation, retry tracking, legacy messages, and cache failures.
✅ Fixed since the last review · 1
  • Null does not remove the NATS retry cap · src/Appwrite/Platform/Tasks/QueueRetry.php:42

Reviewed the commits since 890e502 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost 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.

🔵 Tier A · Looks good to merge. Summary

@greptile-apps

greptile-apps Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Critical risk] Webhook retry logic now tracks delivery state across retries.

The PR is not ready to merge: distinct legacy messages can still lose deliveries, and the new tests need to meet the repository’s observable-behavior requirement.

Fix All in Claude CodeFindings

  1. P1 Legacy deliveries can be lost ▶
  2. P2 Retries affect unrelated tests ▶
  3. P2 Tests mirror cache internals ▶
Fix with agent prompt
### Issue 1
src/Appwrite/Platform/Workers/Webhooks.php:undefined-89
If two legacy queue messages have identical payloads, this fallback gives them the same delivery ID. For example, repeated transaction updates can emit the same resource and payload. When both messages partially fail, a success cached for the first message makes a retry of the second skip a webhook that has not accepted the second event. That delivery is silently lost.

### Issue 2
tests/e2e/Services/Webhooks/WebhooksBase.php:2464
This test runs `queue-retry` against the entire shared webhook queue, not just the event it created. During a parallel E2E run, each polling attempt can re-drive up to 1,000 unrelated failed deliveries. That can change other tests’ state and make their results unreliable.

### Issue 3
tests/unit/Event/RedeliveryTest.php:116
This test builds the exact cache key, including its MD5 formula, to arrange a refused write. The same file also asserts the number of cache reads. The repository requires tests to assert observable behavior rather than mirror implementation details. These assertions would break after a harmless cache implementation change, so this requirement needs to be met before merging.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

The PR gives webhook deliveries a stable per-event, per-endpoint ID and records successful endpoints so retries target only failures.

  • Extracts delivery tracking into Redelivery and adds unit coverage.
  • Adds an E2E partial-failure retry test, whose queue-wide retry command can interfere with other tests.

Reviews (3) · Last reviewed commit: "test(webhooks): cover partial-failure re..."

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → fix/webhooks-retry-undelivered (after).

Metric Before After Change
🚀 Requests/sec 205.12 208.57 ⚪ +1.7%
⏱️ Latency P50 84.07 ms 83.08 ms ⚪ -1.2%
⏱️ Latency P95 197.88 ms 193.81 ms ⚪ -2.1%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 83.08 193.81 12,996 208.57 -4.07
Account 155.56 307.53 684 11.35 +16.97
TablesDB 81.03 156.84 7,068 116.01 +5.57
Storage 74.3 159.71 3,420 57.86 -23.35
Functions 113.79 224.39 1,824 31.4 -17.1

Top API waits (after)

API request Max wait (ms)
account.name.update 432.13
tablesdb.rows.update 387.61
account.prefs.update 371.2
functions.variables.update 339.44
functions.variables.create 329.22

@ghost ghost 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.

🔵 Tier A · Looks good to merge. Summary

Move the redelivery bookkeeping into Appwrite\Event\Redelivery, unit-test
that library, and replace the worker unit tests with an E2E test that forces
the retry through queue-retry.

@ghost ghost 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.

🔵 Tier A · Looks good to merge. Summary

Comment thread tests/unit/Event/RedeliveryTest.php Resolved
Comment thread tests/unit/Event/RedeliveryTest.php Resolved
…uous attempts check

queue-retry re-drives every failed job in the queue, so the test moves to a
queueRetry group that CI runs in the grouped job, where no other test's jobs are
in flight, and the service job excludes it. The attempts reset after the retry
was set by the webhook update, not the worker; the webhook URL only accepts
allowed hosts, so the endpoint cannot recover without that update. Assert the
real failure count before the update instead.
@levivannoort

Copy link
Copy Markdown
Member Author

Findings from the latest review summaries:

  • Distinct legacy messages with identical payloads (valid, fixed in 9274a9b): a message without an eventId is no longer named by its payload. It isn't tracked: no record and no skip, so a redelivery re-sends to every webhook, as before this PR. Its delivery id is built from the pid, so two distinct events never share one. Only messages queued before this deploy lack an eventId.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@ghost ghost 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.

🟢 Tier S · Looks good to merge. Summary

@levivannoort

Copy link
Copy Markdown
Member Author

@tenki-reviewer

@luxor-code-review

luxor-code-review Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review complete. 🟡 1 medium

📍 Findings outside the diff (1) — 🟡 1 medium — defects on lines GitHub can't attach comments to

🟡 Medium — queue-retry reads missing --limit as 0: silent no-op · src/Appwrite/Platform/Tasks/QueueRetry.php

QueueRetry declares --limit optional with default 0 and passes (int)$limit straight to retry() (src/Appwrite/Platform/Tasks/QueueRetry.php:25, 42-44). Every broker treats 0 as "retry zero jobs" and only null as the no-cap meaning: Broker\Redis::retry() loops while ($limit === null || $processed < $limit), and Broker\Nats::retry() sets $remaining = $limit ?? 500. So queue-retry --name=v1-webhooks — the invocation an operator naturally runs — prints "Retrying failed jobs...", exits 0, and re-drives nothing. The e2e suite works around this by always passing --limit=1000 and documents the trap in a comment (tests/e2e/Services/Webhooks/WebhooksBase.php:2468). new Wildcard() also accepts any string, so --limit=abc becomes 0 the same way.

🧹 Nitpicks (2) — 🟢 2 low
  • 🟢 Orphan docblock left above webhookDeliveries helper (WebhooksBase.php:2445) — The helper insertion stranded the pre-existing / @param array<string>|null $queries */ block directly above the new webhookDeliveries() docblock, producing two consecutive docblocks (tests/e2e/Services/Webhooks/WebhooksBase.php:2445-2452).
  • 🟢 Redelivery record delayed until after fan-out loop (Webhooks.php:98) — Redelivery::wasHandled() (src/Appwrite/Event/Redelivery.php:77) and record() (src/Appwrite/Event/Redelivery.php:92) are separate cache calls with no atomicity, and the worker calls record($delivered) only once after the entire webhook loop, and only when the message failed (src/Appwrite/Platform/Workers/Webhooks.php:119).

The change makes webhook fan-out idempotent across broker retries: Webhook::preparePayload() injects an eventId, the Webhooks worker derives a stable X-Appwrite-Webhook-Id header from it, and a new Redelivery library records delivered targets in the cache so a redelivered message skips them while re-sending to targets that failed earlier in the same fan-out. Untracked messages (without an eventId) degrade to the previous behavior.

Files Change
src/Appwrite/Event/Redelivery.php New library: cache-backed per-message delivery records with a 7-day TTL, wasHandled/record semantics, and handledWhenUnknown tuning.
src/Appwrite/Event/Webhook.php Injects an eventId into the webhook trigger payload so delivery ids stay stable across broker retries.
src/Appwrite/Platform/Workers/Webhooks.php Rewrite of the fan-out loop: delivery-id header added, delivered targets skipped via Redelivery, and the enabled check moved into the loop.
tests/e2e/Services/Webhooks/WebhooksBase.php New queueRetry-grouped e2e test exercising whole-queue retry plus the webhookDeliveries helper.
tests/unit/Event/RedeliveryTest.php Unit tests for the Redelivery library using an unreliable-cache fake.
.github/workflows/ci.yml Adds a dedicated queueRetry e2e matrix entry and excludes the group from the standard e2e run.

Reviewed commit: 85257df

Resolves the conflict in the webhooks worker with main's SSRF fix (#3eea7049f1):
the worker now takes the injected `clientForWebhooks`, whose destination policy
replaces the PublicHostname check that used to run in execute(), so that check
is gone here too. On top of it this branch keeps its own changes: `cache` is
injected after `clientForWebhooks`, disabled and unsubscribed webhooks are
skipped before the redelivery record is consulted, a webhook the record marks
as delivered is skipped, and execute() sends the stable
X-Appwrite-Webhook-Delivery-Id through the policy-checked client.
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

32 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (17)
  • php.appwrite.permissive-write-permission (8)
  • php.appwrite.secret-compare-timing (5)
  • php.appwrite.weak-secret-env-default (2)

Posted by Checks / Rules. Re-runs update this comment in place. Rule details and baseline: .semgrep/README.md.

The task cast a missing --limit to 0, which every broker reads as
'retry nothing', so the plain 'queue-retry --name=<queue>' exited 0 and
moved nothing. An omitted limit is now null (no cap) and anything but a
positive whole number is refused. The webhooks retry E2E now runs the
task without --limit, the way an operator does, and the orphaned
listWebhooks docblock is back above its method.
@levivannoort

Copy link
Copy Markdown
Member Author

@tenki-reviewer thanks:

🟡 queue-retry read a missing --limit as 0: valid, fixed in 890e502.

  • Fix: an omitted --limit is now null, which every broker reads as "no cap" (Broker\\Redis unbounded; Broker\\Nats its 500 default). Anything that isn't a positive whole number, including --limit=abc and --limit=0, is refused with exit 1 instead of silently becoming 0.
  • Coverage: the webhooks E2E now runs queue-retry --name=v1-webhooks with no --limit, the way an operator does, so the old behaviour (nothing retried, no redelivery) fails it. CE keeps CLI tasks out of the unit suite, so that E2E (queueRetry group, its own CI job) is the coverage.

🟢 Orphan docblock: fixed in 890e502. The @param array<string>|null $queries block is back above listWebhooks().

🟢 The redelivery record is written only after the loop and only on failure: deliberate, not changed.

  • Why: record() runs only when the message is about to be retried, so a successful fan-out (nearly all of them) costs no cache write. Recording after each successful endpoint would add a write per delivery to every webhook event.
  • The case it leaves open: a worker killed mid-loop. The redelivery then re-sends to the endpoints that had already accepted it, which is today's behaviour. Each request now carries the same X-Appwrite-Webhook-Delivery-Id, so a receiver can drop the repeat.
  • Atomicity: wasHandled and record don't need to be atomic. Only one worker holds a given message at a time, on both brokers.

@luxor-code-review

luxor-code-review Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review complete. 🟡 1 medium

💬 Inline comments (1)

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Untracked messages get unstable delivery ids (Redelivery.php:62) — For queue messages published before Webhook::preparePayload() added eventId, Redelivery::id() falls back to md5('pid:' .

This PR introduces at-least-once redelivery support for webhooks: the webhooks worker now skips targets already handled in a prior attempt, records delivered targets in a TTL-ed cache, and sends a delivery id header so receivers can dedup. Redelivery.php is a new cache-backed tracker keyed by eventId/target, and the Webhook publisher stamps each payload with a fresh eventId. QueueRetry gains explicit --limit validation (omitted = unlimited, non-numeric or zero rejected), and CI isolates the new redelivery e2e test behind a queueRetry group so the whole queue can be retried without interference.

Files Change
src/Appwrite/Event/Redelivery.php, tests/unit/Event/RedeliveryTest.php New cache-backed redelivery tracker (7-day TTL, per-target handled records) plus unit tests.
src/Appwrite/Event/Webhook.php Adds eventId to webhook payloads via preparePayload() for delivery-id derivation.
src/Appwrite/Platform/Workers/Webhooks.php Skips already-handled targets on redelivery, moves the enabled gate earlier, adds the X-Appwrite-Webhook-Delivery-Id header, and throws only when real errors remain.
src/Appwrite/Platform/Tasks/QueueRetry.php Validates the --limit CLI param: omitted means unlimited, 0/non-numeric values are rejected.
tests/e2e/Services/Webhooks/WebhooksBase.php, .github/workflows/ci.yml Adds redelivery e2e coverage and a dedicated queueRetry CI matrix entry with the group excluded from normal runs.

Reviewed commit: 890e502

@ghost ghost 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.

🔵 Tier A · See the inline comments. Summary

@luxor-code-review luxor-code-review 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.

Adds cache-backed webhook redelivery deduplication with eventId-based delivery ids, QueueRetry limit validation, and grouped e2e coverage.

Key findings

…imit

Broker\Nats::retry() read a null limit as 500, while Broker\Redis reads
it as no cap, so 'queue-retry' without --limit left a large NATS dead
stream partly re-driven. Null now means every message on the dead stream
when the sweep starts: the bound is read from the retry consumer up
front, so a message this sweep re-drives that dies again is not picked up
a second time by the same run.
@levivannoort

Copy link
Copy Markdown
Member Author

@tenki-reviewer on the nitpick untracked messages get unstable delivery ids: that's expected and harmless. A message without eventId was published before this change. Redelivery never records or skips it (redelivery.record.skipped), so it behaves exactly as before, and its delivery id falls back to pid:<message pid>. On Redis, retry() gives the job a new pid, so that id changes between attempts. A receiver can't dedup those few in-flight-at-deploy messages, but nothing is lost or newly duplicated. Every message published after the deploy carries an eventId and a stable id.

@luxor-code-review

luxor-code-review Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review complete. 🟡 1 medium

📍 Findings outside the diff (1) — 🟡 1 medium — defects on lines GitHub can't attach comments to

🟡 Medium — Null-limit retry bound misses ack-pending dead messages · Nats.php:1057–1067 · unchanged line

// packages/queue/src/Broker/Nats.php
1057	            $remaining = $limit ?? $consumer->info(true)->numPending;
1058	            while ($remaining > 0) {
1059	                $jsMessage = $this->fetch($consumer, 1, 1.0, false)[0] ?? null;
1060	                if (!$jsMessage instanceof JetStreamMessage) {
1061	                    break;
1062	                }
1063	                // Re-drive onto the work queue, then remove it from the dead stream.
1064	                $this->js()->publish($this->workSubject($queue), $jsMessage->getData());
1065	                $jsMessage->ackSync();
1066	                $remaining--;
1067	            }

The null-limit sweep bound $remaining = $limit ?? $consumer->info(true)->numPending in packages/queue/src/Broker/Nats.php:1057 counts only messages the durable CONSUMER_RETRY consumer has never delivered. JetStream's num_pending excludes messages left ack-pending by a prior sweep that died between fetch and ackSync (lines 1059-1065), and the code never consults numAckPending even though the consumer info carries it (packages/nats/src/JetStream/ConsumerInfo.php:17).

If stranded ack-pending messages are the only dead letters, the next sweep computes a zero bound and never fetches, so retry($queue) silently no-ops while they strand on the dead stream indefinitely. When new and stranded messages coexist, redeliveries returned by fetch() first also consume the snapshot budget, under-serving newly dead-lettered messages — defeating the retry-all contract the docblock and the new E2E test assert.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Missing name exits 0, bad limit exits 1 (QueueRetry.php:37) — The missing-$name error path in src/Appwrite/Platform/Tasks/QueueRetry.php:37-40 calls Console::error and then return, so a scripted run that forgets the queue name completes with exit code 0 and looks successful to cron/CI.

The change closes the gap where webhook messages parked on a dead stream or failed list were never re-driven. It introduces a retry sweep on the NATS broker, a Redelivery cache tracker that suppresses duplicate fan-out to already-delivered targets, and a delivery id header for observability.

Files Change
packages/queue/src/Broker/Nats.php Adds retry(?int $limit) that re-drives dead-lettered messages, defaulting the sweep bound to the consumer's numPending count.
src/Appwrite/Event/Redelivery.php New cache-backed tracker recording which eventId/target pairs were delivered, consulted by the worker to skip duplicates.
src/Appwrite/Event/Webhook.php Merges a unique eventId into the webhook payload so redeliveries can be correlated across attempts.
src/Appwrite/Platform/Workers/Webhooks.php Tracks delivered targets per message, records them before rethrowing, skips previously handled targets, and adds the X-Appwrite-Webhook-Delivery-Id header.
src/Appwrite/Platform/Tasks/QueueRetry.php New queue-retry CLI task with validated positive --limit and exit-code handling.
packages/queue/tests/E2E/NatsBrokerTest.php, tests/e2e/Services/Webhooks/WebhooksBase.php, tests/unit/Event/RedeliveryTest.php, .github/workflows/ci.yml Adds e2e/unit coverage for the retry sweep, redelivery dedup, and a dedicated queueRetry CI group with its own job.

Reviewed commit: dd94aa4

@ghost ghost 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.

🟢 Tier S · Looks good to merge. Summary

@levivannoort
levivannoort merged commit d335fba into main Oct 8, 2026
108 of 109 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