Skip to content

ci: always run Node.js integration tests on PR/merge (covers GA Thrift)#443

Merged
msrathore-db merged 1 commit into
mainfrom
msrathore/mq-integration-kernel-rev
Jun 22, 2026
Merged

ci: always run Node.js integration tests on PR/merge (covers GA Thrift)#443
msrathore-db merged 1 commit into
mainfrom
msrathore/mq-integration-kernel-rev

Conversation

@msrathore-db

@msrathore-db msrathore-db commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What

Make the Node.js integration suite run on every merge-queue commit and every labeled PR, instead of gating the dispatch on a kernel/source path allow-list. Drops the path-based change-detection in both jobs of trigger-integration-tests.yml:

  • merge-queue-nodejs (the required merge-queue gate)
  • trigger-tests-pr (the integration-test-labeled PR preview)

Why

The dispatched databricks-driver-test suite runs a backend matrix:

  • thrift / normalblocking gate (the GA path)
  • sea / normal — blocking gate
  • sea / reyden — non-blocking (surfaces Reyden server-side limitations)

Because it gates the GA Thrift backend too, virtually any change in this repo can affect it. The previous path allow-list (bin/ lib/ spec/ thrift/ tests/e2e/ tests/integration/ package*.json tsconfig* .github/workflows/) meant:

  • KERNEL_REV bumps and native/ binding changes were classified "no driver changes" → the required Node.js Integration Tests check auto-passed green without running — exactly the PRs that swap the pinned kernel.
  • Any other Thrift-affecting file not on the list was likewise skipped.

driver-test already builds the napi binding from this repo's KERNEL_REV at the dispatched commit (reads KERNEL_REV → checks out databricks-sql-kernel at that SHA → build:native), so the merge-queue run exercises the pinned kernel version. This PR just ensures the dispatch always happens.

Change

Both jobs now unconditionally mark for dispatch (changed=true / nodejs=true); the dead "no driver changes" auto-pass steps are removed. Downstream if: … == 'true' guards and the dispatch-error handlers are unchanged. Pure CI/workflow change.

Note: the merge queue is confirmed active (recent merge_group runs on pr-433/pr-438), and ordinary unlabeled PRs still get the immediate-green preview via skip-integration-tests-pr — the real gate is the merge queue, which now always runs.

This pull request and its description were written by Isaac.

The dispatched databricks-driver-test suite runs a backend matrix — thrift
(blocking), sea/normal (blocking), sea/reyden (non-blocking) — so it gates the
GA Thrift path as well as SEA/kernel. Gating the dispatch on a kernel/source
path allow-list meant changes outside that list (incl. KERNEL_REV bumps and
native/ binding edits) skipped the suite even though they can affect the Thrift
leg, and the merge-queue gate auto-passed green without running anything.

Drop the path-based gating in both the merge-queue gate (merge-queue-nodejs)
and the labeled-PR preview (trigger-tests-pr) so the suite runs on every
merge-queue commit and every labeled PR. driver-test builds the napi binding
from the driver's KERNEL_REV at the dispatched commit, so the merge-queue run
exercises the pinned kernel version.

Co-authored-by: Isaac
Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
@msrathore-db msrathore-db force-pushed the msrathore/mq-integration-kernel-rev branch from 73fb2a5 to bb42caf Compare June 22, 2026 11:10
@msrathore-db msrathore-db changed the title ci: run merge-queue integration tests on KERNEL_REV / native changes ci: always run Node.js integration tests on PR/merge (covers GA Thrift) Jun 22, 2026
@msrathore-db msrathore-db added the integration-test Trigger the cross-repo driver-test Node.js integration suite on this PR label Jun 22, 2026
@github-actions

Copy link
Copy Markdown

Node.js integration tests triggered. View workflow run.

@msrathore-db msrathore-db added this pull request to the merge queue Jun 22, 2026
Merged via the queue into main with commit 9235fc4 Jun 22, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-test Trigger the cross-repo driver-test Node.js integration suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants