fix(ploeg): back off managed accounts the sweep cannot resolve #178

Merged
ryangr0 merged 1 commit from ryangr0/ploeg-sweep-retry-backoff into development 2026-10-03 12:18:34 +00:00 AGit
Owner

The block and settlement sweeps retried every stuck account on every
tick and logged it without saying which account or why. On the homelab
four unknown accounts from 2026-09-28 and 2026-09-29, whose mint never
produced a gateway key, logged "managed key block retry unresolved"
about 11,500 times a day, and one blocked account logged "managed
settlement unresolved" every 30 seconds.

Each sweep now retries a failing account after a wait that starts at
the sweep interval and doubles up to an hour, and a success clears it.
The block log names the run and the error, and both logs say when the
next attempt is. Account states and holds are unchanged: an account
that needs reconciliation still needs it, it is just reported at a
readable rate.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

The block and settlement sweeps retried every stuck account on every tick and logged it without saying which account or why. On the homelab four unknown accounts from 2026-09-28 and 2026-09-29, whose mint never produced a gateway key, logged "managed key block retry unresolved" about 11,500 times a day, and one blocked account logged "managed settlement unresolved" every 30 seconds. Each sweep now retries a failing account after a wait that starts at the sweep interval and doubles up to an hour, and a success clears it. The block log names the run and the error, and both logs say when the next attempt is. Account states and holds are unchanged: an account that needs reconciliation still needs it, it is just reported at a readable rate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(ploeg): back off managed accounts the sweep cannot resolve
Some checks are pending
[Workflow] On Pull Request / checks (pull_request) Successful in 7m2s
[Workflow] On Pull Request / warnings (pull_request) Waiting to run
[Workflow] On Pull Request / release-policy (pull_request) Successful in 27s
15924f7f9f
The block and settlement sweeps retried every stuck account on every
tick and logged it without saying which account or why. On the homelab
four unknown accounts from 2026-09-28 and 2026-09-29, whose mint never
produced a gateway key, logged "managed key block retry unresolved"
about 11,500 times a day, and one blocked account logged "managed
settlement unresolved" every 30 seconds.

Each sweep now retries a failing account after a wait that starts at
the sweep interval and doubles up to an hour, and a success clears it.
The block log names the run and the error, and both logs say when the
next attempt is. Account states and holds are unchanged: an account
that needs reconciliation still needs it, it is just reported at a
readable rate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryangr0 merged commit 6403e0ec44 into development 2026-10-03 12:18:34 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webgrip/unfold!178
No description provided.