Skip to content

Cherry-pick 0cfd448ba: fix(delivery-queue): change break to continue to prevent head-of-line blocking#1224

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/0cfd448ba-delivery-queue-hol-blocking
Mar 13, 2026
Merged

Cherry-pick 0cfd448ba: fix(delivery-queue): change break to continue to prevent head-of-line blocking#1224
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/0cfd448ba-delivery-queue-hol-blocking

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

Summary

Fixes head-of-line blocking in the delivery queue. A single failed delivery was blocking all subsequent deliveries because break was used instead of continue in the retry loop.

Part of #660.

… blocking

When an entry's backoff exceeds the recovery budget, the code was using
break which blocked all subsequent entries from being processed. This
caused permanent queue blockage for any installation with a delivery entry
at retryCount >= 2.

Fix: Changed break to continue so entries whose backoff exceeds the
remaining budget are skipped individually rather than blocking the
entire loop.

Closes openclaw#27638

(cherry picked from commit 0cfd448)
@alexey-pelykh alexey-pelykh merged commit dedecaa into main Mar 13, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/0cfd448ba-delivery-queue-hol-blocking branch March 13, 2026 18:38
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.

2 participants