-
-
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
Cache PullRequest Divergence #10914
Cache PullRequest Divergence #10914
Conversation
47ed130
to
f84aa40
Compare
f2f6a09
to
250d939
Compare
250d939
to
846c924
Compare
fecbcd5
to
870cda8
Compare
Signed-off-by: 6543 <[email protected]>
Tested Speed: Test setup:
|
Don't know why but tests fail |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #10914 +/- ##
=======================================
Coverage 43.46% 43.47%
=======================================
Files 597 598 +1
Lines 84706 84774 +68
=======================================
+ Hits 36820 36855 +35
- Misses 43345 43380 +35
+ Partials 4541 4539 -2
Continue to review full report at Codecov.
|
@lunny pleace look at code comments :) |
Please resolve conflicts |
done |
@lunny do you have some time to look at it 🥺 |
ready to 🚀 |
* Cache PullRequest Divergence * only re-calc divergence if AddTestPullRequestTask() is exec * migrate already open pulls * finalize * take care of closed¬-merged+deleted-branch pull requests * fix nil pointer exeption Signed-off-by: 6543 <[email protected]> * try this * no error its a warn * init gitea-repositories-meta * dont use gitDivergence type * CI.restart() * CI.restart() * CI.restart() * CI.restart() * check IsUserAllowedToUpdate independend from CommitsBehind
taken from #10905