mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
hasAirflowContainerExited only inspected the Airflow container. If the sibling Postgres container dies instead (out of memory, its volume filling up), Airflow keeps running but never reports metadatabase healthy, so the environment sat at CREATING exactly as before this existed, the same failure mode #3446 fixed for the Airflow container alone. Generalized into hasAnyContainerExited, backed by a shared per-container helper, checking both Environment.getDbContainerId() and getAirflowContainerId(). checkReadiness and its log messages updated to match; behavior for a lone Airflow-container failure is unchanged. Follow-up from hectorvent's review on #3446.