-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Tide isn't merging PRs due to GitHub search queries returning incorrect results #9001
Comments
eg: |
I think we have this too, for service-catalog, from the collapsed "merge requirements" section which has a link for all the github searches. giant github link should catch: |
another example
|
Here's one that @krzyzacy found. That shows that the results can include incorrect results in addition to just missing valid results. Thats a lot more concerning because that could allow Tide to consider a PR mergeable when it isn't. We haven't seen that happen yet, but if it does we should consider turning off Tide until this is resolved. |
Here is the original example from the Jetstack org. should contain both of these PRs: |
👍, if we're seeing PRs incorrectly included we should probably shut down tide. It's worrying though that we have no communication from github that this is known, so we won't know when it is fixed for sure either... |
https://status.github.com/messages has nothing for this still, have we gotten any response to support emails? |
No response to my support request, but I only sent it 45 mins ago. @munnerz sent one this morning and also contacted directly by email. |
Has anyone reached out to the CNCF Help Desk. They might have an existing relationship with Github. |
👋 GitHub search engineer here. I've dug through our code and identified the reason that these issues are not showing up in the search results. I'm able to reproduce the bug with three lines of ruby, and the correct team is looking at how to resolve the issue. A fix will be forthcoming "soon" (sorry for the nebulous software engineer answer there). I'll drop a note on this issue when things are resolved. |
Thanks @TwP! |
Thank you @TwP ! |
Note for our internal followup: the commenter (@fejta-bot) is being disabled as it wasn't able to search correctly and was spamming at least one issue. |
Deactivate fejta-bot until #9001 is fixed
@TwP will the status.github.com page be updated to reflect this regression in the search API? Other consumers should be made aware. |
First of all I want to give a big "thank you" to @spiffxp for including the example searches in this issue. That made the process of tracking down the root cause much much quicker 🙇♂️ The root issue here was the code that transforms markdown into plain text format. We use the CommonMarker ruby gem to strip markdown syntax from comments, issues bodies, pull request bodies, etc. while constructnig documents to send to the search index. There was a regression in the CommonMarker library addressed here gjtorikian/commonmarker#74. The regression triggered an assertion in the C-level code of the gem which then caused the Ruby interpreter to exit. Any issues or pull requests that included We have rolled out the patched CommonMarker code across our infrastructure, and we have started repair jobs that will reconcile the search indices with the database. While those jobs are running, if you run into further errant search results just add a reaction ❤️ or a comment to the item that is missing from your search results. That action will trigger an indexing event for the item. You'll need to wait a few minutes, too, for caches to clear before trying your query again to see the item in your results. Again, thank you for the excellent observations and write up here in this issue. On a personal note, thank you for all the work on Kubernetes. We are big fans at GitHub 🎉 |
I bumped the PRs listed in this thread and they were discovered by our merge automation 🎉 Thanks for your help @TwP! |
the real reason for reactions surfaces at last ;-) |
@TwP Thank you for your help and the detailed explanation! |
This reverts commit 3150971.
Revert "Deactivate fejta-bot until #9001 is fixed"
@TwP - how can I get some k8s swag to you for being super helpful? |
@parispittman thank you for the kind offer. I am all set on swag at the moment. Helping out teams is the fun part of the job, and it was a enjoyable little bug to hunt down. |
/kind bug
/area prow
This seems to be an issue with GitHub and not with tide because we've been getting reports of this across OpenShift, Kubernetes and Jetstack tide deployments.
It's happening across multiple repos regardless of what CI or merge criteria they use.
Reasons tide gives for not merging range for "not mergeable" to "some-job failed" even when all status contexts show green.
example PR's for which this is happening:
The text was updated successfully, but these errors were encountered: