feat(extensions-schema): allow production support level for plugin metadata#2407
feat(extensions-schema): allow production support level for plugin metadata#2407polasudo wants to merge 11 commits intoredhat-developer:mainfrom
Conversation
…tadata Add `production` to the allowed values for `spec.support.level` in the extensions plugins schema so downstream metadata can consistently use production without schema validation errors. Made-with: Cursor
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
…uction Remove remaining generally-available usage across extensions schema, types, examples, docs, and e2e references so production is the single support-level term used consistently. Made-with: Cursor
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
Add missing changeset for @red-hat-developer-hub/backstage-plugin-extensions-common so the PR includes the required version bump metadata. Made-with: Cursor
Replace outdated GENERALLY_AVAILABLE enum checks with PRODUCTION in extensions UI filtering and badge logic to match the renamed support level enum. Made-with: Cursor
Remove unused React runtime import and disable legacy react-in-jsx-scope lint rule for this file so TypeScript and lint checks both pass with modern JSX transform. Made-with: Cursor
Regenerate and commit API extractor report files after support-level and translation surface changes so API report checks pass in CI. Made-with: Cursor
The report was generated by build:api-reports internal compilation which produces a different key ordering than tsc:full. CI runs tsc:full first, then build:api-reports:only --ci, so the committed report must match the tsc:full declaration output ordering. Made-with: Cursor
Record the production terminology migration as a breaking change for extensions-common and document migration guidance for generally-available metadata. Made-with: Cursor
Change support-level terminology from 'generally-available' to 'production' in various schemas and documentation.
christoph-jerolimov
left a comment
There was a problem hiding this comment.
I like to understand this (to me) ad hoc change of an API before we continue.
Well, to quote myself in RHIDP-12372:
If you would prefer to use cc: @kim-tsao |
|
New changes are detected. LGTM label has been removed. |
|






Jira: https://issues.redhat.com/browse/RHIDP-12372
User description
Summary
productionto the allowed enum values forspec.support.levelinworkspaces/extensions/json-schema/plugins.jsonWhy
Overlays metadata is being normalized to use
productionconsistently. This schema update ensures plugin metadata validates correctly when that value is used.Test plan
productioninsupport.levelenumgenerally-available,tech-preview,dev-preview,community,none) remain supportedMade with Cursor
PR Type
Enhancement
Description
Add
productionto allowed enum values forspec.support.levelEnables plugin metadata to use production support level consistently
Maintains backward compatibility with existing support level values
Diagram Walkthrough
File Walkthrough
plugins.json
Add production to support level enumworkspaces/extensions/json-schema/plugins.json
productionto thespec.support.levelenum values