Update Astro IDE export command to fetch project url from API by pritt20 · Pull Request #1943 · astronomer/astro-cli

Description

This PR changes update Astro IDE export command to fetch project url from API and if it fails to do so, we fallback to constructing the project url at Astro CLI level.

🎟 Issue(s)

Related #XXX

🧪 Functional Testing

Tested the change locally and Astro CLI was able to fetch the project url from API as expected.

📋 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