Skip to content

[bug] CI doesn't catch paths that differ only by case #1817

Closed

Description

@Rhainland

What happened

Nothing in CI catches two tracked paths that differ only by letter case. #1710 added UserDetailTabs.tsx next to userDetailTabs.ts; Linux CI and the Docker build passed, but make build broke on macOS and Windows until #1802 (#1798). A plain git ls-files | sort -f | uniq -di would not have caught it either, because the two files have different extensions and TypeScript resolves the import without one.

The macOS workflow (.github/workflows/macos.yml) builds the frontend and would have caught it, but it is manual-only because of a VideoToolbox runner problem.

Steps to reproduce

  1. On a case-sensitive Linux checkout, add web/src/Foo.tsx next to web/src/foo.ts and import ./Foo.
  2. CI passes; pnpm run build on macOS fails.

Expected behavior

CI fails when two tracked paths collide on a case-insensitive file system, including paths that differ only by case once their TypeScript/JavaScript extension is removed.

Silo version / commit

silo-server 4a0cff41f (main).

Deployment

Other

Clients affected

  • Web UI
  • Android
  • iOS/tvOS/macOS
  • Jellyfin-compat client (Infuse, Findroid, ...)
  • Other/not client-specific

Relevant logs

No logs available. The #1798 build failure on macOS was:

src/pages/AdminUserDetail.tsx(41,32): error TS1149: File name '[REPO]/web/src/pages/admin-users/detail/UserDetailTabs.ts' differs from already included file name '[REPO]/web/src/pages/admin-users/detail/userDetailTabs.ts' only in casing.

Technical notes

  • A small script in scripts/ci/ run by an existing lint job: lowercase tracked paths, strip .ts, .tsx, .js, .jsx, .d.ts for module paths, and fail on duplicates.
  • Separately, the frontend build could move out of the manual macOS workflow into its own job that runs on pull requests.

AI harness

Claude Code (running in T3 Code)

AI tool(s)

Claude Code (Bash, Read, sub-agents, browser automation through the T3 Code preview), GitHub CLI, Docker, FFmpeg

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated, human verified

Independent or adversarial review

n/a

Activity

  1. added a commit that references this issue on Oct 3, 2026
    e53a88c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions