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
bun run check-types has never passed on main — @repo/web reports ~90 errors #1544
Severity: Medium (the CI gate added in #1447 is red at HEAD) Files:apps/web/**, apps/web/tsconfig.json
Reproduction
$ bun install
$ cd apps/web && bunx tsc --noEmit
... 90 errors
Description
#1447 ("fix: add type checks for TypeScript workspaces") wired check-types
into every workspace, but the task fails at HEAD in three packages. This issue
covers @repo/web; see #1542 (@repo/ui) and #1545
(@supermemory/tools) for the other two.
1. noUncheckedIndexedAccess mismatch across package boundaries (most errors). apps/web/tsconfig.json extends @total-typescript/tsconfig/bundler/dom/app,
which turns on noUncheckedIndexedAccess. packages/memory-graph/tsconfig.json
only sets "strict": true. apps/web compiles the memory-graph source
directly, so packages/memory-graph/src/hooks/use-graph-data.ts type-checks
clean in its own package and fails inside web:
../../packages/memory-graph/src/hooks/use-graph-data.ts(518,46): error TS18048: 'doc' is possibly 'undefined'
These are strictness artifacts, not live crashes (the index is bounded by docCount), but they make the gate unusable.
2. Genuine defects. See #1541 (res.key on a better-auth result) and #1548 (@repo/lib/constants does not resolve) — both were surfaced by
this run and are real.
Suggested fix
Align the shared-package tsconfigs with the app's strictness (or stop compiling
package sources across the boundary), fix the two genuine defects, and only then
put check-types in required CI so it stays green.
Activity
linear-code commentedon Aug 19, 2026
ENG-1202
MaheshtheDev commentedon Sep 8, 2026
Closing this. The code it refers to was removed in #1651. Thanks for reporting.