docs(02-02): complete Server struct refactor and test isolation plan
- Add 02-02-SUMMARY.md: Server struct methods, NewTestServer pattern, per-test in-memory databases - Update STATE.md: advance plan to 2/2, record metrics and decisions - Update ROADMAP.md: Phase 2 Backend Refactor complete (2/2 plans) - Update REQUIREMENTS.md: mark REFAC-02 complete (REFAC-01 and REFAC-03 already marked)
This commit is contained in:
@@ -17,7 +17,7 @@ Requirements for this milestone. Each maps to roadmap phases.
|
||||
### Backend Refactor
|
||||
|
||||
- [x] **REFAC-01**: Database operations are behind a Store interface with separate SQLite and PostgreSQL implementations
|
||||
- [ ] **REFAC-02**: Package-level global state (db, mu, webhookSecret) is replaced with a Server struct that holds dependencies
|
||||
- [x] **REFAC-02**: Package-level global state (db, mu, webhookSecret) is replaced with a Server struct that holds dependencies
|
||||
- [x] **REFAC-03**: Schema migrations use golang-migrate with separate migration directories per dialect (sqlite/, postgres/)
|
||||
|
||||
### Database
|
||||
@@ -96,7 +96,7 @@ Which phases cover which requirements. Updated during roadmap creation.
|
||||
| DATA-03 | Phase 1 | Complete |
|
||||
| DATA-04 | Phase 1 | Complete |
|
||||
| REFAC-01 | Phase 2 | Complete |
|
||||
| REFAC-02 | Phase 2 | Pending |
|
||||
| REFAC-02 | Phase 2 | Complete |
|
||||
| REFAC-03 | Phase 2 | Complete |
|
||||
| DB-01 | Phase 3 | Pending |
|
||||
| DB-02 | Phase 3 | Pending |
|
||||
|
||||
Reference in New Issue
Block a user