VERCEL_OIDC_TOKEN busting our test script hash #10906
-
SummaryHello! On our CI we pull env vars from Vercel as we use Vercel to manage them. We use the vercel cli for that. {
// ..
"test": {
"dependsOn": ["test:assets:pull"],
"passThroughEnv": ["VERCEL_OIDC_TOKEN"]
},
// ..
}And still we see cache misses. We can see why we get cache misses from the --dry-run=json output: {
"id": "33Pw2FCX7nN0Zl8yUeo1wu5LsMp",
"version": "1",
"turboVersion": "2.4.1",
"monorepo": true,
[...]
"rootKey": "I can’t see ya, but I know you’re here",
"files": {
".env": "THIS_IS_STABLE",
"apps/web/.env": "THIS_CHANGES_BETWEEN_RUNS"
},
[...]
}If we run Any idea here? in short we do: cd apps/web
vercel link --scope team --yes
vercel env pull .env --yes
turbo run test # < always cache missAdditional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Answered your post in Vercel Community → https://community.vercel.com/t/how-to-avoid-vercel-oidc-token-from-busting-our-turbo-tasks/23800/3?u=anthony-shew |
Beta Was this translation helpful? Give feedback.
Answered your post in Vercel Community → https://community.vercel.com/t/how-to-avoid-vercel-oidc-token-from-busting-our-turbo-tasks/23800/3?u=anthony-shew