turbo run --dry=json says cache.local=false yet when I run the task, it says cache hit #9038
-
SummaryHi, I'm trying to add a CI task to know if I can skip the To do so, I wanted to run The issue I'm facing is that the output says that the local cache is missing, yet when I run the task "for real" it says that there is a cache hit. The exact command run:
(we need to filter out the task for workspaces with no The output looks like {
"taskId": "PACKAGE#build",
"task": "build",
"package": "PACKAGE",
"hash": "8e377e0ab82776c1",
"inputs": {
// lot of files
},
"hashOfExternalDependencies": "0d18ec9859b9392d",
"cache": {
"local": false,
"remote": false,
"status": "MISS",
"timeSaved": 0
},
"command": "next build",
"cliArguments": [],
"outputs": null,
"excludedOutputs": null,
"logFile": "path/to/.turbo/turbo-build.log",
"directory": "path/to",
"dependencies": [
"PACKAGE#transit"
],
"dependents": [],
"resolvedTaskDefinition": {
"outputs": [],
"cache": true,
"dependsOn": [
"transit"
],
"inputs": [],
"outputLogs": "full",
"persistent": false,
"env": [],
"passThroughEnv": null,
"interactive": false
},
"expandedOutputs": [],
"framework": "nextjs",
"envMode": "strict",
"environmentVariables": {
"specified": {
"env": [],
"passThroughEnv": null
},
"configured": [],
"inferred": [],
"passthrough": null
}
} when running the real task, the command is
and the output starts with
So I'm quite puzzled, and a bit stuck on what I could do. Any pointer? Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hm, that sounds more like a bug. Could you file an Issue with a reproduction? Thanks! |
Beta Was this translation helpful? Give feedback.
-
This seems to only happen in AzureCI, so I don't really know how I could share that with you. I'll see if I can have a reproduction.... |
Beta Was this translation helpful? Give feedback.
Hm, that sounds more like a bug. Could you file an Issue with a reproduction? Thanks!