You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decompose Phase 1: Split backend admin.ts by domain #903
Part of epic #902. Behavior-preserving; tests green before and after.
backend/src/routes/admin.ts is 7,054 lines / 55 route handlers with ~145 inline db.prepare() calls. Split into routes/admin/{users,doi,publish,fleet,imports,datasets-lifecycle,notices}.ts, each registering its own handlers on a shared admin router. No behavior change. Normalize the two drifted audit_log INSERT shapes into a writeAuditLog() helper as call sites move. Establishes the extraction pattern for later phases.
Completed in PR #914 (squash-merged to the epic branch feature/issue-902-epic-decompose as b6a2ee1). admin.ts split into routes/admin/{index,shared,users,doi,fleet,publish,datasets-lifecycle,imports,notices}.ts; all 16 audit-log INSERTs normalized through auditLogStatement(); route inventory + middleware order pinned by test/admin-route-inventory.unit.test.ts.
Activity
neuromechanist commentedon Jul 3, 2026
Completed in PR #914 (squash-merged to the epic branch feature/issue-902-epic-decompose as b6a2ee1). admin.ts split into routes/admin/{index,shared,users,doi,fleet,publish,datasets-lifecycle,imports,notices}.ts; all 16 audit-log INSERTs normalized through auditLogStatement(); route inventory + middleware order pinned by test/admin-route-inventory.unit.test.ts.