[AZ-309] Refactor 02-coupling-refactoring Phase 0-2 artifacts

- Baseline metrics, list of changes, and analysis (research findings,
  refactoring roadmap) for the coupling refactor run
- Six task specs AZ-310..AZ-315 covering endpoint routing through
  ITileService, Services csproj split, consumer rewire, DI extension
  methods, and docs sync
- Existing test coverage assessment for Phase 3 safety net gate
- Dependencies table updated with the refactor block

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-10 05:53:29 +03:00
parent cc0a876168
commit 220277b9c7
13 changed files with 860 additions and 10 deletions
+27 -7
View File
@@ -2,25 +2,45 @@
## Dependency Graph
### Step 6 — Implement Tests (AZ-285..AZ-290)
| Task | Depends On | Points | Status |
|------|-----------|--------|--------|
| AZ-285 Test Infrastructure | — | 3 | To Do |
| AZ-286 TileService Tests | AZ-285 | 3 | To Do |
| AZ-287 RegionService Tests | AZ-285 | 3 | To Do |
| AZ-288 RouteService Tests | AZ-285 | 3 | To Do |
| AZ-289 Integration Route Maps | AZ-285 | 2 | To Do |
| AZ-290 Non-Functional Tests | AZ-285 | 3 | To Do |
| AZ-285 Test Infrastructure | — | 3 | Done |
| AZ-286 TileService Tests | AZ-285 | 3 | Done |
| AZ-287 RegionService Tests | AZ-285 | 3 | Done |
| AZ-288 RouteService Tests | AZ-285 | 3 | Done |
| AZ-289 Integration Route Maps | AZ-285 | 2 | Done |
| AZ-290 Non-Functional Tests | AZ-285 | 3 | Done |
### Step 8 — Refactor 02-coupling-refactoring (AZ-309 epic)
| Task | Depends On | Points | Status |
|------|-----------|--------|--------|
| AZ-310 ServeTile via ITileService | — | 3 | To Do |
| AZ-311 GetTileByLatLon via ITileService | AZ-310 | 2 | To Do |
| AZ-312 Split Services into 3 csprojs | AZ-311 | 5 | To Do |
| AZ-313 Update consumers (Api/Tests) | AZ-312 | 3 | To Do |
| AZ-314 DI registration split | AZ-313 | 2 | To Do |
| AZ-315 Documentation sync | AZ-314 | 2 | To Do |
## Execution Order
### Step 6
1. AZ-285 (test infrastructure — all others depend on this)
2. AZ-286, AZ-287, AZ-288 (unit tests — can run in parallel)
3. AZ-289 (integration tests — depends on infra only)
4. AZ-290 (non-functional tests — depends on infra only)
### Step 8 (refactor)
1. AZ-310 → AZ-311 (Phase A: route tile endpoints through ITileService)
2. AZ-312 → AZ-313 → AZ-314 (Phase B: physical split + consumer + DI rewire)
3. AZ-315 (Phase C: docs sync, must be last)
## Total Effort
6 tasks, 17 story points total
Step 6: 6 tasks, 17 story points
Step 8 (refactor): 6 tasks, 17 story points
## Coverage Verification