Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Test flake in TestWorkspaceStatus #4333

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 2 commits into from
Oct 3, 2022
Merged

fix: Test flake in TestWorkspaceStatus #4333

merged 2 commits into from
Oct 3, 2022

Conversation

kylecarbs
Copy link
Member

This also changes the status to be on the workspace build, since that's where the true value is calculated. This exposed a bug where jobs could never enter the canceled state unless fetched by a provisioner daemon, which was nice to fix!

See: https://github.com/coder/coder/actions/runs/3175304200/jobs/5173479506

@kylecarbs kylecarbs requested a review from f0ssel October 3, 2022 15:58
@kylecarbs kylecarbs self-assigned this Oct 3, 2022
@kylecarbs kylecarbs requested a review from a team as a code owner October 3, 2022 15:58
@kylecarbs kylecarbs requested review from Kira-Pilot and removed request for a team October 3, 2022 15:58
@f0ssel
Copy link
Contributor

f0ssel commented Oct 3, 2022

Glad that test caught a bug :)

This also changes the status to be on the workspace build, since
that's where the true value is calculated. This exposed a bug where
jobs could never enter the canceled state unless fetched by a
provisioner daemon, which was nice to fix!

See: https://github.com/coder/coder/actions/runs/3175304200/jobs/5173479506
@kylecarbs kylecarbs merged commit df2649e into main Oct 3, 2022
@kylecarbs kylecarbs deleted the fixflake branch October 3, 2022 16:43
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.

3 participants