feat(scaletest): narrow createworkspaces workspace fetch to agents - #29346
Open
spikecurtis wants to merge 1 commit into
Open
spikecurtis wants to merge 1 commit into
spikecurtis wants to merge 1 commit into
Conversation
spikecurtis
force-pushed
the
spikecurtis/scaletest-include-related
branch
from
September 15, 2026 12:16
6cecce9 to
5560ffa
Compare
spikecurtis
marked this pull request as ready for review
September 15, 2026 12:17
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.
Part of the lite
codersdk.Workspacework (GRU-82, RFC). Stacked on #29284, which addedinclude_relatedtocodersdk.Client.Workspace.Narrows the first
client.Workspacecall site to exerciseinclude_relatedend to end.In
scaletest/createworkspaces, the fetched workspace is used only to find the first agent (workspace.LatestBuild.Resources->Agents, readingagent.ID); no template, job, template version, apps, scripts, log sources, or metadata are read. The call now requests exactlylatest_build.resources.agentsviawsrelated.Config, so the load test stops fetching data it discards.Testing
Test_Runnerprovisions workspaces with agents and drives agent connections, so it covers the agent-finding path with the narrowed selection.Generated by Coder Agents on behalf of @spikecurtis.