turbo
0f596db7 - fix: Show TUI when using `--output-logs=errors-only|none` (#11382)

Commit
39 days ago
fix: Show TUI when using `--output-logs=errors-only|none` (#11382) ## Summary - Fixes the TUI not showing when using `--output-logs=errors-only` or `--output-logs=none` with cache misses - Always sends the cache miss status event so TUI knows to start rendering - Skips printing empty messages in non-TUI mode to avoid spurious output ## Root Cause PR #11306 introduced lazy TUI initialization - the TUI only starts when it receives a `Status` event with `CacheResult::Miss`. However, when using `--output-logs=errors-only` or `--output-logs=none`, the `status()` call was being skipped entirely, so the TUI never received the notification to start. ## Testing Tested manually: 1. `turbo run build --force --output-logs=errors-only` - TUI now appears 2. `turbo run build --output-logs=errors-only` (cached) - No TUI (FULL TURBO), as expected 3. `turbo run build --force --output-logs=errors-only` - No spurious extra lines get printed Fixes #11352
Author
Parents
Loading