php-agentic/tests
darbs-claude 7fba0955e4
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 1m35s
CI / PHP 8.4 (pull_request) Failing after 1m31s
refactor: namespace cache keys to prevent collisions (closes #20)
Replace hardcoded cache key in ForAgentsController with a config-based
key (`mcp.cache.for_agents_key`) and configurable TTL
(`mcp.cache.for_agents_ttl`). This prevents collisions with other modules
or packages that might use the same flat cache key.

- Add `cacheKey()` method on ForAgentsController, reads from config
- Add `cache` section to config.php with default key and TTL
- Dynamic Cache-Control max-age now follows the configured TTL
- Add ForAgentsControllerTest covering key customisation,
  cache storage, invalidation, TTL, and response structure

Refs: TODO.md CQ-003

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 06:18:30 +00:00
..
Feature refactor: namespace cache keys to prevent collisions (closes #20) 2026-02-23 06:18:30 +00:00
Fixtures test: add Livewire component tests for all 12 admin components 2026-02-23 01:16:33 +00:00
Unit Merge pull request 'refactor(jobs): remove processOutput stub from ProcessContentTask' (#47) from refactor/remove-process-content-task-stub into main 2026-02-23 06:09:22 +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 Initial commit 2026-01-26 23:20:30 +00:00