Open
Conversation
🚀 Release Plan🏷️ Release skipped — |
|
Code coverage summary for 2c5df73: ✅ Region coverage 74% passes |
a55a1fc to
f6adabb
Compare
Currently Github API has a delay when indexing commit-to-PR association, which causes the CI to fail because it cannot get the PR issue number from the commit when a merge rebase comes in. Hence the polling will add a delay to allow us to get PR issue number after indexing has completed. Here are some resources that suggests this same issue: - jwalton/gh-find-current-pr#42 - python/the-knights-who-say-ni#86 - https://github.com/orgs/community/discussions/51962
f6adabb to
50a7b86
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On push events like rebase merges to main, gh-find-current-pr sometimes fails to resolve the PR due to github's commit-to-PR indexing delay.
We will introduce polling to wait for the indexing and then get the PR issue number.