This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9cdb49017ec Run the component branch selection tests against main on 
every branch (#75633)
9cdb49017ec is described below

commit 9cdb49017eca3923048149eccf482f8d8ccd1384
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Oct 26 03:42:38 2026 +0100

    Run the component branch selection tests against main on every branch 
(#75633)
    
    Generated-by: Claude Opus 5
---
 dev/breeze/tests/test_selective_checks.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev/breeze/tests/test_selective_checks.py 
b/dev/breeze/tests/test_selective_checks.py
index 7587ed7357c..83b0b971f5d 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -5482,8 +5482,10 @@ def 
test_every_test_output_is_scoped_to_component_branches():
 
 
 def _component_branch_checks(context: dict, files: tuple[str, ...]) -> 
SelectiveChecks:
+    # Component branches are cut from main, whatever the default branch of the 
checkout running the test.
     return SelectiveChecks(
         files=files,
+        default_branch="main",
         commit_ref=NEUTRAL_COMMIT,
         github_event=GithubEvents.PULL_REQUEST if "base_ref" in context else 
GithubEvents.PUSH,
         github_context_dict=context,

Reply via email to