fix: batch of small bug fixes (#1837, #1908, #1991, #1800, #1977) by jlaneve · Pull Request #2024 · astronomer/astro-cli

and others added 5 commits

March 3, 2026 10:36
The help text for --wait on `astro dev start` and `astro dev restart`
stated "The default is 5 minutes" but the actual defaultWaitTime is
1 minute. Remove the hardcoded text since Cobra already appends the
default value automatically.

Closes #1837

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

The Airflow 2 example DAG used a bare `except:` which violates ruff
rule E722. Change to `except Exception:` to match the Airflow 3
example DAG.

Closes #1908

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

In Airflow 3, the secret_key config moved from [webserver] to [api].
Update the AF3 docker-compose template to use AIRFLOW__API__SECRET_KEY
and remove AIRFLOW__WEBSERVER__RBAC and AIRFLOW__WEBSERVER__EXPOSE_CONFIG
which are no longer applicable in Airflow 3.

Closes #1991

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When docker-compose.override.yml contains invalid YAML, the compose
loader may return a nil project without an error. Add a nil check
before accessing project fields to prevent a nil pointer dereference
panic.

Closes #1800

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The upgrade notification hardcoded `brew upgrade astro` for macOS users,
but Homebrew core lags ~1 week behind GitHub releases, leading to
confusing "formula not available" errors. Use the same docs link for
all platforms instead.

Closes #1977

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

jeremybeard

@jlaneve jlaneve deleted the fix/quick-fixes-batch-1 branch

March 3, 2026 17:53