fix: mock registry API in tests and add HTTP client timeouts by jlaneve · Pull Request #2025 · astronomer/astro-cli

@jlaneve @claude

Registry tests were making real HTTP calls to api.astronomer.io with no
timeout, causing CI failures when the API is slow or unresponsive. This
replaces real API calls with httptest mock servers and adds a 30s timeout
to HTTP clients in httputil.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

jeremybeard

@jlaneve jlaneve deleted the fix/mock-registry-tests branch

March 3, 2026 20:39