turbo
3333eae7 - refactor: Convert task-access warnings to turborepo_log (#12307)

Commit
43 days ago
refactor: Convert task-access warnings to turborepo_log (#12307) ## Summary Convert 5 user-facing `tracing::warn!/error!` calls in `task_access.rs` to `turborepo_log` so they appear in the TUI log panel instead of being silently suppressed by the `SwitchableWriter`. ## Converted sites - `skipping automatic task caching - detected network access` - `skipping automatic task caching - file accessed outside of repo root` - `Failed to add .turbo to .gitignore. Caching will be disabled` - `Failed to save trace result` - `Failed to write task access trace file` These all fire during task execution and are things the user needs to know about — caching being skipped or trace data being lost. ## What's left as tracing The trace file parse warning (`failed to parse trace file`) is internal error handling (returns `None` and moves on). It stays as `tracing::warn!`.
Author
Parents
Loading