Skip to content

bazel: debug noise removal - #4431

Closed
oharboe wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:bazel-debug-noise-fix
Closed

oharboe wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:bazel-debug-noise-fix

Conversation

@oharboe

@oharboe oharboe commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Real problems are drowning in log noise...

Real problems are drowning in log noise...

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe
oharboe requested a review from maliberty August 14, 2026 08:02

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request attempts to suppress debug-level UI messages in Bazel by adding --ui_event_filters=-debug to .bazelrc. However, the reviewer pointed out that debug is not a valid event type for this flag, and including it will cause Bazel to fail to start with an option parsing error.

Comment thread .bazelrc
Comment on lines +31 to +33
# Suppress debug-level UI messages (such as pycross extension warnings)
common --ui_event_filters=-debug

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

The --ui_event_filters flag in Bazel does not support debug as a valid event type. The only valid event types are stdout, stderr, info, warning, error, subcommand, fail, pass, and timeout. Adding --ui_event_filters=-debug will cause Bazel to fail to start with an option parsing error (e.g., Error in --ui_event_filters: invalid event filter 'debug'). If you want to suppress warnings from pycross, you would need to use -warning or -info, but doing so would suppress all warnings/info messages across the entire build, which is generally not recommended. It is better to remove this line entirely to avoid breaking the Bazel invocation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

hmmm... seemed to work locally. Need to verify before I reopen.

@oharboe oharboe closed this Aug 14, 2026
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