Skip to content

[release-4.22] feat: add feature status generator from metadata.yaml - #325

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift-virtualization:release-4.22from
openshift-cherrypick-robot:cherry-pick-271-to-release-4.22
Aug 20, 2026
Merged

[release-4.22] feat: add feature status generator from metadata.yaml#325
openshift-merge-bot[bot] merged 1 commit into
openshift-virtualization:release-4.22from
openshift-cherrypick-robot:cherry-pick-271-to-release-4.22

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #271

/assign tiraboschi

@github-actions

Copy link
Copy Markdown
Contributor

Generated Files Verification Failed

One or more generated files in this PR are out of sync:

  • CRDs: Run make update-crds if CRD verification failed
  • RBAC: Run make generate-rbac if RBAC verification failed

Please regenerate the files locally and commit the changes.

…bug endpoint

Structured approach to the feature maturity table proposed in
openshift-virtualization#251

Instead of a manually-maintained table, features are declared in
metadata.yaml alongside assets. Shared derivation logic in pkg/assets
builds the catalog for both the generator and the debug server:

- docs/generated/feature-status.json: structured data for CI/tests
- README.md: markdown table injected between sentinel comments
- /debug/features: live feature catalog on the debug server

Key design decisions:
- Coverage validation: every asset must be covered by a feature entry
  or explicitly listed in excluded_assets, preventing silent gaps.
- Soft dependencies: features can declare a requires field listing
  operators that must be installed for the feature to activate.
- Framework maturity: tracked separately (currently TP) and rendered
  as a note above the feature table; will be removed at GA.
- Maturity auto-derivation: install:always assets without explicit
  maturity are classified as GA; opt-in features need dp or tp.
- Opt-in reporting: only user-facing conditions (annotations, feature
  gates, HCO prerequisites) appear in generated output; internal gates
  such as topology, hardware detection, and image availability are
  omitted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
@tiraboschi
tiraboschi force-pushed the cherry-pick-271-to-release-4.22 branch from ae2b2dc to fb82bd9 Compare August 20, 2026 08:49
@tiraboschi

Copy link
Copy Markdown
Member

/approve
/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Aug 20, 2026
@openshift-ci

openshift-ci Bot commented Aug 20, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tiraboschi

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-merge-bot
openshift-merge-bot Bot merged commit 3065f92 into openshift-virtualization:release-4.22 Aug 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants