Skip to content

🐛 Reduce log verbosity by moving BoxCutter reports to debug mode - #2335

Merged
openshift-merge-bot[bot] merged 1 commit into
operator-framework:mainfrom
camilamacedo86:reduce-logs-box
Nov 17, 2025
Merged

🐛 Reduce log verbosity by moving BoxCutter reports to debug mode#2335
openshift-merge-bot[bot] merged 1 commit into
operator-framework:mainfrom
camilamacedo86:reduce-logs-box

Conversation

@camilamacedo86

Copy link
Copy Markdown
Contributor

Detailed reconcile and teardown reports are now only logged when debug mode is enabled, preventing excessive log output.

Detailed reconcile and teardown reports are now only logged when
debug mode is enabled, preventing excessive log output.
CopilotAI review requested due to automatic review settings November 17, 2025 12:58
@camilamacedo86
camilamacedo86 requested a review from a team as a code ownerNovember 17, 2025 12:58
@netlify

netlifyBot commented Nov 17, 2025

Copy link
Copy Markdown

Deploy Preview for olmv1 ready!

NameLink
🔨 Latest commit64a759e
🔍 Latest deploy loghttps://app.netlify.com/projects/olmv1/deploys/691b1c06e9183f0008bd27a2
😎 Deploy Previewhttps://deploy-preview-2335--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@camilamacedo86camilamacedo86 changed the title Reduce log verbosity by moving BoxCutter reports to debug mode🐛 Reduce log verbosity by moving BoxCutter reports to debug modeNov 17, 2025

CopilotAI 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.

Pull Request Overview

This PR reduces log verbosity by moving detailed BoxCutter reconcile and teardown reports to debug mode (V(1) log level). Previously, these reports were included directly in error logs, causing excessive output. Now the error message is logged at the default level, while the detailed report is only logged when debug mode is enabled.

  • Split error logging from detailed report logging for reconcile and teardown operations
  • Added explanatory comments for the debug logging pattern

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecovBot commented Nov 17, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.29%. Comparing base (c06f27f) to head (64a759e).
⚠️ Report is 5 commits behind head on main.

Files with missing linesPatch %Lines
...controllers/clusterextensionrevision_controller.go50.00%2 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #2335 +/- ##
==========================================
- Coverage 74.30% 74.29% -0.01% 
==========================================
Files 91 91 Lines 7083 7085 +2 ==========================================
+ Hits 5263 5264 +1 - Misses 1405 1406 +1 
Partials 415 415 
FlagCoverage Δ
e2e45.67% <0.00%> (+0.03%)⬆️
experimental-e2e48.39% <50.00%> (+<0.01%)⬆️
unit58.58% <0.00%> (-0.02%)⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@anik120anik120 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.

/lgtm

@openshift-ciopenshift-ciBot added the lgtm Indicates that a PR is ready to be merged. label Nov 17, 2025
@tmshort

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anik120, tmshort

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ciopenshift-ciBot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 17, 2025
@tmshort

Copy link
Copy Markdown
Contributor

/override patch

@openshift-ci

Copy link
Copy Markdown

@tmshort: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • patch

Only the following failed contexts/checkruns were expected:

  • Autovalidate
  • Verify PR title
  • codecov/patch
  • crd-diff
  • e2e-kind
  • extension-developer-e2e
  • go-apidiff
  • go-verdiff
  • goreleaser
  • lint
  • netlify/olmv1/deploy-preview
  • tide
  • unit-test-basic
  • upgrade-e2e
  • verify

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

Details

In response to this:

/override patch

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@tmshort

Copy link
Copy Markdown
Contributor

/override codecov/patch

@openshift-ci

Copy link
Copy Markdown

@tmshort: Overrode contexts on behalf of tmshort: codecov/patch

Details

In response to this:

/override codecov/patch

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot
openshift-merge-botBot merged commit 1eb9b70 into operator-framework:mainNov 17, 2025
31 of 33 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by an approver from all required OWNERS files.lgtmIndicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@camilamacedo86@tmshort@anik120