Skip to content

fix: Update github.com/coder/retry to remove initial delay #6160

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 6 commits into from
Feb 13, 2023

Conversation

mafredri
Copy link
Member

@mafredri mafredri self-assigned this Feb 10, 2023
// This could be racy since we don't guarantee that agent all
// lifecycles are reported (if they happen in quick succession).
wait("agent lifecycle starting")
wait("agent lifecycle ready")
Copy link
Member Author

Choose a reason for hiding this comment

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

Updated retry surfaced this issue. We should look into refactoring this test to be more reliable, e.g. by verifying why we got the updated workspace state.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, improved this slightly by checking agent statuses.

@mafredri mafredri marked this pull request as ready for review February 10, 2023 19:06
@mafredri mafredri requested a review from kylecarbs February 10, 2023 19:06
@mafredri mafredri merged commit a56df46 into main Feb 13, 2023
@mafredri mafredri deleted the mafredri/update-retry branch February 13, 2023 09:54
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2023
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