fix(airflow_versions): semver ordering for astro-agent image selection by feluelle · Pull Request #2053 · astronomer/astro-cli
Prefer newer astro-agent when runtime and Python match by comparing Python and agent versions with golang.org/x/mod/semver (with MAJOR.MINOR normalized to MAJOR.MINOR.0). Astro runtime in tags still uses CompareRuntimeVersions. Add tests for semver tie-breaks (e.g. 3.10 vs 3.9, 1.3.10 vs 1.3.9).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters