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

feat(scaletest): add runner for coder connect load gen#19904

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
ethanndickson merged 6 commits intomainfromethan/coder-connect-load-gen
Sep 30, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedSep 22, 2025
edited
Loading

Relates tocoder/internal#889.

This PR adds a scaletest runner that simulates a single Coder Connect client receiving workspace updates.

An instance of a workspace updates runner does the following:

  • Creates a user, if a session token is not supplied.
  • Attempts to repeatedly dial the Coder Connect endpoint, with a configurable (two minutes by default) timeout.
  • Once dialed successfully, waits for any other concurrently executing runners to also dial successfully, or timeout (using the barrier).
  • Starts a configurable number of workspace builds.
  • Waits for that many workspaces to be seen over the workspace updates stream (with a configurable timeout).

Exposes two prometheus metrics:

  • workspace_updates_latency_seconds -HistogramVec. Labels ={username, num_owned_workspaces, workspace_name}
    • This is the time between starting a workspace build, and receiving both the corresponding workspace update.
  • workspace_updates_errors_total -NewCounterVec. Labels ={username, num_owned_workspaces, action}
    • The number of times a specific action of the runner has failed, per user/client.

Copilot

This comment was marked as resolved.

@ethanndicksonethanndicksonforce-pushed theethan/coder-connect-load-gen branch frombbd79aa to987b7caCompareSeptember 22, 2025 09:16
@ethanndicksonethanndicksonforce-pushed theethan/coder-connect-load-gen branch from987b7ca to8e65461CompareSeptember 22, 2025 09:17
@ethanndicksonethanndickson marked this pull request as ready for reviewSeptember 22, 2025 09:28
@ethanndicksonethanndicksonforce-pushed theethan/coder-connect-load-gen branch 2 times, most recently from3f21341 tob2b1a1dCompareSeptember 23, 2025 12:09
@ethanndicksonethanndicksonforce-pushed theethan/coder-connect-load-gen branch 2 times, most recently fromd0ea40c to30cfbe3CompareSeptember 25, 2025 05:07
@ethanndicksonethanndickson changed the base branch fromethan/scaletest-barrier tomainSeptember 25, 2025 05:07
@ethanndicksonethanndicksonforce-pushed theethan/coder-connect-load-gen branch 2 times, most recently from27d2ee6 toabac612CompareSeptember 25, 2025 11:17
Copy link
Contributor

@spikecurtisspikecurtis left a comment

Choose a reason for hiding this comment

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

Comments inline, but I don't need to review again before merge.

@ethanndicksonethanndicksonforce-pushed theethan/coder-connect-load-gen branch fromabac612 tobdec78fCompareSeptember 25, 2025 12:38
@ethanndicksonGraphite App
Copy link
MemberAuthor

ethanndickson commentedSep 30, 2025
edited
Loading

Merge activity

  • Sep 30, 7:28 AM UTC: A user started a stack merge that includes this pull request viaGraphite.
  • Sep 30, 7:28 AM UTC:@ethanndickson merged this pull request withGraphite.

@ethanndicksonethanndickson merged commit65ac6cb intomainSep 30, 2025
32 checks passed
@ethanndicksonethanndickson deleted the ethan/coder-connect-load-gen branchSeptember 30, 2025 07:29
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 30, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

@spikecurtisspikecurtisspikecurtis approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ethanndickson@spikecurtis

[8]ページ先頭

©2009-2025 Movatter.jp