Skip to content

e2e: copy the source pool's worker resources - #1691

Merged
Taahir Ahmed (ahmedtd) merged 1 commit into
agent-substrate:mainfrom
BenTheElder:e2e-pool-worker-size
Sep 17, 2026
Merged

Taahir Ahmed (ahmedtd) merged 1 commit into
agent-substrate:mainfrom
BenTheElder:e2e-pool-worker-size

Conversation

@BenTheElder

Copy link
Copy Markdown
Collaborator

A per-test WorkerPool copied the replicas, image, and sandbox class of the installed pool but not its pod template. Its workers declared no resources and so advertised no compute capacity. That did not matter while a worker held a single actor, because placement compared actor counts.

Copy the resources too. The parking suite needs them: a request parks when the worker is full.

Related to #1266

When we start advertising multiple actor support, this becomes a problem. Breaking out this small fix.

A per-test WorkerPool copied the replicas, image, and sandbox class of the
installed pool but not its pod template. Its workers declared no resources
and so advertised no compute capacity. That did not matter while a worker
held a single actor, because placement compared actor counts.

Copy the resources too. The parking suite needs them: a request parks when
the worker is full.
@HavenXia
Haven Xia (HavenXia) added this pull request to the merge queue Sep 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to Branch Protection failures Sep 17, 2026
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@ahmedtd
Taahir Ahmed (ahmedtd) added this pull request to the merge queue Sep 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to Branch Protection failures Sep 17, 2026
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@ahmedtd
Taahir Ahmed (ahmedtd) merged commit 2b9196e into agent-substrate:main Sep 17, 2026
11 checks passed
@bowei Bowei Du (bowei) added the kind/bug Something isn't working / bugfixes label Sep 17, 2026
@BenTheElder
Benjamin Elder (BenTheElder) deleted the e2e-pool-worker-size branch September 17, 2026 22:25
pull Bot pushed a commit to Future-Outlier/substrate that referenced this pull request Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/scheduling area/tests Enhancing / fixing test coverage. kind/bug Something isn't working / bugfixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants