-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 $ ```
- Loading branch information
1 parent
61425f4
commit df21d74
Showing
5 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters