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

fix: unnecessary empty cache logs #9301

Merged
merged 1 commit into from
Oct 21, 2024
Merged

fix: unnecessary empty cache logs #9301

merged 1 commit into from
Oct 21, 2024

Conversation

NicholasLYang
Copy link
Contributor

@NicholasLYang NicholasLYang commented Oct 21, 2024

Description

In #9236 I added a check if the task output globs are empty. Turns out we need to check if the output globs only has a single entry for the log file.

Fixes #9291

Testing Instructions

basic_monorepo has both a task that has globs and no outputs and a task that has empty globs and no outputs. Note that we warn for one and not the other.

@NicholasLYang NicholasLYang requested a review from a team as a code owner October 21, 2024 14:48
Copy link

vercel bot commented Oct 21, 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 Oct 21, 2024 2:48pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-gatsby-web ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-native-web ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-svelte-web ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-tailwind-web ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm
examples-vite-web ⬜️ Ignored (Inspect) Oct 21, 2024 2:48pm

@NicholasLYang NicholasLYang enabled auto-merge (squash) October 21, 2024 14:55
@NicholasLYang NicholasLYang merged commit 82f0633 into main Oct 21, 2024
39 checks passed
@NicholasLYang NicholasLYang deleted the fix/cache-warning branch October 21, 2024 15:17
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.

WARNING no output files found for task @repo/ui#lint. Please check your outputs key in `turbo.json
3 participants