-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Support Inputs in pipeline config, hashes are per task #951
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vercel/turbo-site/GWsyoJTwpYEzasEKjRbpxszNo6mb |
7118b23
to
db6f2ad
Compare
db6f2ad
to
ae5a26a
Compare
ae5a26a
to
3c7079f
Compare
0297f47
to
d1fa563
Compare
d1fa563
to
eb47bea
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
lgtm |
This is a very exciting change. One thing I wanted to note is that this should likely also be documented as a configuration option. |
@ObliviousHarmony docs coming in #1046 |
"inputs": [<file glob>]
to pipeline config"inputs"
, usegit ls-files
to calculate file hashese2e
test to highlight new hashing behaviorBecause task hashing now only takes into account the hash of task-graph dependencies, tasks that don't have task-graph dependencies won't have new hashes when package-dependencies change. The classic example is
lint
. Ifa
depends onb
, andb
changes, that should no longer force a cache miss fora#lint
, so long as thelint
task has no dependencies.Remaining work:
git ls-file
to properly handleinputs
inputs
Fixes #523