Skip to content

Build Go SDK e2e example bundle natively in CI#69909

Draft
jason810496 wants to merge 1 commit into
apache:mainfrom
jason810496:ci/go-sdk-e2e-native-toolchain
Draft

Build Go SDK e2e example bundle natively in CI#69909
jason810496 wants to merge 1 commit into
apache:mainfrom
jason810496:ci/go-sdk-e2e-native-toolchain

Conversation

@jason810496

Copy link
Copy Markdown
Member

Why

The go_sdk e2e test mode always builds its example bundle inside an ephemeral golang:1.25-alpine container, even in CI where that costs a toolchain-image pull per run. #69794 already moved the java_sdk e2e mode to a native host-toolchain build behind LANG_SDK_NATIVE_TOOLCHAIN, the same switch the breeze lang-SDK k8s job uses for its native Go build.

What

  • _setup_go_sdk_integration in the e2e conftest now branches on LANG_SDK_NATIVE_TOOLCHAIN: native mode runs the host go tool airflow-go-pack directly (mirroring the breeze k8s lang-SDK build), while the containerized build stays the default for local runs so a dev host needs no Go installed.
  • LANG_SDK_NATIVE_TOOLCHAIN is now set to true for the go_sdk e2e mode as well.

Was generative AI tooling used to co-author this PR?

@jason810496 jason810496 self-assigned this Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant