potiuk opened a new pull request, #75682: URL: https://github.com/apache/airflow/pull/75682
`test_decide_approval_with_real_selective_checks` decides approval for a PR targeting `main`, but built `SelectiveChecks` with the checkout's default branch. It passes on `main` today, but on a release branch selective checks skip provider tests, so the large provider change is estimated cheap and approved, failing the test. That already happened when backporting the auto-approval changes to `v3-4-test` (#75680). The test now pins `default_branch="main"`, as `build_selective_checks` already does in production. Checks run locally: `dev/breeze/tests/test_workflow_run_approval.py` (117 passed). --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 5 Generated-by: Claude Opus 5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
