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
fix: cache Docker client instead of creating a new one all the time, fixes #5861 #5878
fix: cache Docker client instead of creating a new one all the time, fixes #5861 #5878
Conversation
Download the artifacts for this pull request:
See Testing a PR |
Let's enable Rancher and macOS amd64 on this PR. |
Only TestConfigValidate failed, https://github.com/ddev/ddev/actions/runs/7979112678/job/21785753458?pr=5878 Restarting. This kind of failure is quite common. |
Failed again on TestConfigValidate, same thing. Retry |
We may have to use tmate to try TestConfigValidate, or see how it works on tb-macos-arm64-6 |
Oh look at TestConfigValidate:
If I remove the "skip on Apple Silicon" then I get the same failures on my machine using colima:
These are the lines that are failing:
I do not get those failures on Orbstack or Docker Desktop. I'm pretty sure the exclusion for Apple Silicon was put in there in the early unstable days of Docker Desktop on arm64. Not that it's all that stable now. But it wasn't intended to exclude Colima on arm64. TestConfigValidate also passes on HEAD with Docker Desktop. It's possible that this has been a flaky test for colima for a really long time and we might be able to ignore it. It does not appear to be new with this patch. |
I'm in favor of adding |
Yay, it looks like we did finally get a clean colima on 538c5ca Congratulations. I think TestConfigValidate is just too flaky on Colima so we'll be fine to be rid of it. |
a755943
to
369dfc8
Compare
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.
Thanks for the amazing work on this. I think we may have almost dug out of that hole :)
Yay, success! |
Amazing work! |
The Issue
How This PR Solves The Issue
Do not create a lot of requests for new Docker client.
Close client connection.
Manual Testing Instructions
I run
TestComposerVersion
several times on tb-macos-arm64-7, all green:Automated Testing Overview
Waiting for Colima tests.
Related Issue Link(s)
Release/Deployment Notes