fix: add batch failure recovery to ContentService #55
No reviewers
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-agentic#55
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/batch-failure-recovery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
maxRetriesparameter togenerateBatch()with per-article retry loop (default: 1 extra attempt)resumeBatch()method to re-process only failed/pending articles, skipping those already successfully generatedloadBatchProgress()public method for inspecting saved stateTest plan
loadBatchProgress()returns null when no state file existsgenerateBatch()generateBatch()skips previously generated articles (no duplicate API calls)resumeBatch()returns error when no prior state existsresumeBatch()skips generated articles, retries failed/pending onesmaxRetries=2calls provider up to 3 times before marking article failedCloses #27
🤖 Generated with Claude Code