Skip to content

Fix desktop typecheck failure (missing files in tsconfig.node.json) - #10

Merged
kaovilai merged 1 commit into
devfrom
fix-desktop-tsconfig-node-file-list
Sep 9, 2026
Merged

kaovilai merged 1 commit into
devfrom
fix-desktop-tsconfig-node-file-list

Conversation

@kaovilai

@kaovilai kaovilai commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Note

Responses generated with Claude

CI's test job has been failing on every recent PR (unrelated to whatever that PR actually changed) with:

error TS6307: File '.../src/lib/fetch-timeout.ts' is not listed within the file list of project '.../desktop/tsconfig.node.json'

Both src/lib/fetch-timeout.ts and src/services/copilot/fetch-with-reauth.ts are imported by files already in this project's file list (create-responses.ts under both codex/ and copilot/), but were never themselves added to it -- TS project references require every file in the dependency graph to be explicitly listed or covered by an include pattern.

Testing

Verified fix: bun run typecheck in desktop/ now passes clean (confirmed it was failing before this change, using the exact same command CI runs).

CI's "test" job has been failing on every recent PR (unrelated to
whatever that PR actually changed) with:

  error TS6307: File '.../src/lib/fetch-timeout.ts' is not listed
  within the file list of project '.../desktop/tsconfig.node.json'

Both src/lib/fetch-timeout.ts and src/services/copilot/fetch-with-
reauth.ts are imported by files already in this project's file list
(create-responses.ts under both codex/ and copilot/), but were never
themselves added to it -- TS project references require every file
in the dependency graph to be explicitly listed or covered by an
include pattern.

Verified fix: `bun run typecheck` in desktop/ now passes clean (was
failing before this change, confirmed against the exact same command
CI runs).

Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: ef198e94-c298-4274-91d2-976ac7e732f2

📥 Commits

Reviewing files that changed from the base of the PR and between 45fe0a0 and 45150f1.

📒 Files selected for processing (1)
  • desktop/tsconfig.node.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kaovilai
kaovilai merged commit 837defa into dev Sep 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant