forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[engine] replace py impl of validator with native validator (pantsbui…
…ld#4259) ### Problem Validation of the rule graph for the v2 engine still happens on the python side. That's a problem because we want to use the rule graph in the native scheduler and don't have access. ### Solution This ports the validator to rust, removing it from the python side. It also adjusts the associated tests so that the new validator implementation is covered by them. They've also been updated to account for some changes in display. It also splits the LocalScheduler so that it defers to a WrappedNativeScheduler, which allows the validation tests to focus on just the validation portion. ### Follow on Next is to port or ignore the GraphMaker tests, followed by making use of the graph within the native scheduler to remove statically determinable noop subgraphs.
- Loading branch information
1 parent
31a8f64
commit 0395c91
Showing
9 changed files
with
364 additions
and
237 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.