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: don't update backportable check with queued status #291

Closed
wants to merge 1 commit into from

Conversation

dsanders11
Copy link
Member

When a PR is labeled with multiple X labels at the same time, trop ends up getting X events (one for each label) but then looks at all the labels on the PR (which sees the final state with Y target/* labels) and kicks off checks for each of them. The duplicate runs get ignored by enterQueue, but currently the status of the check can be overwritten by one of these duplicate runs due to race conditions.

The juice isn't worth the squeeze on trying to get octokit.checks.update calls working robustly if the check already exists (without risking overwriting) so just remove it all together.

@dsanders11 dsanders11 closed this May 7, 2024
@dsanders11 dsanders11 deleted the fix/remove-queued-update branch May 7, 2024 17:27
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.

None yet

1 participant