Skip to content

Fixed: [bug/lsp]panic: vfs: path is not absolute #671 #738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

gabrielluizsf
Copy link
Contributor

@jakebailey
Copy link
Member

This really needs some sort of test. Nobody's said how this problem surfaces.

@jakebailey
Copy link
Member

Most of the changes in this PR are unrelated to the actual fix, which I believe is just basePath being modified. Can you please undo everything that is unrelated?

I will still say like last time that I don't think this is the right fix. The original getFileNamesFromConfigSpecs code does not do this; it only normalizes the path. If there's a bad path being passed into this function, the problem must be somewhere else.

@gabrielluizsf
Copy link
Contributor Author

Most of the changes in this PR are unrelated to the actual fix, which I believe is just basePath being modified. Can you please undo everything that is unrelated?

I will still say like last time that I don't think this is the right fix. The original getFileNamesFromConfigSpecs code does not do this; it only normalizes the path. If there's a bad path being passed into this function, the problem must be somewhere else.

Most of the changes in this PR are unrelated to the actual fix, which I believe is just basePath being modified. Can you please undo everything that is unrelated?

I will still say like last time that I don't think this is the right fix. The original getFileNamesFromConfigSpecs code does not do this; it only normalizes the path. If there's a bad path being passed into this function, the problem must be somewhere else.

Thank you for your feedback. I understand your concerns regarding the scope of the changes. I'll revert the unrelated modifications to keep the PR focused on the actual fix.

Regarding the approach, I see your point about getFileNamesFromConfigSpecs only normalizing the path. I'll take a closer look to identify where the incorrect path is being introduced and determine if the issue originates elsewhere. Let me know if you have any additional insights.

@gabrielluizsf gabrielluizsf deleted the tsconfigoptions_empty_path_handler branch April 1, 2025 16:54
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.

4 participants