Skip to content

fix(plugin-export): stop shipping legacy backend config schema - #219

Merged
hopehadfield merged 2 commits into
redhat-developer:mainfrom
hopehadfield:chore/rhidp-17026-drop-legacy-schema-export
Sep 28, 2026
Merged

hopehadfield merged 2 commits into
redhat-developer:mainfrom
hopehadfield:chore/rhidp-17026-drop-legacy-schema-export

Conversation

@hopehadfield

Copy link
Copy Markdown
Member

Summary

  • Export a single schema at dist/.config-schema.json for backend plugins, backend modules, frontend plugins, and frontend modules.
  • Remove a stale dist/configSchema.json from backend dist-dynamic output on re-export, including when --clean was not used.
  • Add export-command tests for all four roles and record the change under Unreleased.

Why

RHDH stopped reading the legacy backend schema in rhdh#5470. Keeping a second copy in newly exported plugins no longer serves the current RHDH schema loader. The overlays smoke-harness update has also merged and now checks the modern path.

Older RHDH releases that still read only dist/configSchema.json require an older release-matched CLI.

Validation

  • corepack yarn@4.17.1 install --immutable
  • corepack yarn@4.17.1 build
  • corepack yarn@4.17.1 lint:check
  • corepack yarn@4.17.1 prettier:check
  • corepack yarn@4.17.1 tsc
  • corepack yarn@4.17.1 backstage-cli package test --ci --watch=false --runInBand --coverage=false — 23 suites, 288 tests passed

Related: RHIDP-17026

Assisted-by: OpenAI Codex
Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
@sonarqubecloud

Copy link
Copy Markdown

@hopehadfield
hopehadfield merged commit 6e15dad into redhat-developer:main Sep 28, 2026
16 checks passed
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.

2 participants