turbo
8d7369b7 - feat: show all persistent task validation errors (#5807)

Commit
2 years ago
feat: show all persistent task validation errors (#5807) ### Description This PR changes the Go behavior of persistent task validation to match how I ported it in Rust. I know I should probably change the Rust to match the Go instead, but the Rust port offers a better UX as it displays *all* persistent task validation errors and is deterministic. Previously in Go we were dependent on which invalid task we encountered first in the graph walk. ### Testing Instructions Updated integration test passes both Go and Rust implementation ``` [0 olszewski@chriss-mbp] /Users/olszewski/code/vercel/turborepo/turborepo-tests/integration $ EXPERIMENTAL_RUST_CODEPATH=true .cram_env/bin/prysk --shell=bash tests/persistent_dependencies/3-workspace-specific.t . # Ran 1 tests, 0 skipped, 0 failed. [0 olszewski@chriss-mbp] /Users/olszewski/code/vercel/turborepo/turborepo-tests/integration $ EXPERIMENTAL_RUST_CODEPATH=false .cram_env/bin/prysk --shell=bash tests/persistent_dependencies/3-workspace-specific.t . # Ran 1 tests, 0 skipped, 0 failed. ``` --------- Co-authored-by: Chris Olszewski <Chris Olszewski>
Parents
Loading