-
Notifications
You must be signed in to change notification settings - Fork 70
Plugin Owner Guide
As a plugin owner, you are responsible for maintaining the health and compatibility of your plugin within this dynamic plugins ecosystem. This guide outlines your obligations and best practices.
You are a plugin owner if you:
- Maintain the source plugin in upstream repositories (backstage/backstage, backstage/community-plugins, rhdh-plugins, etc.)
- Created or modified the overlay configuration for your plugin
- Are assigned as maintainer by your organization
| Area | Frequency | Criticality |
|---|---|---|
| Plugin Metadata updates | As needed | π‘ Medium |
| Meeting the quality bar for your declared support level | Every release | π΄ High |
| Package Metadata synchronization | Every release | π΄ High |
| Backstage version updates | When compatibility signals appear | π΄ High |
| Patch maintenance | As needed | π‘ Medium |
| Test validation | Every PR | π΄ High |
| Deprecation communication | As needed | π‘ Medium |
If you have been approved by RHDH PM, and a RHDHPLAN feature JIRA exists tracking the request, you will need additional metadata stored only in this repo.
These files are only required (if approved by PM) for inclusion in the Supported Plugins catalog or the curated Optional Extras catalog. If you are not being advertised in one of the catalogs, you can skip this step.
Your file should be under ../catalog-entities/extensions/plugins.
It should also be referenced from catalog-entities/extensions/plugins/all.yaml.
If PM approval includes grouping your plugin in an Extensions Collection (featured, recommended, cicd, openshift, redhat, etc.), add or update the relevant file under ../catalog-entities/extensions/collections and ensure it is referenced from catalog-entities/extensions/collections/all.yaml. Skip this unless PM has approved inclusion in a Collection.
Additionally, your package(s) must be listed in the package-list file for the catalog tier you are targeting. These files select which catalog index includes the package; they do not set the support level. Support level (for example community, tech-preview, or generally-available) is declared in Plugin and Package metadata YAML and can vary independently of which list a package appears in.
-
../rhdh-community-packages.txtβ curated Optional Extras catalog index tier (Community and Developer Preview) -
../rhdh-supported-packages.txtβ Supported Plugins catalog index tier (GA and TP) -
../default.packages.yamlβ GA packages only (support: generally-available), with PM approval tracked in an RHDHPLAN feature JIRA. List each package underenabled:(usable out of the box) ordisabled:(requires configuration before use). Do not add non-GA packages to this file.
PM approval decides whether your plugin is listed and in which catalog tier. It does not decide whether the plugin meets the bar for the support level you declare β that is a separate expectation, and it is the same for every owner, inside or outside Red Hat.
The requirements per support level are defined in RHDH Plugin Quality Requirements by Support Level, in the rhdh repository. In short:
| Declared level | What is expected |
|---|---|
| Generally Available | Unit and integration coverage floors, E2E smoke tests required for release, blocking security scan, 2 review approvals |
| Technology Preview | Coverage recommended, not enforced β but the full GA bar must be met before promotion to GA |
| Community | The published artifact installs and boots, and appConfigExamples are valid. Both are already checked automatically |
| Developer Preview | Nothing required |
Most of this is measured for you: the export, smoke, appConfigExamples and Backstage compatibility workflows in this repository run against every listed plugin. Coverage and E2E are the exception β they are only measured when your workspace carries e2e-tests/ and coverage-anchors/. Without those two directories, a coverage or E2E claim for a GA or TP plugin is taken on your word rather than measured. See Getting a Plugin Listed in the Extensions Catalog for what counts as evidence.
Your packages exist in two places that must stay in sync:
| Location | Files | Owner Updates |
|---|
| Source Repo | package.json, src/ | When you release new versions |
| Overlay Repo | source.json, metadata/*.yaml | When source changes |
What must match:
| Field | Source Location | Overlay Location |
|---|---|---|
| Version | package.json:version |
metadata/*.yaml:spec.version |
| Package name | package.json:name |
metadata/*.yaml:spec.packageName |
| Backstage deps | package.json:dependencies |
metadata/*.yaml:spec.backstage.supportedVersions |
| Description | package.json:description |
metadata/*.yaml:metadata.title |
β οΈ Warning: Metadata drift causes build failures, incorrect catalog entries, and compatibility issues.
See 04 - Metadata Synchronization for detailed procedures.
The target platform tracks Backstage releases. Your plugin must remain compatible with the version declared in versions.json.
Rather than following a fixed calendar cadence, watch for concrete signals that an update is needed:
- The Backstage Compatibility Report shows your workspace as incompatible
- A new platform release branch is being created and your plugin blocks it
- Automated discovery PRs fail the compatibility check for your workspace
- Upstream has released a version built against the current target Backstage version
When any of these signals appear:
- Check the target Backstage version in
versions.json - Find a plugin release compatible with that version
- Update
repo-refandrepo-backstage-versioninsource.json - Update
supportedVersionsin metadata files - Test with
/publishand/smoketest, and run workspace E2E validation when available for that workspace
See 01 - Getting Started: Testing Your Plugin for test workflow details.
See 05 - Version Updates for detailed procedures.
If your plugin requires patches:
| Task | When | Action |
|---|---|---|
| Verify patches apply | Every source update | Ensure patches don't conflict |
| Re-roll patches | When context changes | Update line numbers/context |
| Remove patches | When fix is upstream | Delete obsolete patches |
| Document patches | Always | Explain why each patch exists |
β οΈ Warning: Stale patches cause silent failures or unexpected behavior.
See 06 - Patch Management for detailed procedures.
When automated workflows fail on your workspace:
- Investigate immediately β Failures block releases
-
Check the error type:
- Build failure β Fix source or add patch
- Integrity failure β Sync metadata
- Test failure β Verify plugin loads correctly
- Open a PR with the fix
-
Validate with
/publishand/smoketestcommands
Notify downstream users when:
| Change | Communication |
|---|---|
| Breaking API changes | Update metadata, document migration |
| Deprecation | Add deprecation notice, timeline |
| New dependencies | Update plugins-list.yaml with embed args |
| Configuration changes | Update appConfigExamples in metadata |
Use this checklist when updating your plugin (triggered by a compatibility signal, a new upstream release, or a platform version bump):
## Plugin Maintenance - [Plugin Name] - [Date]
### Version Check
- [ ] Checked target Backstage version in versions.json
- [ ] Found a plugin release compatible with the target version
- [ ] Updated `source.json:repo-ref` and `repo-backstage-version`
- [ ] Updated `metadata/*.yaml:spec.version` and `spec.backstage.supportedVersions`
### Metadata Check
- [ ] Verified `spec.packageName` matches source `package.json:name`
- [ ] Reviewed and updated `appConfigExamples` if configuration changed
- [ ] Updated metadata links (source, issues, docs) if needed
- [ ] Updated support level in metadata: `spec.support.level` in Plugin YAML (`catalog-entities/extensions/plugins/`), and `spec.support` in Package YAML (`workspaces/*/metadata/`)
- [ ] Packages are listed in the correct catalog-tier file (`rhdh-community-packages.txt` for curated Optional Extras, or `rhdh-supported-packages.txt` for Supported Plugins) if PM-approved for catalog inclusion; support level in metadata matches the intended product status
- [ ] If GA and PM-approved, packages are listed in `default.packages.yaml` under `enabled:` or `disabled:` as appropriate; otherwise they must not be listed there
- [ ] If applicable and PM-approved, Collection membership under `catalog-entities/extensions/collections/` is correct
### Patch Check
- [ ] Verified all patches apply cleanly to current source
- [ ] Removed any patches that are now in upstream
- [ ] Documented any new patches required
### Test Validation
- [ ] PR created with updates
- [ ] `/publish` completed successfully
- [ ] `/smoketest` passed or manual testing completed
- [ ] Plugin still meets the quality expectations for its declared support level (see [Quality Expectations for the Level You Declare](Plugin-Owner-Guide#quality-expectations-for-the-level-you-declare))
- [ ] PR mergedOffboarding reverses the PM-gated catalog onboarding steps in Keep Plugin Metadata and Catalog Curation Files Up To Date, then removes workspace Package and Collection metadata. Confirm the plan with Product Management before changing files.
Offboarding takes one of two paths:
| Path | Outcome |
|---|---|
| Full retirement | Remove from all catalogs (Supported Plugins and curated Optional Extras) and delete overlay workspace content |
| Downgrade catalog tier | Move packages from the Supported Plugins list to the curated Optional Extras list (or remove Optional Extras listing entirely), and update support level in Plugin/Package metadata to match PMβs decision |
Notify customers before deprecation or removal so they have time to adapt:
| Support level | Notice guidance |
|---|---|
| GA (supported) | 2 full y-stream releases |
| Technology Preview | 1 full y-stream release recommended (not mandatory) |
| Developer Preview / Community | No SLA; advance notice not required |
For a GA supported plugin, coordinate via a RHDHPLAN Jira so PM can align on timeline, release-note warnings, and which y-stream release will include the change.
During the notice window, mark metadata as deprecated:
spec:
lifecycle: deprecated # Changed from 'active'
# Add deprecation noticeDocument the migration path for users, using an RHDHPLAN feature to track the documentation update (if applicable).
Submit a PR that updates or removes the same catalog artifacts added during onboarding (Keep Plugin Metadata and Catalog Curation Files Up To Date), plus Plugin, Package, Collection, and workspace files as required.
Package lists β remove or relocate entries in:
rhdh-supported-packages.txtrhdh-community-packages.txt-
default.packages.yaml(GA only; remove on retirement or when leaving GA)
Plugin / collection / package metadata under catalog-entities/extensions/ and workspaces/<name>/metadata/:
| Path | Full retirement | Downgrade (Supported Plugins β curated Optional Extras) |
|---|---|---|
Plugin YAML + plugins/all.yaml
|
Delete plugin file and drop from all.yaml
|
Update spec.support.level
|
Collection YAML + collections/all.yaml
|
Remove from any collections | Update if collection membership changes |
Package metadata (workspaces/*/metadata/*.yaml) |
Delete with the workspace | Update spec.support
|
| Package lists | Remove from all list files above | Move from rhdh-supported-packages.txt to rhdh-community-packages.txt (or remove if no longer in curated Optional Extras); remove from default.packages.yaml if present |
Full retirement β delete the workspace folder (source.json, plugins-list.yaml, metadata, patches, overlays). Document removal in release notes via the RHDHPLAN feature JIRA.
Important: Simply commenting out entries in
plugins-list.yamlor removing metadata files while keeping the workspace folder is not sufficient. If the workspace folder andsource.jsonremain, automatic discovery will detect the plugin again and propose re-adding it. To permanently remove a plugin, delete the entire workspace directory.
After the PR merges, catalog-index pipelines rebuild the indexes. Verify on the Plugin Catalog Index Status page that the plugin no longer appears as active (retirement) or appears only under the intended tier (downgrade). See 07 - Plugin Catalog Index.
If the plugin was built for Technology Preview or GA via the RHDH Konflux tenant, separately disable Tekton pipeline resources and, only when prior releases are EOL, deprecate or unpublish mapped Pyxis images.
That work lives outside this repo (RHDH plugin-catalog midstream). Contact the COPE team for details, and follow the offboarding guide (docs/OFFBOARD_KONFLUX.adoc in the plugin-catalog repo).
| Issue | Where to Go |
|---|---|
| Build failures | Check workflow logs, open issue |
| Patch conflicts | See 06 - Patch Management |
| Compatibility questions | Check the Backstage Compatibility Report |
| Process questions | Open a discussion or issue |
- 04 - Metadata Synchronization β Detailed sync procedures
- 05 - Version Updates β Version update guide
- 06 - Patch Management β Patch maintenance
- Backstage Compatibility Report
- Workspace Status Reports
- Plugin Catalog Index Status
- NFS Readiness Report
- 64 workspaces
- 10 with patches