Skip to content

Set the debezium API version to the latest 3.4.1#72823

Merged
rodireich merged 4 commits intosource-postgres/bulk-cdkfrom
rodi/postgres-dbz-ver
Feb 4, 2026
Merged

Set the debezium API version to the latest 3.4.1#72823
rodireich merged 4 commits intosource-postgres/bulk-cdkfrom
rodi/postgres-dbz-ver

Conversation

@rodireich
Copy link
Contributor

Override the API version of debezium in postgres only - set to the latest 3.4.1.Final

This pulls in debezium-connector-postgres ver 3.4.1.Final as well
and org.postgresql:postgresql:42.7.7
That's the version debezium natively pulled so we don't have a mismatch between pg jdbc driver and debezium libraries.

@rodireich rodireich requested a review from mwbayley February 4, 2026 05:54
@octavia-bot octavia-bot bot marked this pull request as draft February 4, 2026 05:54
@octavia-bot
Copy link
Contributor

octavia-bot bot commented Feb 4, 2026

Note

📝 PR Converted to Draft

More info...

Thank you for creating this PR. As a policy to protect our engineers' time, Airbyte requires all PRs to be created first in draft status. Your PR has been automatically converted to draft status in respect for this policy.

As soon as your PR is ready for formal review, you can proceed to convert the PR to "ready for review" status by clicking the "Ready for review" button at the bottom of the PR page.

To skip draft status in future PRs, please include [ready] in your PR title or add the skip-draft-status label when creating your PR.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

👋 Greetings, Airbyte Team Member!

Here are some helpful tips and reminders for your convenience.

💡 Show Tips and Tricks

PR Slash Commands

