-
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: respect output mode 'none' even when caching is disabled (#9670)
### Description This is a fresh PR for #7900, which sat too long and got stale. I accidentally closed the PR with no commits after force-pushing so I'm opening this for simplicity's sake. @aholland deserves all credit here for finding this issue and proposing a fix. ### Testing Instructions - Existing CI should catch me on regressions 🙏 - Added a test - Did some manual testing. Things look to be doing what we want. --------- Co-authored-by: Chris Olszewski <[email protected]>
- Loading branch information
1 parent
a21c30f
commit 1a40277
Showing
3 changed files
with
28 additions
and
13 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
13 changes: 13 additions & 0 deletions
13
turborepo-tests/integration/tests/run-logging/no-cache-and-no-output-logs.t
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Setup | ||
$ . ${TESTDIR}/../../../helpers/setup_integration_test.sh run_logging | ||
|
||
$ ${TURBO} run build --cache=local:,remote: --output-logs=none | ||
WARNING no caches are enabled | ||
\xe2\x80\xa2 Packages in scope: app-a (esc) | ||
\xe2\x80\xa2 Running build in 1 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 1 successful, 1 total | ||
Cached: 0 cached, 1 total | ||
Time:\s*[\.0-9]+m?s (re) | ||
|