agent-orchestrator/packages/cli/__tests__/services
Prateek 5d544fe17b test: add integration tests for port conflicts, metadata lifecycle, and config flow (Phase 5)
- Add PortManager real-ports test (6 tests) — verifies port conflict handling
  with actual port binding, no mocks
- Add metadata lifecycle integration test (13 tests) — full CRUD cycle,
  concurrent writes, path traversal validation, dashboardPort serialization
- Add config→metadata service integration test (5 tests) — hash-based
  directory calculation, multi-project isolation, origin validation
- Update REFACTORING_PLAN.md with Phase 5 completion status

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 04:35:14 +05:30
..
ConfigService.test.ts feat: add service layer (Phase 1 - ConfigService, PortManager, DashboardManager) 2026-02-18 03:49:47 +05:30
DashboardManager.test.ts refactor: use service layer in dashboard and start commands (Phase 2+3) 2026-02-18 03:54:59 +05:30
MetadataService.test.ts refactor: add MetadataService and ProcessManager, migrate all commands (Phase 4) 2026-02-18 04:23:36 +05:30
PortManager.real-ports.test.ts test: add integration tests for port conflicts, metadata lifecycle, and config flow (Phase 5) 2026-02-18 04:35:14 +05:30
PortManager.test.ts refactor: use service layer in dashboard and start commands (Phase 2+3) 2026-02-18 03:54:59 +05:30
ProcessManager.test.ts refactor: add MetadataService and ProcessManager, migrate all commands (Phase 4) 2026-02-18 04:23:36 +05:30