Skip to content

feat(cli/exp): extend scaletest create-workspaces with --retry option #11825

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
merged 3 commits into from
Jan 26, 2024

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Jan 25, 2024

This adds a --retry N option to coder exp create-workspaces that attempts to create a new start build if the previous one fails up to N times.

Part of #11801

@mafredri mafredri self-assigned this Jan 25, 2024
@mafredri mafredri requested a review from johnstcn January 25, 2024 18:10
TemplateVersionID: req.TemplateVersionID,
})
if err != nil {
return xerrors.Errorf("create workspace build: %w", err)
Copy link
Member Author

Choose a reason for hiding this comment

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

Review: We could simply retry here, but I think it's unlikely another attempt will work if we can't create builds at all.

@mafredri mafredri changed the title feat(cli/exp): add --retry to scaletest create-workspaces feat(cli/exp): extend scaletest create-workspaces with --retry option Jan 25, 2024
@mafredri mafredri enabled auto-merge (squash) January 26, 2024 11:28
@mafredri mafredri merged commit 0212475 into main Jan 26, 2024
@mafredri mafredri deleted the mafredri/scaletest-add-workspace-create-retry branch January 26, 2024 11:29
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2024
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.

2 participants