darbs-claude
9c50d29c19
test: add unit tests for HasRetry and HasStreamParsing traits ( #12 )
...
CI / tests (pull_request) Failing after 1m8s
- tests/Unit/Concerns/HasRetryTest.php: covers withRetry success paths,
max retry limits, non-retryable 4xx errors, exponential backoff with
sleep verification, Retry-After header, and calculateDelay formula
- tests/Unit/Concerns/HasStreamParsingTest.php: covers parseSSEStream
(basic extraction, [DONE] termination, line-type skipping, invalid
JSON, chunked reads) and parseJSONStream (single/multiple objects,
nesting, escaped strings, extractor filtering, chunked reads)
Closes #12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 01:28:07 +00:00
Snider
c432a45ca9
feat(security): switch API key to Argon2id with comprehensive tests
...
P2 Items Completed (P2-062 to P2-068):
- Switch AgentApiKey from SHA-256 to Argon2id hashing
- Add 200+ tests for models, services, and AI providers
- Create agent_plans migration with phases and workspace states
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:36:53 +00:00