The GitHub Actions job "Tests" on airflow.git/feat/bundle-version-default-config has succeeded. Run started by GitHub user nathadfield (triggered by nathadfield).
Head commit for run: f68e581e29202959c0e213800478d867ce66d250 / Nathan Hadfield <[email protected]> Add three-level run_on_latest_version configuration hierarchy Implement global and DAG-level configuration for run_on_latest_version to control bundle version selection when creating DAG runs. This provides flexibility to configure the behavior at multiple levels with a clear precedence hierarchy: DAG-level > Global config > System default (False). Configuration levels: - Global: [core] run_on_latest_version config option - DAG-level: @dag(run_on_latest_version=True/False) parameter - UI: Clear/Rerun dialogs with checkbox when bundle versions differ Implementation: - Add run_on_latest_version parameter to DAG definition and serialization - Add global config option in config.yml with proper defaults - Implement three-level resolution logic in SerializedDAG._resolve_bundle_version() - Add BundleVersionUnavailable exception handling in scheduler for race conditions - Create custom React hook (useRunOnLatestVersion) for UI integration - Update Clear/Rerun dialogs to show version selection when applicable Exception handling: - Scheduler handles BundleVersionUnavailable gracefully for scheduled runs - Scheduler handles BundleVersionUnavailable gracefully for asset-triggered runs - Execution API returns 503 with retry guidance during bundle refresh windows - Runs are created on next scheduling cycle once bundle is parsed Testing: - Add comprehensive tests for all configuration levels and precedence - Add scheduler tests for exception handling during bundle refresh - Fix test isolation issues and database constraint violations - 648 tests passed across scheduler, DAG model, execution API, and serialization Fixes #60887 Co-Authored-By: Claude Sonnet 4.5 <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/21676708436 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
