turbo
df21d74b - fix(summary): no longer display non existent logfile (#9907)

Commit
308 days ago
fix(summary): no longer display non existent logfile (#9907) ### Description Closes #9903 If caching is disabled, then we don't cache the task logs. We shouldn't display a path to a log file that doesn't exist. ### Testing Instructions Run a task that doesn't get cached with `--summarize` and make sure that `logFile` isn't present: ``` [0 olszewski@macbookpro] /tmp/summarize-colon-missing-logfile $ turbo_dev --skip-infer colon:command --summarize turbo 2.4.1-canary.0 • Packages in scope: app-a, app-b, pkg-a, pkg-b, tooling-config • Running colon:command in 5 packages • Remote caching disabled pkg-a:colon:command: cache bypass, force executing 71e88464fc594d21 pkg-a:colon:command: pkg-a:colon:command: pkg-a:colon:command: > colon:command pkg-a:colon:command: > echo "Colon command!" pkg-a:colon:command: Colon command! Tasks: 1 successful, 1 total Cached: 0 cached, 1 total Time: 230ms Summary: /private/tmp/summarize-colon-missing-logfile/.turbo/runs/2sfbsk4LTfEuhw4VWPU60jJMmdi.json [0 olszewski@macbookpro] /tmp/summarize-colon-missing-logfile $ rg -F 'logFile' .turbo/runs/2sfbsk4LTfEuhw4VWPU60jJMmdi.json [1 olszewski@macbookpro] /tmp/summarize-colon-missing-logfile $ ```
Parents
Loading