Skip to content

Conversation

@tommyd450
Copy link
Contributor

@tommyd450 tommyd450 commented Sep 12, 2025

Summary by Sourcery

Create and organize new ReleasePlan resources and Kustomize overlays to support automated candidate promotions for model-validation-operator, mvo-fbc, and related components

New Features:

  • Add ReleasePlan CRD definitions for model-validation-operator and mvo-fbc candidate promotions
  • Introduce Kustomize overlays for component release plans: model-transparency, rhtas-console, and model-validation-operator
  • Add versioned Kustomize overlays for mvo-fbc streams v4-14 through v4-19 with an aggregate kustomization

@sourcery-ai
Copy link

sourcery-ai bot commented Sep 12, 2025

Reviewer's Guide

This PR introduces new ReleasePlan definitions for the model-validation-operator and its FBC variant, and sets up Kustomize overlays (with patches and kustomization manifests) for multiple components and versioned FBC overlays.

File-Level Changes

Change Details Files
Add base ReleasePlan resources for operator and FBC components
  • Create releaseplan.yaml for model-validation-operator base
  • Create releaseplan.yaml for mvo-fbc base
  • Add base kustomization.yaml to include respective releaseplan
konflux-configs/releasePlans/promoteToCandidateRPs/model-validation-operator/base/releaseplan.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/base/releaseplan.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/model-validation-operator/base/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/base/kustomization.yaml
Introduce overlay patches for each component and FBC version
  • Add patch.yaml for model-transparency overlay
  • Add patch.yaml for rhtas-console overlay
  • Add patch.yaml for model-validation-operator overlay
  • Add patch.yaml for mvo-fbc-v4-14 through v4-19 overlays
konflux-configs/releasePlans/promoteToCandidateRPs/components/overlays/model-transparency/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/components/overlays/rhtas-console/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/model-validation-operator/overlays/model-validation-operator/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-14/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-15/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-16/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-17/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-18/patch.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-19/patch.yaml
Configure Kustomize overlays and aggregations
  • Add kustomization.yaml for each component and version overlay
  • Define nameSuffix and resource references in overlays
  • Create aggregator kustomization for mvo-fbc versions
konflux-configs/releasePlans/promoteToCandidateRPs/components/overlays/model-transparency/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/components/overlays/rhtas-console/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/model-validation-operator/overlays/model-validation-operator/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-14/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-15/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-16/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-17/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-18/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/mvo-fbc-v4-19/kustomization.yaml
konflux-configs/releasePlans/promoteToCandidateRPs/mvo-fbc/overlays/kustomization.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey there - I've reviewed your changes - here's some feedback:

  • The metadata.name fields (e.g. "promote-to-candidate-") are missing their component/version suffixes, please fill in the full resource names.
  • In the rhtas-console overlay kustomization, the nameSuffix is still set to "model-transparency" – update it to the correct suffix for rhtas-console.
  • There’s a lot of repeated overlay boilerplate for each mvo-fbc version—consider automating or templating these files to reduce duplication.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The metadata.name fields (e.g. "promote-to-candidate-") are missing their component/version suffixes, please fill in the full resource names.
- In the rhtas-console overlay kustomization, the nameSuffix is still set to "model-transparency" – update it to the correct suffix for rhtas-console.
- There’s a lot of repeated overlay boilerplate for each mvo-fbc version—consider automating or templating these files to reduce duplication.

## Individual Comments

### Comment 1
<location> `konflux-configs/releasePlans/promoteToCandidateRPs/components/overlays/rhtas-console/kustomization.yaml:4` </location>
<code_context>
+resources:
+- ../../../components/base
+
+nameSuffix: model-transparency
+
+apiVersion: kustomize.config.k8s.io/v1beta1
</code_context>

<issue_to_address>
The nameSuffix value may be incorrect for rhtas-console overlay.

Update nameSuffix to 'rhtas-console' for clarity and consistency in resource naming.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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.

1 participant