Summary
The check-types script runs out of memory when type-checking the app/ directory, providing no type safety for the largest part of the codebase.
Impact
- Largest directory (app/) has zero type checking
- All App Router pages, API routes, and layouts are unchecked
- Makes verification checklist unreliable (can't verify "No TypeScript errors")
Recommended Fix
- Increase Node.js memory limit:
NODE_OPTIONS='--max-old-space-size=8192' bun run check-types
- Split type-checking by directory: check
app/, components/, lib/ separately
- Use
tsc --incremental for faster subsequent checks
- Investigate if specific files/imports cause memory explosion
- Consider project references (tsconfig paths) to isolate type-checking scope
Source
Identified by GPT Scope Analyst agent during comprehensive plan review (2026-02-06).
Summary
The
check-typesscript runs out of memory when type-checking theapp/directory, providing no type safety for the largest part of the codebase.Impact
Recommended Fix
NODE_OPTIONS='--max-old-space-size=8192' bun run check-typesapp/,components/,lib/separatelytsc --incrementalfor faster subsequent checksSource
Identified by GPT Scope Analyst agent during comprehensive plan review (2026-02-06).