Skip to content

chore(scaletest/createworkspaces): address context usage #16306

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

johnstcn
Copy link
Member

Fixes coder/internal#324

We had been using a testutil.Context in combination with a separate context.WithTimeout() that smelled iffy to me.

Also reworked part of the second require.Eventually loop to pull a job ID from the first one, and added some more logging to aid future debugging.

@johnstcn johnstcn self-assigned this Jan 28, 2025
@johnstcn johnstcn requested a review from mafredri January 28, 2025 14:59
@johnstcn johnstcn merged commit 279c08e into main Jan 28, 2025
32 checks passed
@johnstcn johnstcn deleted the cj/chore/flake-scaletest-createworkspaces-cleanup-pending-build branch January 28, 2025 15:28
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flake: scaletest/createworkspaces: Test_Runner/CleanupPendingBuild: condition was never satisfied
2 participants