php-agentic/tests
darbs-claude 78bdebcaaa
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 1m24s
CI / PHP 8.4 (pull_request) Failing after 1m27s
fix: add batch failure recovery to ContentService (#27)
- Track progress in a per-batch JSON state file after each article so
  a mid-run crash leaves a recoverable checkpoint
- Add `maxRetries` parameter to generateBatch() with per-article retry
  loop (default: 1 extra attempt)
- Add `resumeBatch()` to re-process only failed/pending articles,
  skipping those already successfully generated in a prior run
- Add `loadBatchProgress()` public method for inspecting state
- State stores per-article status, attempt counts, error messages,
  and timestamps for full observability

Tests: 6 new scenarios covering state persistence, resume capability,
retry logic, and the no-state error case

Closes #27

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 11:17:56 +00:00
..
Feature fix: add batch failure recovery to ContentService (#27) 2026-02-23 11:17:56 +00:00
Fixtures test: add Livewire component tests for all 12 admin components 2026-02-23 01:16:33 +00:00
Unit fix: use closure-based __get for mock property access 2026-02-23 07:02:04 +00:00
UseCase chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
views test: add Livewire component tests for all 12 admin components 2026-02-23 01:16:33 +00:00
Pest.php refactor(tests): convert AgentApiKey tests to Pest functional syntax 2026-01-29 18:42:56 +00:00
TestCase.php test: fix TestCase to use Orchestra Testbench for CI 2026-02-23 06:18:30 +00:00