-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Prevent deadlock in pull_service.GetDiverging(pr) #10905
Conversation
Could you split cache to different PR, so that first part could be backported to 1.11.x? |
You are right, sorry 🤦♂️ |
Codecov Report
@@ Coverage Diff @@
## master #10905 +/- ##
==========================================
+ Coverage 43.43% 43.45% +0.01%
==========================================
Files 593 595 +2
Lines 83286 83467 +181
==========================================
+ Hits 36178 36267 +89
- Misses 42620 42717 +97
+ Partials 4488 4483 -5
Continue to review full report at Codecov.
|
Hmm... We should be using a temporary repo with shared object DBs to generate these divergences if we genuinely need to look between two repos. I don't like this add remote thing - it's bound to catch us out again - not least in that I think it could cause a repack of git references in the base repo to contain head git references which are later broken. (although we get a bit of that with pull references.) However do we really need to do that? I don't remember when divergence is shown - if it's only down for actual PRs then can't we just use the refs/pull/ head to generate the divergence as they're then in the same repo. |
@zeripath do you have time to review :D |
@guillep2k I'll split things up ... |
1b92b81
to
4ee6846
Compare
@lafriks in the end it got split up 😅 ... Cache PR Divergence -> #10914@guillep2k ready to review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may not have deleted things properly
ping lgtm |
fix #10117 by using a temporary repo to compare