-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Summary
next.config.ts has ignoreBuildErrors: true, meaning bun run build succeeds even with TypeScript errors. Combined with check-types OOM on app/, there is effectively no type safety feedback loop.
Impact
- All new features can introduce type errors undetected
- CI/CD provides false confidence (green builds with broken types)
- Pre-existing TS errors compound with each change
- Particularly dangerous during 100-file UI redesign
Current State
ignoreBuildErrors: trueinnext.config.tscheck-typesscript OOMs onapp/directory (known issue)- Pre-existing TS errors exist but count is unknown
Recommended Fix
- Short-term: Create a scoped type-check script that checks changed files only:
Or check specific directories that don't OOM
tsc --noEmit --project tsconfig.json --incremental
- Medium-term: Fix OOM in check-types (increase memory, or split by directory)
- Long-term: Fix all pre-existing TS errors and set
ignoreBuildErrors: false - Add type-check to CI that at minimum checks non-app directories
Source
Identified by GPT Scope Analyst agent during comprehensive plan review (2026-02-06).
Reactions are currently unavailable