Skip to content

fix: enforce case-sensitive module resolution - #95

Merged
longlho merged 1 commit into
mainfrom
codex/fix-case-sensitive-resolution
Jul 27, 2026
Merged

fix: enforce case-sensitive module resolution#95
longlho merged 1 commit into
mainfrom
codex/fix-case-sensitive-resolution

Conversation

@longlho

@longlho longlho commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enforce exact project-file casing during module resolution
  • cover case-distinct .ts and .tsx basenames from ppl-ai/agi#178993

Why

On case-insensitive macOS and Windows filesystems, the resolver accepts a wrong-cased .ts candidate before trying the intended .tsx file. 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_test
  • cargo fmt --all -- --check
  • PR_TITLE='fix: enforce case-sensitive module resolution' pnpm format

Full bazel test //... was attempted but dependency fetches were blocked by local DNS for registry.npmjs.org.

@longlho
longlho marked this pull request as ready for review July 27, 2026 19:17
@longlho
longlho merged commit e1dd1c4 into main Jul 27, 2026
2 checks passed
@longlho
longlho deleted the codex/fix-case-sensitive-resolution branch 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).
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