Skip to content
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

Fix parsers for non-utf8 filepaths #494

Merged
merged 4 commits into from
Sep 29, 2023
Merged

Conversation

TylerJang27
Copy link
Collaborator

On Windows, we were crashing because our custom parsers were outputting incorrect non-utf8 filepaths with bad encoding. It's unclear why this was only happening on Windows, but this fix helps for all of our linters with custom parsers.

We will also improve our discard logic to not crash when we get a bad path like that.

@trunk-io
Copy link

trunk-io bot commented Sep 28, 2023

⏱️ 5h total CI duration on this PR
Job Cumulative Duration Recent Runs
Linter Tests (ubuntu-latest) 2h 14m 🟩🟥🟩
Linter Tests (macos-latest) 1h 23m 🟩🟩
Windows Linter Tests 28m 🟥
Tool Tests (macos-latest) 25m 🟩
Tool Tests (ubuntu-latest) 22m 🟩
CodeQL-Build 6m 🟩🟩🟩
Repo Tests / Plugin Tests 2m 🟩🟩
Detect changed files 23s 🟩🟩🟩
Aggregate Test Results 8s 🟩🟥🟥🟩

settingsfeedbackdocs ⋅ learn more about trunk.io

@TylerJang27 TylerJang27 marked this pull request as ready for review September 29, 2023 04:17
@TylerJang27 TylerJang27 requested a review from det September 29, 2023 04:17
@TylerJang27 TylerJang27 merged commit f8fecad into main Sep 29, 2023
@TylerJang27 TylerJang27 deleted the tyler/fix-non-utf8-parsers branch September 29, 2023 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants