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
This was previously #89326 but I had to recreate the branch due to branch protection rules.
We'd like to create Issues when IO operations fail, so FsError is basically that:
FsError is a structured error type, so we can track things like FileSystemPath (note: this type contains a Vc).
There's an implementation of Issue on FsError. This implementation lives in turbopack-core due to crate-ordering issues.
What's missing
At the top-level, when we apply effects, we need to also need to attempt to downcast errors and collect them as issues to avoid surfacing the FsErrors as an internal error.
We also want to emit issues for failed reads and other filesystem operations.
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
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.
This was previously #89326 but I had to recreate the branch due to branch protection rules.
We'd like to create
Issues when IO operations fail, soFsErroris basically that:FsErroris a structured error type, so we can track things likeFileSystemPath(note: this type contains aVc).IssueonFsError. This implementation lives inturbopack-coredue to crate-ordering issues.What's missing
FsErrors as an internal error.