Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(scaletest): avoid polling workspace builds during workspace-updates tests#20534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedOct 29, 2025
edited
Loading

This PR is just committing the changes I made while running theworkspace-updates load generator.

It ensures we're not polling the workspace build progress in the background (while we also watch for workspace updates via the tailnet), and also removes an unnecessary query to/api/v2/workspace/{id} after each workspace is built.

@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

Comment on lines +36 to +39
typeSlimWorkspacestruct {
ID uuid.UUID
Namestring
}
Copy link
MemberAuthor

@ethanndicksonethanndicksonOct 29, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm opting to return this new type here instead of thecodersdk.Workspace returned byCreateWorkspace, as I don't want callers ofRunReturningWorkspace to assume that thecodersdk.Workspace being returned contains the latest info about the build.

@ethanndicksonethanndickson marked this pull request as ready for reviewOctober 29, 2025 09:06
@ethanndicksonethanndickson merged commitb90c74a intomainOct 30, 2025
39 checks passed
@ethanndicksonethanndickson deleted the ethan/avoid-polling-workspace-updates-scaletest branchOctober 30, 2025 01:14
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 30, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@spikecurtisspikecurtisspikecurtis approved these changes

@kacpersawkacpersawAwaiting requested review from kacpersaw

Assignees

@ethanndicksonethanndickson

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ethanndickson@spikecurtis

[8]ページ先頭

©2009-2025 Movatter.jp