Read through services in the scoped routes

The workspace-scoped mobile and shared-variable routes queried
models in the controller, which the boundary inventory counts
as new crossings. They now go through WorkspaceService and
ManagedDatabaseService; the baseline drops the two crossings
the mobile routes no longer make.
This commit is contained in:
Juan Denis committed 2026-11-22 02:41:56 -05:00
1 parent 7768318e31
commit ebb19c8444
5 files changed
+12 -15

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ debt. Regenerate with `python scripts/generate-migration-inventory.py`.
| API crashes swallowed without recording | app.error_reporting | 0 | 0 | INVARIANT at 0 |
| Hand-shaped {'error': ...} bodies in app/api | typed errors + the global handler | 849 | 850 | migrate when touched; new endpoints raise |
| Raw subprocess calls outside the runners | app/utils/system.py runners | 23 | 23 | migrate when touched |
| Controller-boundary violations (routes doing service work) | service layer extraction | 453 | 453 | migrate when touched (first-wave ratchet) |
| raw api.* calls in pages/ | E1: useServerQuery/useServerMutation | 363 | 371 | migrate when touched |
| Controller-boundary violations (routes doing service work) | service layer extraction | 451 | 451 | migrate when touched (first-wave ratchet) |
| raw api.* calls in pages/ | E1: useServerQuery/useServerMutation | 364 | 371 | migrate when touched |
| per-page toast.error extractions in pages/ | E1: query-layer error presentation | 185 | 206 | migrate when touched |
| hand-rolled form-group blocks | F2: FormField/useForm | 206 | 206 | migrate when touched |
| unencoded ?k=${v} query interpolations in services/api | C4: buildQuery/encoding template | 0 | 0 | INVARIANT at 0 |