vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo
MIT License
26.5k stars 1.85k forks source link

chore(engine): error about missing package in package task #9414

Closed chris-olszewski closed 3 weeks ago

chris-olszewski commented 3 weeks ago

Description

With package tasks being accepted by run users can now bypass our package existence check in --filter. We add an additional check in the task graph builder where we verify that the bad-package in a turbo run bad-package#task command will error with a message explaining that bad-package doesn't exist.

Testing Instructions

Added unit test that hits this error path along with snapshotting the error message

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 1:41pm
8 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **examples-basic-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-basic-web/DmW5iPzdCQCMEXrrjSQYHo1XUQnM)) | | | Nov 8, 2024 1:41pm | | **examples-designsystem-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-designsystem-docs/B7MzwfEzuc6TrXpnbV8bzudWyyaV)) | | | Nov 8, 2024 1:41pm | | **examples-gatsby-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-gatsby-web/8jPCb5ekDejJ4aCNDyzvHNNNwbUP)) | | | Nov 8, 2024 1:41pm | | **examples-kitchensink-blog** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-kitchensink-blog/6e2njHuRGct5igUWa3C5ar9XKoxa)) | | | Nov 8, 2024 1:41pm | | **examples-native-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-native-web/DZ6rBqwtK4C6xDFWaunzTsVTwKVg)) | | | Nov 8, 2024 1:41pm | | **examples-svelte-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-svelte-web/6P6XSvmAqdGBCk9GewGhfYb9rGeK)) | | | Nov 8, 2024 1:41pm | | **examples-tailwind-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-tailwind-web/F9NZdjvGauemFqyJXbQTwx6dyRsh)) | | | Nov 8, 2024 1:41pm | | **examples-vite-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-vite-web/Fzhxj2MxQtd2Yo7eNdsET3cXhNCf)) | | | Nov 8, 2024 1:41pm |