Repository navigation
chore(destination-postgres): update base image to java-connector-base 2.0.6 - #94004
Merged
Matt Bayley (mwbayley) merged 3 commits intoNov 25, 2026
Merged
Conversation
… 2.0.5 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Matt Bayley (mwbayley)
marked this pull request as ready for review
November 25, 2026 19:03
Matt Bayley (mwbayley)
deleted the
rodi/destination-postgres-base-2.0.5
branch
November 25, 2026 19:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Re-pins
destination-postgresto java-connector-base 2.0.6. Three lines change, no code or dependency change:metadata.yaml:baseImage2.0.4 ->docker.io/airbyte/java-connector-base:2.0.6@sha256:9cee8a7a66b4a8240c0a33f9666c82704fded89b33bbe8fa462a3a2ade25f667(pinned by digest)metadata.yaml:dockerImageTag3.0.24 -> 3.0.25docs/integrations/destinations/postgres.md: changelog row for 3.0.25Why
java-connector-base 2.0.6 (#93980) refreshes the Amazon Linux 2023 packages and moves Corretto from 21.0.10 to 21.0.13. The connector picks up those fixes only when it is rebuilt on the new base.
Base 2.0.6 instead of 2.0.5
This PR first pinned java-connector-base 2.0.5. The linux/amd64 variant of 2.0.5 contains an empty,
root-owned
/home/airbyte/.cachedirectory, so the connector user cannot write to~/.cacheon amd64.2.0.6 is the same image without it: on amd64 only that directory (and
/root/.cache) is gone, on arm64the file list is identical, and both have the same 149 packages at the same versions, the same
Corretto 21.0.13.1.2 and the same image configuration. The Dockerfile change is in #93980.
The validation below ran on 2026-11-20 on the image built on 2.0.5. On 2026-11-23 the image was rebuilt on
2.0.6 and checked against the 2.0.5 build:
assemblesucceeds for linux/arm64 and linux/amd64, and the build log showsBASE_IMAGEset to the 2.0.6 digest.java -versionreports Corretto 21.0.13.1.2 on both architectures.spec(arm64): identical to the 2.0.5 build as parsed JSON./airbytehave the same sha256 in both builds, on both architectures, except the connector jar. Inside that jar the only differing entry is the bundledmetadata.yaml, and its only differing line isbaseImage..cache: the arm64 image has no.cachedirectory. The amd64 image was built locally under emulation on an Apple Silicon Mac, and that build itself created an empty, root-owned/home/airbyte/.cache/rosetta(its timestamp is the time of the build, and the 2.0.6 amd64 base has no.cachedirectory). This shows the directory no longer comes from the base; the locally built amd64 image is not evidence that~/.cacheis writable on amd64.checkwith therequireconfig against PostgreSQL 16.16 in Docker with TLS enabled (self-signed certificate): SUCCEEDED on both builds with no warning or error logged, and the server log shows TLSv1.3 /TLS_AES_256_GCM_SHA384for every connection. The other check cases and thewritewere not repeated.How it was validated
All of this ran locally on 2026-11-20, comparing the published
airbyte/destination-postgres:3.0.24with an image built from this branch on java-connector-base 2.0.5. In this section, "new image" and "new base" refer to that build../gradlew :airbyte-integrations:connectors:destination-postgres:assemblesucceeded on the 2.0.5 base, for linux/arm64 and linux/amd64. The build log showedFROMresolved to the 2.0.5 digest.java -versionreports Corretto 21.0.10.7.1 in 3.0.24 and Corretto 21.0.13.1.2 in the new image. The OS goes from Amazon Linux 2023.10.20260202 to 2023.12.20261112.jq -Sdiff is empty).ssl: falserequireverify-ca(server CA)verify-full(server CA, hostname in SAN)verify-full, hostname not in SANverify-ca, unrelated CArequireverify-ca(server CA)AES256-GCM-SHA384)requirehandshake_failure)ssl: falserequireThe PostgreSQL server log (
log_connections=on) shows the same thing for both images: every successful check against the TLS-enabled server connected with TLSv1.3 /TLS_AES_256_GCM_SHA384, and against the TLS 1.2-only server with TLSv1.2 /ECDHE-RSA-AES256-GCM-SHA384. This is the JDK TLS stack (pgjdbc over JSSE), so the handshake did run on the new JDK. Withssl: falsethe driver still negotiates TLS when the server offers it; the plain-text path is the "TLS disabled" row.The static-RSA row fails on both images because
TLS_RSA_*is already injdk.tls.disabledAlgorithmson Corretto 21.0.10; the new base does not change this.In all four failing cases the connector reports
HikariPool-1 - Connection is not available, request timed outafter about 60 seconds, on both images; the cause above is in the stack trace.After removing timestamps and random identifiers, the output of the two images is identical in 9 of the 11 cases. In the other two (unrelated CA, static-RSA) the only difference is line numbers of JDK-internal frames in the stack trace. The new image logs no warning or error that 3.0.24 does not.
COMPLETEstatus, with theverify-fullconfig, append mode. Both images return the state withcommittedRecordsCount: 3, and aSELECTshows the 3 rows in the final table. The normalised logs are identical.Vulnerability scan
Grype 0.122.1, vulnerability DB built 2026-11-20, linux/amd64 for both images. Counts are unique (vulnerability, package) pairs. The "after" columns were measured on the image built on 2.0.5.
Rescan on 2026-11-23 of the linux/amd64 image rebuilt on 2.0.6 (Grype 0.122.1, vulnerability DB built 2026-11-23): 0 findings in base rpms and the same 10 findings in jars, equal to the "after" columns above.
Resolved: 145 (all in base image rpms). Introduced: 0. The 10 jar findings are the same before and after (log4j 2.24.0, guava 33.4.0-jre, commons-lang3 3.17.0, eddsa 0.3.0); this PR does not change dependencies.
Not run
ae64ecf2438), so there is no connector build or test result. The only other status on the head isVercel – airbyte-kotlin-cdk(success), which does not build or test the connector.client_certificate/client_keyinverify-full), SSH tunnel configs, and theallowandpreferSSL modes.writebeyond one small append sync: no dedup or overwrite mode, no large volume.🤖 Generated with Claude Code