这是indexloc提供的服务,不要输入任何密码
Skip to content

docs: clarify default inputs behavior #10628

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

Merged
merged 3 commits into from
Jul 7, 2025
Merged

docs: clarify default inputs behavior #10628

merged 3 commits into from
Jul 7, 2025

Conversation

anthonyshew
Copy link
Contributor

Description

#10606 pointed out a minor clarification that we needed about inputs.

@anthonyshew anthonyshew requested a review from a team as a code owner July 3, 2025 00:45
@turbo-orchestrator turbo-orchestrator bot added the area: docs Improvements or additions to documentation label Jul 3, 2025
Copy link

vercel bot commented Jul 3, 2025

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

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2025 4:03pm

Copy link
Contributor

@breadadams breadadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @anthonyshew, couple of minor comments

@@ -419,7 +419,7 @@ Defines if task outputs should be cached. Setting `cache` to false is useful for

Default: `[]`, all files in the package that are checked into source control

A list of file glob patterns relative to the package's `package.json` to consider when determining if a package has changed. `turbo.json` is **always** considered an input.
A list of file glob patterns relative to the package's `package.json` to consider when determining if a package has changed. `turbo.json` and `package.json` are **always** considered inputs, even if you try to explicitly ignore them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Are there any other exceptions worth listing, lockfiles maybe?

Copy link
Contributor Author

@anthonyshew anthonyshew Jul 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chris-olszewski, I actually don't know this one. Can I ignore a lockfile? I'm figuring I can't since we go parse it separately from collecting file inputs.

I shouldn't be able to, but can I? I'm trying to see if I can trick it into doing so and it doesn't look like it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we'll always parse the lockfile and fold the packages into a task hash.

Co-authored-by: Brad Adams <hi@breadadams.com>
@anthonyshew anthonyshew enabled auto-merge (squash) July 7, 2025 16:02
@anthonyshew anthonyshew merged commit 2185590 into main Jul 7, 2025
36 checks passed
@anthonyshew anthonyshew deleted the shew/70fea branch July 7, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants