Skip to content

🐛 Upgrade boxcutter to v0.13.1 and remove collision detection workaround#2637

Open
camilamacedo86 wants to merge 1 commit intooperator-framework:mainfrom
camilamacedo86:fix-change
Open

🐛 Upgrade boxcutter to v0.13.1 and remove collision detection workaround#2637
camilamacedo86 wants to merge 1 commit intooperator-framework:mainfrom
camilamacedo86:fix-change

Conversation

@camilamacedo86
Copy link
Copy Markdown
Contributor

Boxcutter v0.13.1 includes the fix from package-operator/boxcutter#501 which ensures collision detection runs before revision linearity checks.

This allows us to remove the foreignRevisionController workaround that was manually detecting ActionProgressed objects owned by foreign ClusterExtensions.

Boxcutter v0.13.1 includes the fix from package-operator/boxcutter#501 which ensures collision detection runs before revision linearity checks.

This allows us to remove the foreignRevisionController workaround that was manually detecting ActionProgressed objects owned by foreign ClusterExtensions.

Assisted-by: Claude
Copilot AI review requested due to automatic review settings April 9, 2026 11:11
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit c2e123b
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/69d78966339a290007f959d6
😎 Deploy Preview https://deploy-preview-2637--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.

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 9, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign grokspawn for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@camilamacedo86 camilamacedo86 changed the title Upgrade boxcutter to v0.13.1 and remove collision detection workaround 🐛 Upgrade boxcutter to v0.13.1 and remove collision detection workaround Apr 9, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the Boxcutter dependency to v0.13.1 to rely on upstream collision detection ordering fixes, allowing removal of a local workaround that manually detected collisions for foreign ClusterObjectSet ownership.

Changes:

  • Bump pkg.package-operator.run/boxcutter to v0.13.1 (and associated module sums).
  • Remove the “foreign revision controller” collision-detection workaround from the ClusterObjectSet reconciler.
  • Update the foreign-collision unit test to expect ActionCollision rather than ActionProgressed.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
internal/operator-controller/controllers/revision_engine_factory.go Updates Boxcutter object engine construction to match the newer Boxcutter API.
internal/operator-controller/controllers/clusterobjectset_controller.go Removes sibling-listing + foreign-owner workaround and relies on Boxcutter’s collision reporting.
internal/operator-controller/controllers/clusterobjectset_controller_test.go Adjusts the foreign-collision test to assert collision behavior via ActionCollision.
go.mod Bumps Boxcutter to v0.13.1 (and also bumps a couple k8s module versions).
go.sum Updates checksums for Boxcutter v0.13.1 and fxamacker/cbor v2.9.1.

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.91%. Comparing base (7f1aa76) to head (c2e123b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2637      +/-   ##
==========================================
- Coverage   68.97%   68.91%   -0.07%     
==========================================
  Files         139      139              
  Lines        9891     9862      -29     
==========================================
- Hits         6822     6796      -26     
+ Misses       2561     2559       -2     
+ Partials      508      507       -1     
Flag Coverage Δ
e2e 37.42% <0.00%> (-0.14%) ⬇️
experimental-e2e 52.29% <100.00%> (+0.03%) ⬆️
unit 53.53% <0.00%> (-0.06%) ⬇️

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.

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.

2 participants