You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2026/06/12 21:39:20 UTC
[PR] Move JDK installation to image-build time [airflow]
uranusjr opened a new pull request, #68485:
URL: https://github.com/apache/airflow/pull/68485
Previously JDK was installed on-demand when --sdk is passed to Breeze. This introduced runtime slowdown.
The proposed approach mirrors better how the Go SDK is set up. JDK (not JRE) is not _technically_ needed for most things now, but we are expecting the Java SDK to implement an Edge Worker at some point, and we would need the JDK to compile the worker anyway when that happens.
---
##### Was generative AI tooling used to co-author this PR?
- [x] Yes (please specify the tool below)
Generated-by: Claude Code 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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Move JDK installation to image-build time [airflow]
Posted by "uranusjr (via GitHub)" <gi...@apache.org>.
uranusjr merged PR #68485:
URL: https://github.com/apache/airflow/pull/68485
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Move JDK installation to image-build time [airflow]
Posted by "uranusjr (via GitHub)" <gi...@apache.org>.
uranusjr commented on code in PR #68485:
URL: https://github.com/apache/airflow/pull/68485#discussion_r3406377832
##########
dev/breeze/src/airflow_breeze/commands/common_options.py:
##########
@@ -614,7 +614,7 @@ def _normalize_platform(ctx: click.core.Context, param: click.core.Option, value
option_sdk = click.option(
"--sdk",
- help="Install SDK toolchain(s)",
+ help="Select SDK toolchain(s).",
type=BetterChoice(ALLOWED_SDKS),
Review Comment:
This is only used by `build-docs` now.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org