jason810496 opened a new pull request, #71527:
URL: https://github.com/apache/airflow/pull/71527

   ## Why
   
   The k8s lang-SDK test builds its Go bundle and Java jar from upstream 
`main`'s `go-sdk`/`java-sdk` unconditionally, no matter which branch is checked 
out or which branch the run targets.
   
   Example fail case: #71057 renames `Dag` to `DagDef` updating 
`K8sBundleBuilder.java` to match made `compileJava` fail. Since the k8s test 
still pull from the `upstream/main` instead of respecting the current branch 
change.
   
   ## What
   
   This PR scopes the upstream-main fallback to the case it was written for:
   
   | Target branch | Go/Java SDK sources |
   | --- | --- |
   | `main` | the checked-out branch's own `go-sdk/` and `java-sdk/` |
   | anything else (`v3-*-test`, …) | upstream `main`, as before |
   
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8) 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]

Reply via email to