mistercrunch opened a new pull request, #34833:
URL: https://github.com/apache/superset/pull/34833

   Building a replacement for faster, dynamic ephemeral environments, the GHAs 
here are back by this CLI I wrote -> 
https://github.com/mistercrunch/superset-showtime
   ---
   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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to