Skip to content

fix(dynamic-plugins): generate entries with enabled key - #224

Merged
hopehadfield merged 4 commits into
redhat-developer:mainfrom
hopehadfield:feat/rhidp-17293-deprecate-disabled
Sep 29, 2026
Merged

hopehadfield merged 4 commits into
redhat-developer:mainfrom
hopehadfield:feat/rhidp-17293-deprecate-disabled

Conversation

@hopehadfield

Copy link
Copy Markdown
Member

Summary

  • Emit enabled: true rather than deprecated disabled: false when plugin dev writes its generated local configuration and plugin package prints dynamic-plugin configuration.
  • Update the CLI documentation examples to use enabled: true.

Related: RHIDP-17293. The installer deprecation warning is in rhdh-plugins#5023.

Validation

  • yarn lint:check
  • yarn prettier:check
  • yarn tsc
  • yarn jest --config node_modules/@backstage/cli-module-test-jest/config/jest.js --runInBand --coverage=false src/commands/dev/command.test.ts src/commands/package-dynamic-plugins/command.test.ts (67 tests passed)

Use enabled in CLI-generated plugin configuration and documentation examples instead of deprecated disabled.

Refs: RHIDP-17293

Assisted-by: gpt-6-sol
Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>

@davidfestal davidfestal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you want to update the package.json ad ChangeLog ?

@nickboldt

Copy link
Copy Markdown
Member

I suspect you'll want to cherrypick this to the release-2.1 branch too.

Refs: RHIDP-17293
Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
@hopehadfield

Copy link
Copy Markdown
Member Author

/cherry-pick release-2.1

@openshift-cherrypick-robot

Copy link
Copy Markdown

@hopehadfield: once the present PR merges, I will cherry-pick it on top of release-2.1 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-2.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@hopehadfield
hopehadfield merged commit 9654b62 into redhat-developer:main Sep 29, 2026
15 of 16 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown

@hopehadfield: new pull request created: #227

Details

In response to this:

/cherry-pick release-2.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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.

5 participants