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
Case-insensitive filename collisions silently exclude SettingsSearch.tsx from the TypeScript program #23
When TypeScript expands a directory include, it keeps only one file per path
stem, preferring .ts over .tsx. On a case-insensitive filesystem — Windows
and macOS, and CLAUDE.md states this is a Windows-primary dev environment —
these two pairs share a stem:
SettingsSearch.tsx is a real product component and is never type-checked
on Windows or macOS. pnpm run check passes partly because it is not looking
at the file. A type error in it would ship undetected on the primary dev
platform and only surface on a case-sensitive CI runner, if at all.
It also breaks lint outright:
src/pages/settings/SettingsSearch.tsx
0:0 error Parsing error: ESLint was configured to run on
`<tsconfigRootDir>/src\pages\settings\SettingsSearch.tsx` using
`parserOptions.project`: <tsconfigRootDir>/tsconfig.json
However, that TSConfig does not include this file.
src/components/NormalizedConversation/tools/SubagentCard.test.tsx
0:0 error Parsing error: ... (same)
Nothing in src/ or tests/ imports it — even settingsSearch.test.ts
imports ./settingsSearchQuery directly. So it can simply be deleted rather
than renamed.
Worth considering separately: a lint rule or a CI check on a case-insensitive
runner would stop this class of collision from recurring, since a
case-sensitive CI box cannot reproduce it.
Activity