sreecharan-desu opened a new pull request, #72430:
URL: https://github.com/apache/airflow/pull/72430

   ## Summary
   
   Breeze preferred `desktop-linux` even when that context pointed at a missing 
or dead Docker Desktop socket. That is common after quitting Desktop, or when 
using Colima only — and it made `breeze` fail before it could talk to a working 
engine.
   
   This change:
   
   - Skips preferred contexts whose Unix socket is missing, not accepting 
connections, or already reported as errored
   - Adds Colima's default `colima` context to the preferred list
   - Extends unit coverage for Colima preference and stale Desktop fallback
   
   ## Test plan
   
   - [x] `cd dev/breeze && uv run --project . pytest 
tests/test_docker_command_utils.py::test_autodetect_docker_context -o addopts=` 
(10 passed)
   - [ ] With only Colima running and a leftover `desktop-linux` context: 
confirm Breeze selects `colima`
   - [ ] With Docker Desktop running: confirm Breeze still prefers 
`desktop-linux` / OrbStack / Rancher when reachable
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Cursor Auto
   
   Generated-by: Cursor Auto following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to