-
Notifications
You must be signed in to change notification settings - Fork 6
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
Some PRs are missing from check #150
Comments
An update with some more details. Here's what happened.
So it seems like the original commit/branch never showed up in this resource's version check - this may be a bug in the resource. The 502 with GitHub I may just chalk up to an API hiccup or solar flare or something, could just be a coincidence. Anything else I can provide or check on? |
FWIW I had a teammate who also reported similar behavior where he said the pr-resource was not detecting a new version - apparently he was trying to close and re-open pull requests, but those weren’t being detected even though his webhooks were going through. our theory was that it was not detecting the version because the latest commit was unchanged (only the pr status was changing). I guess it would still help to have it mentioned in the documentation though, if this is intended behavior or not. |
Hi and thanks for the issue! First of all I'm wondering if maybe this is what you are seeing: In short, if the latest commit in a pull request is older than the latest discovered version, it will not be discovered. And the latest commit is determined by when you ran |
@itsdalmo ahhh yep that looks like exactly what happened. As I look back at the timestamps I see some other commits on other PRs at that time that got picked up. Also explains the "random" nature that we observe of this. Definitely sounds like undesirable behavior, but also sounds like a dupe of #26 so I will close this in favor of that. Thanks for pointing that out! |
We've been running this resource for a few weeks now with mostly great success. However, I have noticed that there is a small number of PRs in our repo that don't seem to get picked up. We've closed the PR and re-opened new ones and they still don't appear even though other PRs are getting picked up.
We don't (knowingly) have any kind of exclusion rules, here's the relevant YML for our pipeline:
I've looked at the concourse worker logs and don't see anything weird there either. What's the best next step for troubleshooting?
The text was updated successfully, but these errors were encountered: