Skip to content

FIX: Restore restartthinner printout behavior without --quiet#874

Merged
alifbe merged 1 commit into
equinor:mainfrom
alifbe:fix-restartthinner-printout
Jun 18, 2026
Merged

FIX: Restore restartthinner printout behavior without --quiet#874
alifbe merged 1 commit into
equinor:mainfrom
alifbe:fix-restartthinner-printout

Conversation

@alifbe

@alifbe alifbe commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #873

@codecov-commenter

codecov-commenter commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.52%. Comparing base (3146e4a) to head (5c35da6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #874      +/-   ##
==========================================
- Coverage   84.53%   84.52%   -0.01%     
==========================================
  Files          49       49              
  Lines        7405     7401       -4     
==========================================
- Hits         6260     6256       -4     
  Misses       1145     1145              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alifbe alifbe requested review from berland and larsevj June 15, 2026 09:24
@alifbe alifbe marked this pull request as ready for review June 15, 2026 09:25
slicepresent,
)
logger.info("-----------------------")
logger.info("Selected restarts:")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I am not sure there is any need for the user to see the log level and the logger name for each line. I would use print here too. Check the user experience in the terminal and choose what looks best.

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.

Fair enough. I have now change it to use print instead. 👍

@alifbe alifbe force-pushed the fix-restartthinner-printout branch from a146ca4 to 9557be4 Compare June 16, 2026 07:25
@alifbe alifbe requested a review from berland June 16, 2026 07:39
if args.quiet:
logger.setLevel(logging.WARNING)
else:
logger.setLevel(logging.INFO)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There is no logging statements left in the file now, so you may remove all lines related to logger

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.

True, I have now updated the code accordingly.

@alifbe alifbe force-pushed the fix-restartthinner-printout branch from 9557be4 to 50336ea Compare June 17, 2026 12:27
@alifbe alifbe requested a review from berland June 17, 2026 13:00
Comment thread longudq-noquotes.sch Outdated
@@ -0,0 +1,5 @@
UDQ

DEFINE FU_PWRI1 WWIR A_01 i WWIR A_02 + WWIR A_03 + WWIR A_04 + WWIR A_05 + WWIR A_06 + WWIR A_07 + WWIR A_08 + WWIR A_09 + WWIR A_10 + WWIR A_11 + WWIR A_12 + WWIR A_13 + WWIR A_14 + WWIR A_15/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Assuming this was not intended to be in the commit :)

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.

Yes, remnant from other test that is fixed in different PR.

@alifbe alifbe force-pushed the fix-restartthinner-printout branch from 50336ea to 5c35da6 Compare June 17, 2026 13:17
@alifbe alifbe requested a review from berland June 17, 2026 13:39

@berland berland left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍🏻

@alifbe alifbe merged commit 3b5b987 into equinor:main Jun 18, 2026
7 checks passed
@alifbe alifbe deleted the fix-restartthinner-printout branch June 18, 2026 15:34
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.

restartthinner is not displaying intended output

3 participants