-
Notifications
You must be signed in to change notification settings - Fork 119
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
Bot failed to label PR #88
Comments
Logs says it the bot never got a |
Saw another instance just a bit ago: nodejs/node#9332 |
#9332 seems to be related to the fact that we only fetch the first 100 labels of the node repository. Pulled from the logs:
|
Ah ok |
nodejs/node#9422 was not automatically tagged as V8. The number of labels is at 100 exactly, so that shouldn't have been a problem? |
You're right, the
|
I think it may be because of the change in capitalization (to differentiate between node v8 and V8 the Google project)? The directory name is lowercase (deps/v8) but the label is V8. |
Yupp, agreed. My best guess is the node-repo.js#itemsInCommon(), made a simple script to verify it: function itemsInCommon (arr1, arr2) {
return arr1.filter((item) => arr2.indexOf(item) !== -1)
}
const existing = ['V8']
const resolved = ['v8']
console.log(itemsInCommon(existing, resolved))
// [] |
Perhaps we could just lowercase everything when comparing? |
New case: nodejs/node#9737 |
Yet another case of not getting the
|
Just realised we've got some deployment issues to resolve before blaming GitHub for not sending us all the events we should have gotten.
Both might be the reason we either don't see events logged, cause the logs are simply not complete or an even was pushed by GitHub while the bot was deploying. |
@phillipj Was there a deploy recently? nodejs/node#10156 is another example of no labels. |
Nope, no recent deploys. Looking at the systemd service supervising the bot, it might restarted two days ago. That should not have affected the PR 10156 tho since that's one day old. No traces of PR 10156 in the logs either 😞 |
Interesting... this time the repo's webhook logs show the "opened" notification was sent successfully (instead of failed in previous PRs) for that PR and it shows Express returned with 200 OK. |
Thanks for double checking that one, made me realise I did a mistake searching the logs previously. This got logged yesterday around the time it was opened and manually labeled:
The most interesting is I might have a look in a day or two, ideally reproducing it with a unit test in test/unit/node-labels.test.js. If someone wants to give it a shot in the meantime, please go ahead. |
I think I see the problem. PR incoming shortly... |
New one to look up: nodejs/node#10389 It was delivered successfully to the webhook with id:
|
@mscdex out of luck on this one, cause we're only keeping logs for 5 days. As of writing this, the oldest logs dates back to December 22th, meaning I was one day late for digging into the logs for PR 10389 -- sorry :/ |
Another one: nodejs/node#11116 Successfully delivered with id: ea83e700-e905-11e6-9cb8-05aedd60f8fd |
Here's the logs for ^ Stripped the verbose attempt backport logs, except for one line about not landing cleanly on v7 as an FYI. Shows the bot tried to add
|
@phillipj Right, but I've always seen it showing the bot adding them anyway. For example, just 5 hours prior to that another PR (nodejs/node#11113) was labelled in a similar way but it still shows the bot adding them. Interesting... |
Another: nodejs/node#11206 EDIT: it actually looks like a labeling failure for some reason. I will look into that ... |
Another PR: nodejs/node#11967 |
Thanks! Yet another 404 from GitHub I'm afraid.
|
@phillipj Could we add some kind of retry mechanism in case of 404? Like |
Yeah, sounds like a good idea 👍 |
Closing this somewhat general "failed to label" issue for now, better off with more focused issues per failed scenario. |
nodejs/node#9221
The text was updated successfully, but these errors were encountered: