chore(aws): Increase healthcheck timeout to 15 mins#8
Merged
Conversation
kgabryje
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Showtime deployments are failing health checks even though the container is running correctly. The health check times out before the container becomes ready.
Root cause: Superset's Parquet modernization (PR #36538) merged in January 2026 changed how example data is loaded. Instead of using a pre-built DuckDB file, 23 datasets (~400k rows) are now loaded at runtime from Parquet files. Making the whole startup process take 10+ minutes, but showtime's health check timeout was only 10 minutes.
Timeline of a failed deployment
Time Event
T+0 Container starts, ECS marks service "stable"
T+0 Superset begins loading examples (blocking)
T+10min Showtime health check times out (20 attempts exhausted)
T+10+min Examples finish loading, gunicorn starts
T+10+min Container now healthy (too late)
This PR Increases max_attempts from 20 to 30 (10 min → 15 min timeout) and adds some unit tests.
Another approach we could take but it implies more complexity and connecting new aws clients, permissions etc:
worker with pid"
For example This PR: apache/superset#37694 is marked as fail but the env is actually up and working: http://34.219.183.81:8080/