TASK22057: phase19 endpoint consistency hardening slice
This commit is contained in:
@@ -656,6 +656,33 @@ Status key: `[x] done`, `[ ] pending`
|
||||
- `tests/phase18/service-behaviour.test.cjs`
|
||||
- Re-run phase6–phase18 baseline tests and lint after rollback to confirm parity.
|
||||
|
||||
### Phase 19 endpoint consistency slice snapshot (2026-03-14)
|
||||
|
||||
Status key: `[x] done`, `[ ] pending`
|
||||
|
||||
1. `[x]` Apply small consistency-only endpoint hardening in selected handlers
|
||||
- `pages/api/endpoint/createwatchedcases_api.js`
|
||||
- `pages/api/endpoint/getappealtypes_api.js`
|
||||
- `pages/api/endpoint/getdnslist_api.js`
|
||||
2. `[x]` Standardize negative-path required input handling
|
||||
- early 400 on missing/malformed required `@odata.bind` values in `createwatchedcases_api`
|
||||
3. `[x]` Remove noisy sensitive-path logging
|
||||
- removed direct query logging in appeal-types and dns-list handlers
|
||||
4. `[x]` Add focused tests
|
||||
- `tests/phase19/service-behaviour.test.cjs` (5/5)
|
||||
5. `[x]` Execute validation bundle
|
||||
- phase6 parity + phase6–phase19 behavioural suites pass
|
||||
- lint warnings only (pre-existing)
|
||||
|
||||
### Phase 19 rollback notes
|
||||
|
||||
- Revert files in this slice:
|
||||
- `pages/api/endpoint/createwatchedcases_api.js`
|
||||
- `pages/api/endpoint/getappealtypes_api.js`
|
||||
- `pages/api/endpoint/getdnslist_api.js`
|
||||
- `tests/phase19/service-behaviour.test.cjs`
|
||||
- Re-run phase6–phase19 baseline tests and lint after rollback.
|
||||
|
||||
## Safe execution mode for migration chunks (required)
|
||||
|
||||
To reduce terminal hangs during bulk migration work, run refactor chunks in **safe stepwise mode** instead of long chained commands.
|
||||
|
||||
Reference in New Issue
Block a user