You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be able to passthrough arbitrary args in the same way as passThroughEnv, to prevent them contributing to the cache key.
Non-goals
No response
Background
Currently in our CI, we use sharding to split our E2E tests.
This results in a command something like yarn test:e2e -- -- --project=foo --shard=1/3
This then triggers a cache miss (due to the arbitrary args), causing a full build before e2e is ran.
We are currently getting around this by doing yarn build in a prior step to ensure everything is built, and then passing --only to the test command.
Proposal
It would be ideal if there was a way to omit the passthrough args from a specific task.
This would mean we could still rely on turbo to guarantee the rest of the dependency graph is built.
Potentially part of the turbo.json in the same way as tasks.passThroughEnv.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-goals
No response
Background
Currently in our CI, we use sharding to split our E2E tests.
This results in a command something like
yarn test:e2e -- -- --project=foo --shard=1/3
This then triggers a cache miss (due to the arbitrary args), causing a full build before e2e is ran.
We are currently getting around this by doing
yarn build
in a prior step to ensure everything is built, and then passing--only
to the test command.Proposal
It would be ideal if there was a way to omit the passthrough args from a specific task.
This would mean we could still rely on turbo to guarantee the rest of the dependency graph is built.
Potentially part of the turbo.json in the same way as tasks.passThroughEnv.
Beta Was this translation helpful? Give feedback.
All reactions