refactor(runners): introduce provider plugin framework - #5234
Open
edersonbrilhante wants to merge 18 commits into
Open
refactor(runners): introduce provider plugin framework#5234edersonbrilhante wants to merge 18 commits into
edersonbrilhante wants to merge 18 commits into
Conversation
Contributor
Dependency ReviewThe following issues were found:
License Issueslambdas/functions/control-plane/package.json
lambdas/functions/webhook/package.json
lambdas/libs/runner-providers/package.json
OpenSSF ScorecardScorecard details
Scanned Files
|
edersonbrilhante
marked this pull request as ready for review
July 31, 2026 19:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduce a shared runner-provider plugin framework so a provider is enabled once and its webhook, scale-up, scale-down, pool, and runner-resource capabilities are available through one registry facade.
runner-providerslibrary.This reduces the number of control-plane and webhook locations that must be changed when adding a runner provider.
Follow-up work
Some tests still need to move to the control-plane package instead of remaining with the EC2 plugin. The affected files contain groups of tests, so this cleanup requires moving individual test cases rather than relocating an entire block or file. It will be handled in a follow-up PR to keep this refactor reviewable.
This is why some EC2 provider tests currently import from
../../../../../../functions/control-plane. Those dependencies should be removed in the follow-up PR.Test Plan
runner-providers:testNx target.control-plane:testNx target.Related Issues
Follow-up: #5236.