Support reading env objs without settings file by jeremybeard · Pull Request #1914 · astronomer/astro-cli

Description

This change fixes a confusing behavior where the CLI will silently not load connections from the specified Astro deployment or workspace if the CLI settings file (default airflow_settings.yaml) is not present. The new behavior is to read Astro connections regardless of whether the settings file is present.

🧪 Functional Testing

  • Unit tests added
  • Manually tested locally

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation