fix: enforce case-sensitive module resolution - #95
Merged
Conversation
longlho
marked this pull request as ready for review
July 27, 2026 19:17
longlho
pushed a commit
that referenced
this pull request
Jul 27, 2026
🤖 I have created a release *beep* *boop* --- ## [0.7.1](codescythe_cli_v0.7.0...codescythe_cli_v0.7.1) (2026-07-27) ### Bug Fixes * enforce case-sensitive module resolution ([#95](#95)) ([e1dd1c4](e1dd1c4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.tsand.tsxbasenames from ppl-ai/agi#178993Why
On case-insensitive macOS and Windows filesystems, the resolver accepts a wrong-cased
.tscandidate before trying the intended.tsxfile. Codescythe then treats the import as external and reports the component as unused.Rejecting case-mismatched project-file probes keeps resolution consistent with case-sensitive Linux.
Testing
bazel test //crates/codescythe:codescythe_testcargo fmt --all -- --checkPR_TITLE='fix: enforce case-sensitive module resolution' pnpm formatFull
bazel test //...was attempted but dependency fetches were blocked by local DNS forregistry.npmjs.org.