Skip to content

feat(scaletest): narrow createworkspaces workspace fetch to agents - #29346

Open
spikecurtis wants to merge 1 commit into
spikecurtis/workspace-sdk-include-relatedfrom
spikecurtis/scaletest-include-related
Open

spikecurtis wants to merge 1 commit into
spikecurtis/workspace-sdk-include-relatedfrom
spikecurtis/scaletest-include-related

Conversation

@spikecurtis

@spikecurtis spikecurtis commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Part of the lite codersdk.Workspace work (GRU-82, RFC). Stacked on #29284, which added include_related to codersdk.Client.Workspace.

Narrows the first client.Workspace call site to exercise include_related end to end.

In scaletest/createworkspaces, the fetched workspace is used only to find the first agent (workspace.LatestBuild.Resources -> Agents, reading agent.ID); no template, job, template version, apps, scripts, log sources, or metadata are read. The call now requests exactly latest_build.resources.agents via wsrelated.Config, so the load test stops fetching data it discards.

Testing

Test_Runner provisions 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.

@spikecurtis
spikecurtis added this pull request to stack #29285 September 15, 2026 12:14
@spikecurtis
spikecurtis requested a review from cstyan September 15, 2026 12:14
@spikecurtis
spikecurtis force-pushed the spikecurtis/scaletest-include-related branch from 6cecce9 to 5560ffa Compare September 15, 2026 12:16
@spikecurtis
spikecurtis marked this pull request as ready for review September 15, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant