Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: skip Ignite app load for some commands #3972

Merged
merged 7 commits into from
Feb 16, 2024
Merged

Conversation

jeronimoalbi
Copy link
Member

Resolves #3929

@jeronimoalbi jeronimoalbi self-assigned this Feb 15, 2024
@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs component:cmd labels Feb 15, 2024
@jeronimoalbi
Copy link
Member Author

There is no need to check that apps are not registering commands for Ignite commands that doesn't allow apps because those commands are runnable (version, docs, ...) and there is a check that already validates that case

@jeronimoalbi jeronimoalbi marked this pull request as ready for review February 15, 2024 14:00
@julienrbrt julienrbrt added the backport/v28.x.y Backport to v28.x.y label Feb 15, 2024
Pantani
Pantani previously approved these changes Feb 15, 2024
All of the runnable commands that should not load Ignite apps are level
one commands (`ignite` command children), so a simple check is enough.
@jeronimoalbi jeronimoalbi requested a review from Pantani February 16, 2024 08:14
@Pantani Pantani enabled auto-merge (squash) February 16, 2024 23:05
@Pantani Pantani merged commit 82ec261 into main Feb 16, 2024
44 checks passed
@Pantani Pantani deleted the fix/improve-app-loading branch February 16, 2024 23:25
mergify bot pushed a commit that referenced this pull request Feb 16, 2024
* feat: skil Ignite app load for some commands

* chore: update changelog

* ci: fix linting issue

* fix: change app load check to validate level one commands only

All of the runnable commands that should not load Ignite apps are level
one commands (`ignite` command children), so a simple check is enough.

* chore: fix comment

---------

Co-authored-by: Danilo Pantani <danpantani@gmail.com>
(cherry picked from commit 82ec261)
julienrbrt pushed a commit that referenced this pull request May 29, 2024
* feat: skil Ignite app load for some commands

* chore: update changelog

* ci: fix linting issue

* fix: change app load check to validate level one commands only

All of the runnable commands that should not load Ignite apps are level
one commands (`ignite` command children), so a simple check is enough.

* chore: fix comment

---------

Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v28.x.y Backport to v28.x.y component:ci CI/CD workflow and automated jobs. component:cmd component:configs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent plugin load for some commands
4 participants