refactor(compute-providers): reuse EC2 runner clients - #5301
Open
edersonbrilhante wants to merge 5 commits into
Open
refactor(compute-providers): reuse EC2 runner clients#5301edersonbrilhante wants to merge 5 commits into
edersonbrilhante wants to merge 5 commits into
Conversation
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
edersonbrilhante
force-pushed
the
refactor-ec2-runner-orchestration-boundary
branch
from
August 27, 2026 10:48
fda6bc5 to
3ee6cad
Compare
edersonbrilhante
changed the base branch from
refactor-ec2-provider-isolation
to
refactor-ec2-runner-operations
August 27, 2026 10:49
edersonbrilhante
marked this pull request as draft
August 27, 2026 10:51
edersonbrilhante
force-pushed
the
refactor-ec2-runner-orchestration-boundary
branch
from
August 27, 2026 11:20
3ee6cad to
ce667cf
Compare
edersonbrilhante
changed the base branch from
refactor-ec2-runner-operations
to
refactor-pool-provider-test-boundary
August 27, 2026 11:21
edersonbrilhante
force-pushed
the
refactor-ec2-runner-orchestration-boundary
branch
2 times, most recently
from
August 27, 2026 11:50
af43f2b to
e8f4188
Compare
edersonbrilhante
marked this pull request as ready for review
August 27, 2026 12:12
edersonbrilhante
marked this pull request as draft
August 27, 2026 12:13
edersonbrilhante
changed the base branch from
refactor-pool-provider-test-boundary
to
refactor-control-plane-provider-neutral-tests
August 27, 2026 13:13
edersonbrilhante
force-pushed
the
refactor-ec2-runner-orchestration-boundary
branch
15 times, most recently
from
August 27, 2026 18:01
b390b74 to
6f4e8cf
Compare
edersonbrilhante
force-pushed
the
refactor-ec2-runner-orchestration-boundary
branch
from
August 27, 2026 18:08
6f4e8cf to
1f56d9a
Compare
edersonbrilhante
marked this pull request as ready for review
August 27, 2026 18:30
edersonbrilhante
force-pushed
the
refactor-ec2-runner-orchestration-boundary
branch
from
August 27, 2026 21:00
1f56d9a to
3d5186e
Compare
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
Depends on #5308.
Introduces an
Ec2RunnerClientthat owns a reusable EC2 client and exposes request-bound EC2 runner operations throughforRequest({ signal }). The control-plane registry creates the client once for the warm Lambda execution environment, and the pool, scale-up, and scale-down capabilities share those operations while keeping cancellation scoped to each request.The EC2 capability boundary now distinguishes resource operations from provisioning operations, uses consistent capability naming, and removes the legacy default-operation wrappers. Launch-template block-device lookup uses the same bound EC2 client, and runner creation is named separately from runner configuration.
Test Plan
git diff --check.Related Issues
None.