mirror of
https://github.com/apache/superset.git
synced 2026-05-27 18:55:13 +00:00
Replaces legacy ephemeral environment system with the new Superset Showtime tool (https://github.com/mistercrunch/superset-showtime), providing automated PR environment management using Docker containers deployed to AWS ECS. ## Key Changes ### New Showtime Workflows - `showtime-trigger.yml`: Handles all PR events (labeled, synchronize, closed) with intelligent build detection - `showtime-cleanup.yml`: Scheduled cleanup every 6 hours with manual trigger support ### Legacy Workflow Deprecation - Added deprecation notices to `ephemeral-env.yml` and `ephemeral-env-pr-close.yml` - Clear migration guidance from "testenv-up" to "🎪 trigger-start" labels - Both systems coexist during transition period ### Architecture Improvements - **Simplified Logic**: GitHub Actions just triggers, showtime CLI handles all decisions - **Smart Building**: Only builds Docker images when code changes, not label changes - **DuckDB Support**: Configured with `LOAD_EXAMPLES_DUCKDB=true` build arg - **Environment Variables**: Requires `SUPERSET__SQLALCHEMY_EXAMPLES_URI` in ECS (showtime CLI responsibility) ## Testing Simple 3-step test on PR 34831: 1. Set label: `gh pr edit 34831 --add-label "🎪 trigger-start"` 2. Run command: `gh workflow run showtime-trigger.yml --ref showtime_gha --field pr_number=34831` 3. Expected outcome: Environment accessible with DuckDB examples ## Benefits - **Reliability**: Dedicated Python package vs complex YAML logic - **Maintainability**: All environment logic centralized in showtime CLI - **Efficiency**: Conditional builds and smart resource management - **Testability**: Manual workflow_dispatch for development and debugging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>