Commit Graph

2 Commits

Author SHA1 Message Date
Prateek 233bb7209d chore: remove dead code — lib/metadata.ts and findAvailablePort (Phase 6)
- Remove lib/metadata.ts (superseded by MetadataService + core metadata)
- Remove lib/metadata.test.ts (18 tests for removed code)
- Remove findAvailablePort from port.ts (superseded by PortManager)
- Streamline port.ts to single isPortAvailable function
- Mark Phase 6 complete in REFACTORING_PLAN.md

All 6 phases of the service-layer refactoring are now complete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 04:39:05 +05:30
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