Skip to content

🌱 Update api to v0.46.0 and operator-registry/v2 to alpha-3 - #3080

Merged
openshift-merge-bot[bot] merged 1 commit into
operator-framework:mainfrom
tmshort:chore/api-v0.46.0-registry-v2-alpha3
Nov 2, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
operator-framework:mainfrom
tmshort:chore/api-v0.46.0-registry-v2-alpha3

Conversation

@tmshort

@tmshort tmshort commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Description

Update github.com/operator-framework/api to v0.46.0 and migrate operator-registry imports and the direct dependency to github.com/operator-framework/operator-registry/v2@v2.0.0-alpha-3. The registry v2 module requires Go 1.26.5, so the module's Go version also advances.

The go-verdiff check requires the go-verdiff-override label for this necessary Go version update.

Validation

  • go mod tidy and go mod verify
  • go build -p 2 -tags=containers_image_openpgp ./cmd/...
  • go test -p 2 -tags=containers_image_openpgp for catalog metadata, resolver, registry v1 renderer, bundle utilities, and catalogd GraphQL, storage, and service packages. Tests needing localhost listeners were rerun with socket access.
  • git diff --check

Reviewer Checklist

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

Summary by CodeRabbit

  • Chores
    • Updated underlying platform and tooling components, including the operator registry, container image handling, and controller runtime.
    • No user-visible behavior changes are included.

@openshift-ci
openshift-ci Bot requested review from fgiudici and perdasilva October 28, 2026 19:11
@netlify

netlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 5675075
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/6ae8473360f36f9296f93150
😎 Deploy Preview https://deploy-preview-3080--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 2df234dd-157d-415e-8ae5-f4eb1459a59a
Commits

Reviewing files that changed from the base of the PR and between 13d9a4a and 5675075.

Files ignored due to path filters: 1
  • go.sum is excluded by !**/*.sum
Files selected for processing: 1
  • go.mod

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Walkthrough

The Go directive and dependencies are updated. Production and test imports across catalog and operator-controller packages now use operator-registry v2 paths. The supplied summaries report no test logic or runtime behavior changes.

Changes: Operator registry v2 migration

Layer / File(s) Summary
Update Go and dependency versions
go.mod
The Go directive changes to 1.26.5. Operator-registry changes to v2.0.0-alpha-3, and other direct and indirect dependencies are upgraded.
Move operator-registry imports to v2
internal/catalogd/..., internal/operator-controller/..., internal/testing/bundle/fs/bundlefs.go
Production and test imports use operator-registry v2 package paths. Test logic and runtime behavior are otherwise unchanged, according to the supplied summaries.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to 56750

No actionable merge-blocking defect is established. Confirm the required discussion and approval before merging.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the API update and operator-registry v2 migration. It is concise and directly related to the main changes.
Description check Passed The description explains the changes, motivation, Go version update, validation steps, and reviewer checklist. It is mostly complete, although API documentation and related issue links remain unchecke…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the changes, motivation, Go version update, validation steps, and reviewer checklist. It is mostly complete, although API documentation and related issue links remain unchecked.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 30 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@tmshort tmshort added dependencies Pull requests that update a dependency file go Pull requests that update Go code go-verdiff-override labels Oct 28, 2026
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 1, 2026
Signed-off-by: Todd Short <tshort@redhat.com>
@perdasilva
perdasilva force-pushed the chore/api-v0.46.0-registry-v2-alpha3 branch from 13d9a4a to 5675075 Compare November 2, 2026 08:17
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 2, 2026
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 2, 2026
@openshift-ci

openshift-ci Bot commented Nov 2, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: perdasilva

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-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 2, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 4bccc5c into operator-framework:main Nov 2, 2026
41 checks passed
@tmshort
tmshort deleted the chore/api-v0.46.0-registry-v2-alpha3 branch November 2, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dependencies Pull requests that update a dependency file go Pull requests that update Go code go-verdiff-override lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants