CI: npm run check fails on drizzle-orm schema overload errors after self-contained workflow rewrite #9
Labels
No labels
bug
in-progress
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AuWoMe/Drift#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
"## Context\n\nThe AuWoMe/Drift CI workflow was rewritten (commit
710627dfix(ci): self-contained workflow — drop unreachable JS actions) to remove unreachable actions/checkout@v4 / actions/setup-node@v4 uses: lines and run in docker.io/library/node:20-bookworm instead. Verified as wired correctly: post-rewrite runs are no longer cancelled at 'Set up job' and reach the npm ci step.\n\nA follow-up commit71c93905fix(#8): pin eslint-plugin-react-refresh to ^0.4.20 for eslint 8 compatibility resolved the npm ci ERESOLVE (peer-dep conflict), so the post-rewrite recipe's first two steps (npm ci, npm run build) now succeed. The third step (npm run check) still fails.\n\n## Reproduction\n\npush to main (commit71c93905) → run 7032 (status=failure, duration=127s)\nhtml_url: https://forgejo.tail018ac4.ts.net/AuWoMe/Drift/actions/runs/19\n\nPer the commit message of 71c93905:\n\n> Verified:\n> - npm ci exits 0 (no ERESOLVE)\n> - npm run build succeeds\n> - npm run check still fails (drizzle-orm schema overload errors) — separate bug\n\n## Acceptance criteria for closing this issue\n\n- npm run check exits 0 in the docker.io/library/node:20-bookworm container.\n- A fresh push to main produces a Forgejo Actions run ending in success (or completed with all steps green).\n\n## References\n\n- Verification card: kanban t_8b7daaab (tasker-worker, completed 2026-09-16)\n- Rewrite card: t_b55e19fa (done) — workflow recipe is correct; this issue is the app-level debt.\n- Run 7032 evidence: forgejo-api.sh GET /repos/AuWoMe/Drift/actions/runs/7032 → {status: failure, duration: 127, commit_sha: 71c93905...}\n- Note: the Forgejo jobs API endpoint GET /api/v1/repos/AuWoMe/Drift/actions/runs//jobs returns 404 on this Forgejo 13.0.4 instance for every run, including pre-existing ones — this is a separate platform capability gap (forgejo#11792 / gitea#35382), not an AuWoMe/Drift bug."Fixed in commit
8bfee31fcc(fix(#9): clear drizzle-orm schema overload errors blocking npm run check). Dropped seven dead*Sqlitedrizzle tables in shared/schema.ts that were never imported anywhere — runtime SQLite was already using raw CREATE TABLE viacreateSqliteTables, so the dead schemas were the only thing tripping the tsc overload errors.Verified on Forgejo Actions run 7043 (commit
8bfee31, push to main):Closing.