potiuk opened a new pull request, #64673: URL: https://github.com/apache/airflow/pull/64673
UI E2E tests are expensive and should only run when UI files actually changed or the "full tests needed" label is explicitly set on a PR. Previously they ran on every push to main, canary build, scheduled run, and any PR that triggered derived `full_tests_needed` (env file changes, large PRs, pyproject.toml changes, etc.) because `run_ui_e2e_tests` delegated to `_should_be_run()` which returns `True` whenever `full_tests_needed` is `True`. Now `run_ui_e2e_tests` only returns `True` when: - The `"full tests needed"` label is explicitly set on the PR, **or** - UI files actually changed (matched by `FileGroupForCi.UI_FILES`) --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Claude Opus 4.6) Generated-by: Claude Code (Claude Opus 4.6) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
