Skip to content

fix: default console tracing filter to warn - #1129

Merged
norrietaylor merged 1 commit into
mainfrom
inbox-patch/demote-console-filter-to-warn-47645daf9be0724f
Jul 31, 2026
Merged

fix: default console tracing filter to warn#1129
norrietaylor merged 1 commit into
mainfrom
inbox-patch/demote-console-filter-to-warn-47645daf9be0724f

Conversation

@gominimal-aw-bot

@gominimal-aw-bot gominimal-aw-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Routing-Key: inbox-route/I_kwDOSUhdos8AAAABK6GjKA

The min CLI's console tracing subscriber fell back to an info EnvFilter whenever RUST_LOG was unset, so every command painted internal daemon-spawn INFO plumbing into the user's terminal around the CLI's intended output. This demotes the single shared fallback filter to warn, so a cold-start min ls shows no INFO lines while RUST_LOG=info restores them. The RUST_LOG override path and the topiary=off/libcgroups=off directives are untouched, WARN and ERROR still render, and the on-disk daemon logs the min bug bundle reads are unaffected since they are written by a separate file-log layer.

Verification

cargo fmt --all --check — clean
cargo clippy --workspace --locked -- -D warnings — exit 0, no warnings
cargo build --workspace --locked — Finished, exit 0
cargo test --workspace --locked — all suites passed, exit 0

Generated by inbox-patch ·

Note

Change default console tracing filter level from info to warn

Updates the default EnvFilter level in main.rs from info to warn when RUST_LOG is not set. Behavioral Change: applications will no longer emit info-level logs by default.

Macroscope summarized 9901a17.

The console subscriber fell back to EnvFilter::new("info") when
RUST_LOG was unset, so every min command painted internal
daemon-spawn INFO plumbing into the user's terminal around the
CLI's intended output. Demote the fallback to warn; the RUST_LOG
override path and the topiary=off/libcgroups=off directives are
unchanged, and WARN and ERROR still render.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 32 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c9a82129-595d-44db-9928-3373e6b7ea4d

📥 Commits

Reviewing files that changed from the base of the PR and between e167d60 and 9901a17.

📒 Files selected for processing (1)
  • crates/minimal/src/main.rs

Comment @coderabbitai help to get the list of available commands.

@norrietaylor
norrietaylor marked this pull request as ready for review July 31, 2026 07:57
@norrietaylor
norrietaylor requested a review from a team as a code owner July 31, 2026 07:57

@norrietaylor norrietaylor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: scope, clobber, correctness, CI. Approving.

Scope — one file, one line. crates/minimal/src/main.rs.

No clobber — the only removal is the line being changed. Checked specifically against #1114, which also touched main.rs and was partially reverted by two earlier patch PRs: pub mod theme; and the is_terminal() prompt logic are both untouched here.

Correctness — the change is inside EnvFilter::try_from_default_env().unwrap_or_else(...), i.e. the fallback default only. RUST_LOG still overrides, so anyone wanting INFO sets it explicitly. That is the right layer: it stops INFO spans painting into every user's terminal without removing the ability to get them. The topiary=off and libcgroups=off directives are preserved.

CI — 24/24 green.

@norrietaylor
norrietaylor merged commit b9cfa7e into main Jul 31, 2026
30 checks passed
@norrietaylor
norrietaylor deleted the inbox-patch/demote-console-filter-to-warn-47645daf9be0724f branch July 31, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant