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
[Bug]: A sibling CSS import creates a false TypeScript self-import cycle #5652
On v0.9.124 (d249de367), a TSX component that imports its sibling stylesheet can appear to import itself. This puts a false one-file cycle ahead of real cycles when reviewing dependencies.
The output includes both button.tsx -> button.tsx and control.ts -> control.ts. Only the second is a TypeScript self-import. The stylesheet and the TSX module have distinct paths, so the import at line 1 of button.tsx should never point back to the component. The same symptom occurs with multiple components importing their own same-stem stylesheets in a React project.
Reproduced from source with a fresh graph on macOS arm64, CPython 3.14.10.
Activity
github-actions commentedon Nov 30, 2026
Thanks for opening this issue, @rvitaliy. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.