-
Notifications
You must be signed in to change notification settings - Fork 70
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
[Chore]: Investigate why the github-pr-resource is occasionally skipping versions #1719
Comments
See telia-oss/github-pr-resource#26 Apparently this is an old issue that can occur when rebasing PR branches. The root cause seems to be that the The resource used to be checking the The obvious solution of this is to check However, there are forks of the project and one of them seem to be containing a fix we need: opendoor-labs/github-pr-resource#6 So what can we do:
|
This commit's message also provides some explanation: ctreatma/github-pr-resource@c9ee589 On standup today we discussed that we need to make sure that the issue above is the culprit. We should probably wait for the issue to occur and try debugging the check step of the resource to figure out why such PRs remain unnoticed. blocking until the issue appears again |
Add building the docker image to the ci-images pipeline and use the resulting image in the main PR pipeline Issue: cloudfoundry/korifi#1719 Co-authored-by: Kieron Browne <kbrowne@vmware.com>
We've decided to cherry-pick telia-oss/github-pr-resource#205 into eirini-forks. We agree with the argument that the date filtering is wrong and causes skips. We don't care about extra versions returned that concourse will filter out anyway. So it looks like a simple fix that we can maintain if upstream ever moves again. So let's see how this goes... |
Re-opening this as it missed 2 PRs this morning :( |
It was a pipeline problem. We set pr-label to trigger on all versions, and that will fix it. |
Background
We are leveraging the github-pr-resource to trigger the e2e tests on Concourse for every PR that comes in. For security reasons we are only running PRs that have the
e2e-allowed
label set on them. Theallow-e2e
task, which also watches PRs via the pr resource makes sure the test run is auto-approved if the commiter is a team member or one of our bots. Sadly, sometimes this resource skips some PRs, especially when there are many newly open PRs, like when dependabot does a few bumps. In such cases we need to manually allow e2e execution and potentially rebase or force push the change in order to trigger the tests. This is annoying and slows us down.Action to take
Look at the github-pr-resource source code and attempt to fix the problem
Impact
Smooth PR flow
Dev Notes
No response
The text was updated successfully, but these errors were encountered: