Skip to content

Conversation

@perdasilva
Copy link
Contributor

@perdasilva perdasilva commented Nov 19, 2025

Description

Update the ClusterExtensionRevision API docstrings to provide more thorough API documentation for the user.

Note: changes were generated using AI tools and manually updated

Reviewer Checklist

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

Copilot AI review requested due to automatic review settings November 19, 2025 10:25
@perdasilva perdasilva requested a review from a team as a code owner November 19, 2025 10:25
@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit a10c906
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/69241125ffba1a0008f258d8
😎 Deploy Preview https://deploy-preview-2350--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.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2025
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

Much better 🎉

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented Nov 19, 2025

Hi @perdasilva

Can we fix the emoj for 📖 ( docs )?

@perdasilva perdasilva changed the title 🌱 Update ClusterExtensionRevision API docs 📖 : Update ClusterExtensionRevision API docs Nov 19, 2025
@perdasilva perdasilva changed the title 📖 : Update ClusterExtensionRevision API docs 📖 Update ClusterExtensionRevision API docs Nov 19, 2025
Copy link

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

This pull request updates the ClusterExtensionRevision API documentation to provide more comprehensive and detailed descriptions for developers and users.

  • Enhanced top-level API documentation explaining the purpose and lifecycle of ClusterExtensionRevisions
  • Improved field documentation with detailed explanations of behavior for spec and status fields
  • Expanded condition documentation explaining all possible condition types, reasons, and their meanings

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
api/v1/clusterextensionrevision_types.go Updated Go API type definitions with comprehensive docstrings for ClusterExtensionRevision types, fields, and constants
manifests/experimental.yaml Generated CRD manifest with updated OpenAPI schema descriptions matching the Go API documentation
manifests/experimental-e2e.yaml Generated E2E CRD manifest with updated OpenAPI schema descriptions matching the Go API documentation
helm/olmv1/base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensionrevisions.yaml Helm chart CRD with updated OpenAPI schema descriptions matching the Go API documentation

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

@camilamacedo86
Copy link
Contributor

@perdasilva I think it is also valid to address the Copilot reviews. WDYT?

@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.30%. Comparing base (1355ff7) to head (a10c906).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2350      +/-   ##
==========================================
+ Coverage   74.23%   74.30%   +0.06%     
==========================================
  Files          91       91              
  Lines        7239     7239              
==========================================
+ Hits         5374     5379       +5     
+ Misses       1433     1429       -4     
+ Partials      432      431       -1     
Flag Coverage Δ
e2e 44.29% <ø> (-0.07%) ⬇️
experimental-e2e 48.55% <ø> (+0.07%) ⬆️
unit 58.54% <ø> (ø)

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.

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2025
@perdasilva
Copy link
Contributor Author

@perdasilva I think it is also valid to address the Copilot reviews. WDYT?

Done =D

Copy link

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


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

Copy link
Member

@rashmigottipati rashmigottipati left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2025
@tmshort
Copy link
Contributor

tmshort commented Nov 19, 2025

/hold
@perdasilva: To allow other people to give it a look while I throw on an approval. Please remove when you think we've had enough eyes on it.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 19, 2025
@tmshort
Copy link
Contributor

tmshort commented Nov 19, 2025

/approve

@openshift-ci
Copy link

openshift-ci bot commented Nov 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, rashmigottipati, tmshort

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

The pull request process is described here

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 19, 2025
@perdasilva
Copy link
Contributor Author

/hold @perdasilva: To allow other people to give it a look while I throw on an approval. Please remove when you think we've had enough eyes on it.

good thinking! thank you!!

Copy link
Contributor

@michaelryanpeter michaelryanpeter left a comment

Choose a reason for hiding this comment

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

So I've looked it over, and I think it is pretty good overall, but I find the way that the LLM described the fields to be really confusing. For example, "phases is an optional, immutable list of phases..." or "objects is...". I think that something like "the phases property/field specifies an optional, immutaable list of phases. A phase is a ..." would be easier to grok. But I don't think this is a blocker and I know time is tight. Since it is tech preview, we can update these comments right?

Objects within a phase are applied simultaneously, and all objects must pass their
readiness probes before the revision progresses to the next phase. Phases are applied
in a well-defined order based on the types of objects they contain.
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't this contradict line 116?

Signed-off-by: Per Goncalves da Silva <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 24, 2025
@openshift-ci
Copy link

openshift-ci bot commented Nov 24, 2025

New changes are detected. LGTM label has been removed.

@perdasilva
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 24, 2025
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants