-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][build] Increase maven resolver's sync context timeout #24666
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
Conversation
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24666 +/- ##
============================================
+ Coverage 73.74% 74.25% +0.50%
+ Complexity 33174 32820 -354
============================================
Files 1857 1884 +27
Lines 146500 146943 +443
Branches 16835 16882 +47
============================================
+ Hits 108041 109110 +1069
+ Misses 29828 29162 -666
- Partials 8631 8671 +40
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
lhotari
left a comment
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.
LGTM
|
@nodece In a local build I noticed a slow down and it seems to be in NAR file |
|
I guess it would be possible to use maven profiles to use |
Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 19f9c26)
This is handled in #24668 |
Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 19f9c26)
Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 19f9c26)
…he#24666) Signed-off-by: Zixuan Liu <nodeces@gmail.com>
…he#24666) Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Motivation
During CI builds, especially when building Docker images or specific modules, Maven occasionally fails with:
This occurs even in concurrent(
-T 1C) builds because Maven's default lock wait time (30 seconds) can be insufficient in some CI environments. Increasing the lock wait time prevents these intermittent failures.Modifications
-Daether.syncContext.named.time=300to increase the maximum lock wait time to 5 minutes.Documentation
docdoc-requireddoc-not-neededdoc-complete