-
Notifications
You must be signed in to change notification settings - Fork 3k
Make Docker detection silent in Dev Services #49722
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
This is needed in order to unclutter the application logs when Docker is not available Closes: quarkusio#49716
Do we have an understanding as to why we try to detect Docker while we don't need it? Because apart from the verbose logging, it actually takes time to do this check. |
Great question. It happens because of Line 182 in d1cd98c
|
It seems like something changed in 3.25, though, and it would be useful to know what it was. Did we start checking the build item status more eagerly? I wonder if #49716 is another manifestation of #49118? The fix for #49118, #49309, clearly wouldn't fix #49716, but there might be a common root cause that we should be worried about. Even if something changed, being silent is probably a good idea... but I worry, like @gsmet says, that being silent for the check could mask a performance regression that crept in in 3.25. |
I'm more than happy to let people figure that out, I'm just working on clearing my backlog at this point :) |
I'll also note that, regardless of whether this masks something else, this change still makes sense. There is no reason not to have all |
Status for workflow
|
@holly-cummins so as @geoand pointed it out, there's at least this line that is problematic: Line 182 in d1cd98c
We are checking if a container is available far too early to include the info in the definitions. We should collect first if Dev Services are required and only then check if the container runtime is available. |
@holly-cummins will you handle this one ^? Because I'm not sure I have a good enough understanding of the new Dev Services infra to drive this puppy home. IMHO, we should fix this behavior before we ship the LTS (i.e. soon!). |
My plan did not survive contact with reality. It will probably be Monday ... |
This is needed to unclutter the application logs when Docker is not available