Skip to content

Conversation

thetechnick
Copy link
Contributor

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 30, 2025
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 30, 2025
Copy link

netlify bot commented Apr 30, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit c175077
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/68baf6fcf5e41e00089e74de
😎 Deploy Preview https://deploy-preview-1946--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.

Comment on lines 195 to 360
hasher.Reset()

printer := spew.ConfigState{
Indent: " ",
SortKeys: true,
DisableMethods: true,
SpewKeys: true,
}
if _, err := printer.Fprintf(hasher, "%#v", objectToWrite); err != nil {
panic(err)
}
Copy link
Member

Choose a reason for hiding this comment

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

Is this an OLM-ism or a boxcutter-ism? I wonder if json.NewEncoder(hasher).Encode(objectToWrite) would be better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 7, 2025
@perdasilva perdasilva force-pushed the poc-boxcutter branch 2 times, most recently from 1c23866 to dc66501 Compare July 15, 2025 11:12
@perdasilva perdasilva changed the title POC: Implement Boxcutter ✨ Implement Boxcutter Jul 15, 2025
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

❌ Patch coverage is 71.41553% with 313 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.03%. Comparing base (c7a6ba7) to head (c175077).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...controllers/clusterextensionrevision_controller.go 78.13% 56 Missing and 12 partials ⚠️
internal/operator-controller/applier/boxcutter.go 74.29% 42 Missing and 22 partials ⚠️
api/v1/zz_generated.deepcopy.go 48.62% 52 Missing and 4 partials ⚠️
cmd/operator-controller/main.go 72.83% 31 Missing and 16 partials ⚠️
...perator-controller/rukpak/util/testing/bundlefs.go 0.00% 42 Missing ⚠️
internal/operator-controller/applier/helm.go 57.14% 10 Missing and 5 partials ⚠️
...troller/controllers/clusterextension_controller.go 89.47% 9 Missing and 3 partials ⚠️
internal/operator-controller/applier/preflight.go 40.00% 8 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1946      +/-   ##
==========================================
- Coverage   72.79%   72.03%   -0.76%     
==========================================
  Files          79       85       +6     
  Lines        7421     8332     +911     
==========================================
+ Hits         5402     6002     +600     
- Misses       1670     1927     +257     
- Partials      349      403      +54     
Flag Coverage Δ
e2e 39.42% <13.67%> (-4.78%) ⬇️
experimental-e2e 46.10% <58.40%> (-10.03%) ⬇️
unit 56.67% <44.10%> (-1.69%) ⬇️

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.

@perdasilva perdasilva force-pushed the poc-boxcutter branch 6 times, most recently from 35cdf3b to 370bac6 Compare July 21, 2025 16:28
@perdasilva perdasilva force-pushed the poc-boxcutter branch 9 times, most recently from 4f39c38 to 842037e Compare July 23, 2025 15:27
Per Goncalves da Silva and others added 28 commits September 5, 2025 16:42
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Joe Lanford <[email protected]>
Signed-off-by: Todd Short <[email protected]>
Ensure informers are started before reconciling and stopped before
removing the finalizer.
This change accommodates the possibility of a revision that is currently
rolling out, which is possible for appliers that perform rollouts
asynchronously.

Signed-off-by: Joe Lanford <[email protected]>
Signed-off-by: Joe Lanford <[email protected]>
Defines a set of phases which facilitate a smoother installation vs applying every resource in the bundle all at once.

Signed-off-by: Daniel Franz <[email protected]>
Captures conditions and reasons used by ClusterExtensionRevision into consts.

Signed-off-by: Daniel Franz <[email protected]>
@thetechnick thetechnick merged commit e88a6ea into operator-framework:main Sep 8, 2025
23 of 25 checks passed
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.

6 participants