-
Notifications
You must be signed in to change notification settings - Fork 269
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
Re-Enable Parallel Poetry Install #1674
Conversation
Found the original introduction of this and it seems to have been due to intermittent CI issues in TravisCI: a86ea83 Maybe that's changed? I'll cycle this CI a few times to see if I can get it to hiccup again. |
Appears to be about a 30% performance improvement (AMD finishes fast, ARM still takes a while due to emulation): Current: https://github.com/nautobot/nautobot/runs/6116614633?check_suite_focus=true 30min vs 45min ~= 33% performance improvement. Sometimes you get weird runs though: Current: https://github.com/nautobot/nautobot/runs/6116614413?check_suite_focus=true 57min vs 1h 6m |
Second run (to see if we run into flakiness issues) completed all containers in ~35min: https://github.com/nautobot/nautobot/runs/6118650602?check_suite_focus=true |
Once bitten, twice shy here personally. I'd rather have a slower but reliable build versus a faster one that fails intermittently. I'm not aware of any specific fixes in Poetry 1.1.x that would resolve the intermittent failures we were encountering at the time; I also don't see any reason to believe that the failures were specific to Travis CI and unlikely to also occur under GitHub Actions. Perhaps a middle ground might be to add a Dockerfile ARG that could be used to control whether a given build is parallel or not? Local builds and ci_integration builds could use PARALLEL=true for speed but less reliability, while prerelease/release builds could continue at least for now to use what we know works reliably? |
Changed. |
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.
Thank you!
Closes: #DNE
What's Changed
We have the statement:
in our Dockerfile and this seems to be one of the slowest parts of our CI on integration and release (ARM now making it even slower, 40+ min).
This has worked locally for me for a while so want to do some test runs removing it in CI.
TODO