Skip to content

Conversation

@grokspawn
Copy link
Contributor

Description of the change:
Restores template creation by typename.

Motivation for the change:
The copy/paste bot used schema testing for by-version, and we didn't notice during review because all the tests and objects appeared to be named consistently and properly, when actually it was doing by-schema testing under the boilerplate. This PR refactors that logic branch to correctly hew to type.

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /docs
  • Commit messages sensible and descriptive

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

❌ Patch coverage is 45.45455% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.44%. Comparing base (501f99b) to head (fefe253).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
alpha/template/basic/basic.go 0.00% 4 Missing ⚠️
alpha/template/semver/semver.go 0.00% 4 Missing ⚠️
alpha/template/substitutes/substitutes.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1899      +/-   ##
==========================================
- Coverage   57.48%   57.44%   -0.04%     
==========================================
  Files         138      139       +1     
  Lines       13307    13323      +16     
==========================================
+ Hits         7649     7653       +4     
- Misses       4476     4488      +12     
  Partials     1182     1182              

☔ 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.

Signed-off-by: grokspawn <jordan@nimblewidget.com>
@grokspawn grokspawn force-pushed the template-render-regression-fix branch from 1b3ab1c to fefe253 Compare February 3, 2026 21:11
@tmshort
Copy link
Contributor

tmshort commented Feb 3, 2026

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 3, 2026
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

Copy link
Contributor

@oceanc80 oceanc80 left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 4, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: oceanc80, rashmigottipati

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 Feb 4, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit 38743e0 into operator-framework:master Feb 4, 2026
11 of 14 checks passed
@grokspawn grokspawn deleted the template-render-regression-fix branch February 4, 2026 14:07
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. go-apidiff-override lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants