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

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

Conversation

chris-olszewski
Copy link
Member

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

Copy link

vercel bot commented Nov 8, 2024

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) Nov 8, 2024 1:41pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm
examples-gatsby-web ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm
examples-native-web ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm
examples-svelte-web ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm
examples-tailwind-web ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm
examples-vite-web ⬜️ Ignored (Inspect) Nov 8, 2024 1:41pm

@chris-olszewski chris-olszewski enabled auto-merge (squash) November 8, 2024 14:05
@chris-olszewski chris-olszewski merged commit cdc7ec9 into main Nov 8, 2024
40 checks passed
@chris-olszewski chris-olszewski deleted the chrisolszewski/turbo-4149-better-error-message-if-thing-doesnt-exist branch November 8, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants