Postgres-boundary WIP: tree calls 4 DB functions that do not exist live; migrations 089-094 unapplied
Working tree carries an unpushable Node half of the postgres-boundary work: src/lib/admin-actions.ts calls fn_getAdminUserDetail, fn_getStudentsWithoutAssignment and fn_bulkImportUsers, and (pre-PLUTO-638) fn_getAcademicDropdownBundle. Verified 2026-07-30 via pg_proc that NONE of those four exist in the live DB, while migrations 089-094 that define them sit UNTRACKED and UNAPPLIED, last touched 2026-07-21 (9 days stale). Hazard: gitpush.sh --only is file-level, not hunk-level, so ANY push naming src/lib/admin-actions.ts ships calls to nonexistent functions and 500s /admin/usuarios detail, students-without-assignment and bulk import. This already blocked PLUTO-638 (pm-pluto-cc caught it) and forced that push to be rebuilt from HEAD's body and the WIP reapplied unstaged. Resolve one way or the other: either apply 089-094 and land their Node half, or revert the Node half so the tree stops carrying calls to functions that do not exist. Do NOT resolve it by opportunistically pushing the dirty files. Needs an owner - the work is 9 days abandoned and is not mine. audit-pluto-ca ratified keeping this as a separate WI (tag audit-pluto-ca-ms73ly4uuftp).
Questions
Activity
-
Duplicate of PLUTO-641 (same tree: migrations 089-094 + admin-actions.ts fn_* calls to nonexistent functions). db-pluto-cc took 641 as the single tracking WI; closing this one rather than tracking both.