Skip to content
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

Fix context cancel defer for commit status updates #408

Merged
merged 1 commit into from
Aug 29, 2022
Merged

Conversation

phillebaba
Copy link
Member

@phillebaba phillebaba commented Aug 26, 2022

This change fixes the cancel defer so that it is not cancelled before the go routine can run. The issue right now is that the Post function is cancelled prematurely.

Fixes #406

Signed-off-by: Philip Laine <philip.laine@gmail.com>
@stefanprodan stefanprodan changed the title Fix context cancel defer Fix context cancel defer for commit status updates Aug 26, 2022
@stefanprodan stefanprodan added the area/alerting Alerting related issues and PRs label Aug 26, 2022
@stefanprodan stefanprodan merged commit afb7ad8 into main Aug 29, 2022
@stefanprodan stefanprodan deleted the fix/context branch August 29, 2022 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/alerting Alerting related issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Github alert issue: "could not list commit statuses: context canceled"
2 participants