Skip to content

[2.0] Fixes 37240: rebuild FlightSQL with patched Go runtime and modules - #38242

Merged
ulixius9 merged 1 commit into
2.0from
fix/2.0-ingestion-flightsql-security
Nov 20, 2026
Merged

ulixius9 merged 1 commit into
2.0from
fix/2.0-ingestion-flightsql-security

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Describe your changes

Fixes #37240 on 2.0.

Nightly #195 (2.0-202611190000) reports vulnerable Go modules and Go runtime inside the FlightSQL wheel in ingestion images. Backport #37241 and build its replacement library with Go 1.26.11 instead of 1.26.10. This targets the compress, x/net, and Go stdlib findings; pip alone cannot update code compiled into the wheel.

High-level design

Use the existing upstream cross-build/install script unchanged in all four Airflow/operator release/CI Dockerfiles. The 2.0 Dockerfile conflict is resolved by retaining the FlightSQL install step only, without importing unrelated main cleanup changes. Match the wheel wrapper version before replacement and verify the new library in a fresh process.

Main implementation: #37241. A separate stacked follow-up updates its Go toolchain to 1.26.11.

Type of change

  • Bug fix

Tests

  • bash -n ingestion/scripts/rebuild_adbc_flightsql.sh and git diff --check: passed.
  • Built the adbc-flightsql target from ingestion/operators/docker/Dockerfile.ci for linux/arm64 and linux/amd64. Both passed; ELF architecture and go version -m confirm Go 1.26.11, github.com/klauspost/compress v1.20.3, and golang.org/x/net v0.62.0.
  • ARM64 Python 3.12/bookworm harness with adbc-driver-flightsql 1.13.0 and pyarrow: replacement loads in a fresh process, reaches the Go FlightSQL connection error against closed localhost port 9, and removes its backup.
  • Negative harness checks: corrupt replacement fails verification; missing package exits successfully; wrapper 1.12.0 remains byte-identical with a warning. All passed.
  • Python unit/integration suites: not run; no Python source or connector logic changed. These checks exercise the compiled library and install script directly.
  • Backend integration and Playwright: not applicable; no Java/API/UI changes.
  • Coverage: not applicable to Docker stages/shell image packaging.
  • Pending: full production ingestion-image builds, AMD64 runtime smoke test, and fresh Inspector/Snyk scans. This draft does not claim all release security findings are resolved.

UI screen recording

Not applicable — no UI changes.

Checklist

Self-review

Fresh-context review of e75b59a against origin/2.0: no actionable findings. Full image validation remains pending as noted above.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge based on the reviewed code.

Summary

Rebuilds the FlightSQL library with Go 1.26.11 and patched Go modules across all four ingestion images.

  • Ingestion images now carry a rebuilt FlightSQL library for matching wrappers.

No actionable issues found. Full production-image builds and fresh security scans remain pending, as noted in the PR description.

Reviews (1) · Last reviewed commit: "fix(2.0): rebuild FlightSQL with patched..." · Reviewed by Greptile

@mohityadav766
mohityadav766 marked this pull request as ready for review November 19, 2026 19:58
@mohityadav766
mohityadav766 requested a review from a team as a code owner November 19, 2026 19:58
@mohityadav766
mohityadav766 requested review from stout-yeoman and removed request for a team November 19, 2026 19:58
@gitar-bot

gitar-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Rebuilding and swapping the FlightSQL Go library changes ingestion-image runtime dependencies; compatibility or loading issues could disrupt FlightSQL ingestion.

Rebuilds the FlightSQL ADBC wheel's Go library with Go 1.26.11 and patched modules (klauspost/compress v1.20.3, golang.org/x/net v0.62.0) to address nightly security findings, with the install script wired into the release and CI Dockerfiles. No open findings.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@ulixius9
ulixius9 merged commit bb16587 into 2.0 Nov 20, 2026
114 of 117 checks passed
@ulixius9
ulixius9 deleted the fix/2.0-ingestion-flightsql-security branch November 20, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants