test(ms22-p2): add unit tests for agent services #687

Merged
jason.woltje merged 1 commits from test/ms22-p2-agent-tests into main 2026-03-05 03:40:37 +00:00
Owner

Summary

  • Add UserAgentService unit tests (14 tests covering CRUD, status endpoints, template creation)
  • Add ChatProxyService agent routing tests (7 tests covering agent config, model fallbacks, error handling)
  • Tests cover all core functionality for MS22-P2 agent fleet

Test plan

  • All 3540 existing tests pass
  • New tests cover UserAgentService: findAll, findOne, findByName, create, createFromTemplate, update, remove, getStatus, getAllStatuses
  • New tests cover ChatProxyService agent routing: agent config inclusion, NotFoundException, inactive agent, model fallback

Task: MS22-P2-009

🤖 Generated with Claude Code

## Summary - Add UserAgentService unit tests (14 tests covering CRUD, status endpoints, template creation) - Add ChatProxyService agent routing tests (7 tests covering agent config, model fallbacks, error handling) - Tests cover all core functionality for MS22-P2 agent fleet ## Test plan - [x] All 3540 existing tests pass - [x] New tests cover UserAgentService: findAll, findOne, findByName, create, createFromTemplate, update, remove, getStatus, getAllStatuses - [x] New tests cover ChatProxyService agent routing: agent config inclusion, NotFoundException, inactive agent, model fallback Task: MS22-P2-009 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jason.woltje added 1 commit 2026-03-05 03:38:41 +00:00
test(ms22-p2): add unit tests for agent services
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
156ea1438b
- Add UserAgentService tests (14 tests covering CRUD, status, templates)
- Add ChatProxyService agent routing tests (7 tests covering agent config, fallbacks, errors)

Task: MS22-P2-009

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit e85fb11f03 into main 2026-03-05 03:40:37 +00:00
Sign in to join this conversation.