Skip to content

Add --suppress-info option (#31883)#33380

Open
kyriv-lab wants to merge 4 commits into
idaholab:nextfrom
kyriv-lab:moose_information_31883
Open

Add --suppress-info option (#31883)#33380
kyriv-lab wants to merge 4 commits into
idaholab:nextfrom
kyriv-lab:moose_information_31883

Conversation

@kyriv-lab

Copy link
Copy Markdown
Contributor

Summary

Fixes #31883 by adding a new global command-line option:

--suppress-info

This suppresses MOOSE informational messages emitted through mooseInfo() and mooseInfoRepeated().

## Motivation

Info messages are useful when running an input for the first time, but they can become noisy when repeatedly running variations of the same
input, especially for large problems.

## Behavior

### Before

./moose_test-opt -i input.i

Could emit informational messages like:

*** Info ***
Suppress info test

There was no command-line option to suppress only these messages.

### After

Default behavior is unchanged:

./moose_test-opt -i input.i

Still emits info messages.

With the new flag:

./moose_test-opt -i input.i --suppress-info

mooseInfo() / mooseInfoRepeated() messages are omitted.

## Scope

This intentionally only suppresses informational messages. It does not suppress:

- mooseWarning()
- mooseDeprecated()
- mooseError()
- application headers
- --help, --version, syntax dumps
- normal Moose::out / console output
- simulation output

## Testing

Added regression coverage using Terminator INFO output:

- default run expects the info message
- --suppress-info run expects the info message to be absent

@moosebuild

Copy link
Copy Markdown
Contributor

Job Precheck, step Clang format on 3e8eeb1 wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/docs/PRs/33380/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format 8581c3bc89ed6246e919f04056c5d84f244522f8

@kyriv-lab
kyriv-lab force-pushed the moose_information_31883 branch from 3e8eeb1 to 4915813 Compare July 20, 2026 22:18
@kyriv-lab
kyriv-lab force-pushed the moose_information_31883 branch from 4915813 to 547b29c Compare July 20, 2026 23:24
@moosebuild

moosebuild commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Job Documentation, step Docs: sync website on 13510a5 wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild

Copy link
Copy Markdown
Contributor

Job Coverage, step Generate coverage on 547b29c wanted to post the following:

Framework coverage

8581c3 #33380 547b29
Total Total +/- New
Rate 86.00% 86.00% +0.00% 100.00%
Hits 137214 137223 +9 11
Misses 22333 22334 +1 0

Diff coverage report

Full coverage report

Modules coverage

Coverage did not change

Full coverage reports

Reports

This comment will be updated on new commits.

@kyriv-lab
kyriv-lab marked this pull request as ready for review July 21, 2026 14:36

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 547b29c408

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread framework/src/base/MooseApp.C
Comment thread framework/src/multiapps/MultiApp.C
@moosebuild

Copy link
Copy Markdown
Contributor

Job Test, step Results summary on 13510a5 wanted to post the following:

Framework test summary

Compared against 369e659 in job civet.inl.gov/job/3987613.

Added tests

Test Time (s) Memory (MB)
userobjects/Terminator.suppress_info 0.93 93.47
userobjects/Terminator.terminator_info 0.89 108.37
userobjects/Terminator.suppress_info_multiapp_scope 0.73 128.54

Modules test summary

Compared against 369e659 in job civet.inl.gov/job/3987613.

No change

@kyriv-lab
kyriv-lab requested a review from loganharbour July 22, 2026 15:57
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.

Add Command-Line Option to Suppress Moose Information

3 participants