feat(v2.4): 切换测试与缺陷主写

This commit is contained in:
2026-07-08 14:15:49 +08:00
parent 1bf630a7bc
commit 2358dbd0b5
18 changed files with 1458 additions and 30 deletions

View File

@@ -181,14 +181,14 @@
- Produces: `/api/v1/versions/:versionId/test-cases` and `/api/v1/versions/:versionId/bugs`.
- Consumes: TestCase round-copy workflow and Bug status workflow already defined in frontend helpers.
- [ ] Add failing backend tests for TestCase create/update/status/round-copy by `(id, versionId)`.
- [ ] Add failing backend tests for Bug create/update/status/transfer/close by `(id, versionId)`.
- [ ] Add failing tests proving TestCase/Bug writes create activity evidence and mark Xiaobao dirty.
- [ ] Add failing frontend tests proving stores write domain APIs and preserve existing workflow outputs.
- [ ] Implement TestCase and Bug modules.
- [ ] Switch test case and bug stores to domain writes with AppData fallback read only.
- [ ] Run targeted tests and full gates.
- [ ] Commit: `feat(v2.4): 切换测试与缺陷主写`.
- [x] Add failing backend tests for TestCase create/update/status/round-copy by `(id, versionId)`.
- [x] Add failing backend tests for Bug create/update/status/transfer/close by `(id, versionId)`.
- [x] Add failing tests proving TestCase/Bug writes create activity evidence and mark Xiaobao dirty.
- [x] Add failing frontend tests proving stores write domain APIs and preserve existing workflow outputs.
- [x] Implement TestCase and Bug modules.
- [x] Switch test case and bug stores to domain writes with AppData fallback read only.
- [x] Run targeted tests and full gates.
- [x] Commit: `feat(v2.4): 切换测试与缺陷主写`.
### Task 6: V2.4.5 Dictionaries, Members, Worklogs, Overtime, Activity Evidence Consolidation