Skip to content

Fix bounded idempotent batch retries - #3435

Merged
chubes4 merged 2 commits into
mainfrom
fix/3434-bounded-idempotent-batch-retries
Aug 30, 2026
Merged

Fix bounded idempotent batch retries#3435
chubes4 merged 2 commits into
mainfrom
fix/3434-bounded-idempotent-batch-retries

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • adopt existing pending v2 chunk actions by exact hook, arguments, and group identity
  • persist a bounded per-item attempt count and terminal failed state
  • fail pipeline and task batch parents deterministically when an item exhausts its retry budget
  • converge the attempts column on existing installs

Closes #3434

Verification

  • php tests/batch-scheduler-retry-budget-smoke.php (20 passed)
  • php tests/fanout-adoption-recovery-smoke.php (10 passed)
  • php tests/batch-completion-strategy-smoke.php (all pass)
  • php tests/task-scheduler-batch-parent-link-smoke.php (all pass)
  • PHP syntax checks for all changed PHP files
  • git diff --check

Homeboy WordPress lint was invoked but did not return within the local two-minute client window.

AI assistance

OpenAI gpt-5.6-sol via OpenCode/Homeboy implemented and verified the bounded idempotent retry repair.

@chubes4
chubes4 marked this pull request as ready for review August 30, 2026 15:03
@chubes4
chubes4 merged commit bda217d into main Aug 30, 2026
17 of 18 checks passed
@chubes4
chubes4 deleted the fix/3434-bounded-idempotent-batch-retries branch August 30, 2026 15:27
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.

Batch chunk retries amplify duplicate Action Scheduler rows indefinitely

1 participant