Airbyte Maintainers (that's you!) can execute the following slash commands on your PR:

  • 🛠️ Quick Fixes
    • /format-fix - Fixes most formatting issues.
    • /bump-version - Bumps connector versions, scraping changelog description from the PR title.
  • ❇️ AI Testing and Review:
    • /ai-docs-review - Provides AI-powered documentation recommendations for PRs with connector changes.
    • /ai-prove-fix - Runs prerelease readiness checks, including testing against customer connections.
    • /ai-canary-prerelease - Rolls out prerelease to 5-10 connections for canary testing.
    • /ai-review - AI-powered PR review for connector safety and quality gates.
  • 🚀 Connector Releases:
    • /publish-connectors-prerelease - Publishes pre-release connector builds (tagged as {version}-preview.{git-sha}) for all modified connectors in the PR.
    • /bump-progressive-rollout-version - Bumps connector version with an RC suffix (2.16.10-rc.1) for progressive rollouts (enableProgressiveRollout: true).
      • Example: /bump-progressive-rollout-version changelog="Add new feature for progressive rollout"
  • ☕️ JVM connectors:
    • /update-connector-cdk-version connector=<CONNECTOR_NAME> - Updates the specified connector to the latest CDK version.
      Example: /update-connector-cdk-version connector=destination-bigquery
    • /bump-bulk-cdk-version bump=patch changelog='foo' - Bump the Bulk CDK's version. bump can be major/minor/patch.
  • 🐍 Python connectors:
    • /poe connector source-example lock - Run the Poe lock task on the source-example connector, committing the results back to the branch.
    • /poe source example lock - Alias for /poe connector source-example lock.
    • /poe source example use-cdk-branch my/branch - Pin the source-example CDK reference to the branch name specified.
    • /poe source example use-cdk-latest - Update the source-example CDK dependency to the latest available version.
  • ⚙️ Admin commands:
    • /force-merge reason="<REASON>" - Force merges the PR using admin privileges, bypassing CI checks. Requires a reason.
      Example: /force-merge reason="CI is flaky, tests pass locally"
📚 Show Repo Guidance

Helpful Resources

📝 Edit this welcome message.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Note

Detected that there are differences in the Gradle dependencies.

@rodireich
Copy link
Contributor Author

Gradle dependencies report
gradle dependencies.txt

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

source-postgres Connector Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit fbbc735. ± Comparison against base commit fd6a67e.

♻️ This comment has been updated with latest results.

implementation 'com.azure:azure-identity:1.17.0'

api platform('io.debezium:debezium-bom:3.4.1.Final')
// version specified by the debezium bom dependency in the cdc toolkit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: comment is stale now

@mwbayley
Copy link
Contributor

mwbayley commented Feb 4, 2026

/ai-review

PR AI Review Started

Evaluating connector PR for safety and quality.
View workflow run
AI PR Review starting...

Reviewing PR for connector safety and quality.
View playbook

Devin AI session created successfully!

@devin-ai-integration
Copy link
Contributor

Starting AI PR review for PR #72823. Evaluating connector safety and quality gates.

Session: https://app.devin.ai/sessions/86ff650941334419944dd33d2350f761

@devin-ai-integration
Copy link
Contributor

AI PR Review Report

Review Action: REQUEST CHANGES

Gate Status
1. CI/Tests FAIL
2. Security PASS
3. Safety PASS
4. Ops Risk PASS
5. Validation UNKNOWN
6. PR Quality PASS
🔧 Remediation Required

Required Actions

Gate 1 (CI/Tests) - FAIL:

The CI failures appear to be unrelated to this PR's changes:

  1. Lint failure: Pre-existing CDK deprecation warnings in ResourceDrivenMetadataQuerierFactory.kt treated as errors with -Werror. The warnings are about deprecated typealias Field = EmittedField.

  2. Test failure: CI infrastructure network connectivity issues - GitHub connection timeout during checkout.

Recommended remediation:

  • Re-run CI after infrastructure issues are resolved
  • The CDK deprecation issue may need to be addressed separately in the base branch
  • Consider coordinating with maintainers if CI continues to fail due to pre-existing issues

Gate 5 (Validation) - UNKNOWN:

No pre-release validation evidence found. This is a Debezium version upgrade that could affect CDC behavior. Consider running /ai-prove-fix to validate the change against production connections before merging.


📋 PR Details & Eligibility

Connector & PR Info

Connector(s): source-postgres
PR: #72823
HEAD SHA: 4e0f3d7ea2f7e6c80a549766eb4dd9e46f3b94d3
Session: https://app.devin.ai/sessions/86ff650941334419944dd33d2350f761

Auto-Approve Eligibility

Eligible: No
Category: not-eligible
Reason: This PR adds a Debezium BOM version override (3.4.1.Final), which is a functional dependency change affecting CDC behavior. Dependency changes that could affect connector functionality are not eligible for auto-approval.

Review Action Details

REQUEST CHANGES - Submitted PR review requesting changes due to failing Gate 1 (CI/Tests). Note that the CI failures appear to be pre-existing CDK issues and infrastructure problems, not caused by this PR's changes.

Note: This bot can approve PRs when all gates pass AND the PR is eligible for auto-approval (docs-only, additive spec changes, patch/minor dependency bumps, or comment/whitespace-only changes). PRs with other types of changes require human review even if all gates pass.

🔍 Gate Evaluation Details

Gate-by-Gate Analysis

Gate Status Enforced? Details
1. CI/Tests FAIL Yes Lint and Test checks failed (pre-existing CDK deprecation warnings and CI infrastructure issues)
2. Security PASS Yes No security-sensitive changes detected
3. Safety/Reversibility PASS Yes No breaking changes detected
4. Operational Risk PASS Yes No operational risk changes detected
5. Pre-Release Validation UNKNOWN Yes No validation evidence found
6. PR Quality PASS Yes PR description present and explains the change

Gate 1 Details (CI/Tests)

Failed Checks:

  • Lint source-postgres Connector - Failed due to Kotlin compilation error in CDK test fixtures
  • Test source-postgres Connector - Failed due to network connectivity issues

Root Cause Analysis:

  • The lint failure is caused by deprecation warnings in airbyte-cdk/bulk/core/extract/src/testFixtures/kotlin/io/airbyte/cdk/discover/ResourceDrivenMetadataQuerierFactory.kt being treated as errors with -Werror
  • The test failure is caused by GitHub connection timeout during repository checkout (CI infrastructure issue)
  • Neither failure is caused by the changes in this PR

Gate 2 Details (Security)

No security-sensitive keywords detected in the diff. The change only adds a Debezium BOM version override.

Gate 3 Details (Safety/Reversibility)

No breaking change patterns detected. The change is additive (adding a BOM override).

Gate 4 Details (Operational Risk)

No operational risk patterns detected. No changes to rate limits, retries, timeouts, or pagination.

Gate 5 Details (Pre-Release Validation)

  • No validation labels found
  • No MCP evidence of pre-release testing
  • Pre-Release Checks failed (excluded from Gate 1)
  • This is a Debezium version upgrade that could affect CDC behavior

Gate 6 Details (PR Quality)

PR description is present and explains:

  • What: Override Debezium API version to 3.4.1.Final
  • Why: To use the latest version
  • Impact: Pulls in debezium-connector-postgres 3.4.1.Final and org.postgresql:postgresql:42.7.7
📚 Evidence Consulted

Evidence

  • Changed files: 1 file (airbyte-integrations/connectors/source-postgres/build.gradle)
  • CI checks:
    • Lint source-postgres Connector - FAIL (job_id: 62443812575)
    • Test source-postgres Connector - FAIL (job_id: 62443812570)
    • source-postgres Pre-Release Checks - FAIL (excluded from Gate 1)
    • Connector CI Checks Summary - FAIL
  • PR labels: None relevant to validation
  • PR description: Present
  • Existing bot reviews: None for this HEAD SHA

Diff Analysis

+
+    api platform('io.debezium:debezium-bom:3.4.1.Final')

The change adds a single line to override the Debezium BOM version to 3.4.1.Final in the source-postgres connector's build.gradle.

❓ How to Respond

Providing Context or Justification

You can add explanations that the bot will see on the next review:

Option 1: PR Description (recommended)
Add a section to your PR description:

## AI PR Review Justification

### Gate 1 (CI/Tests)
[Your explanation here - e.g., "CI failures are pre-existing issues unrelated to this PR"]

### Gate 5 (Pre-Release Validation)
[Your explanation here - e.g., "This change has been tested locally with X"]

Option 2: PR Comment
Add a comment starting with:

AI PR Review Justification:
[Your explanation here]

After adding your response, re-run /ai-review to have the bot evaluate it.

Note: For Gate 1, if the CI failures are truly unrelated to your changes, a maintainer may need to help resolve the underlying issues or approve the PR manually. For Gate 5, consider running /ai-prove-fix to validate the Debezium upgrade against production connections.

Copy link
Contributor

@octavia-bot octavia-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI PR Review: Gates Failed

This PR has failing gates that require attention before merge. See the gate report comment above for details and remediation steps.

This review was automatically submitted by the AI PR Review system.

@mwbayley
Copy link
Contributor

mwbayley commented Feb 4, 2026

/ai-review

PR AI Review Started

Evaluating connector PR for safety and quality.
View workflow run
AI PR Review starting...

Reviewing PR for connector safety and quality.
View playbook

Devin AI session created successfully!

@devin-ai-integration
Copy link
Contributor

Starting AI PR review for PR #72823. Evaluating connector safety and quality gates.

Session: https://app.devin.ai/sessions/daf17848f969413e86d1f3fb56a17176

@devin-ai-integration
Copy link
Contributor

AI PR Review Report

Review Action: REQUEST CHANGES

Gate Status
1. CI/Tests FAIL
2. Security PASS
3. Safety PASS
4. Ops Risk PASS
5. Validation UNKNOWN
6. PR Quality PASS
🔧 Remediation Required

Required Actions

Gate 1 (CI/Tests) - FAIL:

Both Lint and Test checks failed due to pre-existing CDK deprecation warnings being treated as errors with -Werror:

  1. CDK Test Fixtures Issue: ResourceDrivenMetadataQuerierFactory.kt uses deprecated typealias Field = EmittedField (lines 36, 63, 84)
  2. source-postgres warnings: Unused parameter conn and deprecated fields() method

These failures are NOT caused by this PR's changes - they exist in the base branch (source-postgres/bulk-cdk).

Recommended remediation:

  • The base branch needs to fix the CDK deprecation warnings before this PR can pass CI
  • Alternatively, coordinate with maintainers to address the -Werror issue in the base branch
  • Re-run CI after the base branch issues are resolved

Gate 5 (Validation) - UNKNOWN:

No pre-release validation evidence found. This is a Debezium version upgrade (to 3.4.1.Final) that could affect CDC behavior. Consider running /ai-prove-fix to validate the change against production connections before merging.


📋 PR Details & Eligibility

Connector & PR Info

Connector(s): source-postgres
PR: #72823
HEAD SHA: 8dc197e27f4ad52207db31d38d2cde4b0649d959
Session: https://app.devin.ai/sessions/daf17848f969413e86d1f3fb56a17176

Auto-Approve Eligibility

Eligible: No
Category: not-eligible
Reason: This PR adds a Debezium BOM version override (3.4.1.Final), which is a functional dependency change affecting CDC behavior. Major dependency version changes are not eligible for auto-approval.

Review Action Details

REQUEST CHANGES - Submitted PR review requesting changes due to failing Gate 1 (CI/Tests). Note that the CI failures are caused by pre-existing CDK deprecation warnings in the base branch, not by this PR's changes.

Note: This bot can approve PRs when all gates pass AND the PR is eligible for auto-approval (docs-only, additive spec changes, patch/minor dependency bumps, or comment/whitespace-only changes). PRs with other types of changes require human review even if all gates pass.

🔍 Gate Evaluation Details

Gate-by-Gate Analysis

Gate Status Enforced? Details
1. CI/Tests FAIL Yes Lint and Test checks failed due to pre-existing CDK deprecation warnings
2. Security PASS Yes No security-sensitive changes detected
3. Safety/Reversibility PASS Yes No breaking changes detected
4. Operational Risk PASS Yes No operational risk changes detected
5. Pre-Release Validation UNKNOWN Yes No validation evidence found
6. PR Quality PASS Yes PR description present and explains the change

Gate 1 Details (CI/Tests)

Failed Checks:

  • Lint source-postgres Connector (job_id: 62530946757) - FAIL
  • Test source-postgres Connector (job_id: 62530946833) - FAIL

Root Cause Analysis:

Both failures are caused by the same issue: Kotlin deprecation warnings being treated as errors with -Werror:

e: warnings found and -Werror specified
w: ResourceDrivenMetadataQuerierFactory.kt:36:31 'typealias Field = EmittedField' is deprecated
w: ResourceDrivenMetadataQuerierFactory.kt:63:21 'typealias Field = EmittedField' is deprecated
w: ResourceDrivenMetadataQuerierFactory.kt:84:22 'typealias Field = EmittedField' is deprecated

This is a pre-existing issue in the CDK test fixtures, not caused by this PR's changes.

Gate 2 Details (Security)

No security-sensitive keywords detected in the diff. The change only adds a Debezium BOM version override.

Gate 3 Details (Safety/Reversibility)

No breaking change patterns detected. The change is additive (adding a BOM override).

Gate 4 Details (Operational Risk)

No operational risk patterns detected. No changes to rate limits, retries, timeouts, or pagination.

Gate 5 Details (Pre-Release Validation)

  • No validation labels found (live-tests-passed, prerelease-validated, etc.)
  • No MCP evidence of pre-release testing
  • This is a Debezium version upgrade that could affect CDC behavior
  • Recommend running /ai-prove-fix to validate

Gate 6 Details (PR Quality)

PR description is present and explains:

  • What: Override Debezium API version to 3.4.1.Final
  • Why: To use the latest version
  • Impact: Pulls in debezium-connector-postgres 3.4.1.Final and org.postgresql:postgresql:42.7.7

Note: There's a reviewer comment about a stale comment in the code that should be addressed.

📚 Evidence Consulted

Evidence

  • Changed files: 1 file (airbyte-integrations/connectors/source-postgres/build.gradle)
  • CI checks:
    • Lint source-postgres Connector - FAIL (job_id: 62530946757)
    • Test source-postgres Connector - FAIL (job_id: 62530946833)
    • Connector CI Checks Summary - FAIL
  • PR labels: None relevant to validation
  • PR description: Present
  • Existing bot reviews: Previous REQUEST CHANGES for SHA 4e0f3d7ea2f7e6c80a549766eb4dd9e46f3b94d3 (different from current HEAD)

Diff Analysis

-    // version specified by the debezium bom dependency in the cdc toolkit
+
+    api platform('io.debezium:debezium-bom:3.4.1.Final')
+

The change:

  1. Removes a stale comment
  2. Adds a Debezium BOM version override to 3.4.1.Final
❓ How to Respond

Providing Context or Justification

You can add explanations that the bot will see on the next review:

Option 1: PR Description (recommended)
Add a section to your PR description:

## AI PR Review Justification

### Gate 1 (CI/Tests)
[Your explanation here - e.g., "CI failures are pre-existing issues in the base branch"]

### Gate 5 (Pre-Release Validation)
[Your explanation here - e.g., "This change has been tested locally with X"]

Option 2: PR Comment
Add a comment starting with:

AI PR Review Justification:
[Your explanation here]

After adding your response, re-run /ai-review to have the bot evaluate it.

Note: For Gate 1, since the CI failures are pre-existing issues in the base branch, a maintainer may need to:

  1. Fix the CDK deprecation warnings in the base branch first, OR
  2. Manually approve this PR after reviewing the code

For Gate 5, consider running /ai-prove-fix to validate the Debezium upgrade against production connections.

Copy link
Contributor

@octavia-bot octavia-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI PR Review: Gates Failed

This PR has failing gates that require attention before merge. See the gate report comment above for details and remediation steps.

This review was automatically submitted by the AI PR Review system.

Comment on lines 30 to 31
base.conn.use { conn ->
base.conn.use {
if (dbNumWraparound(base.conn) > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels a little weird. Can we use conn or it on line 31 instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️
Fixed

Copy link
Contributor

@mwbayley mwbayley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved modulo one nit

@rodireich rodireich marked this pull request as ready for review February 4, 2026 21:07
@rodireich rodireich merged commit a34dfff into source-postgres/bulk-cdk Feb 4, 2026
28 of 29 checks passed
@rodireich rodireich deleted the rodi/postgres-dbz-ver branch February 4, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants