Skip to content

ci(integration-tests): post per-mode Python Proxy Tests checks#811

Merged
vikrantpuppala merged 1 commit into
mainfrom
ci/python-proxy-tests-matrix-checks
May 27, 2026
Merged

ci(integration-tests): post per-mode Python Proxy Tests checks#811
vikrantpuppala merged 1 commit into
mainfrom
ci/python-proxy-tests-matrix-checks

Conversation

@vikrantpuppala
Copy link
Copy Markdown
Contributor

Summary

The proxy-test suite in databricks-driver-test is now a mode: [thrift, kernel] matrix that posts two named check runs per dispatch: Python Proxy Tests / thrift and Python Proxy Tests / kernel (see databricks-driver-test#369). The single unsuffixed Python Proxy Tests check is no longer posted by the matrix legs.

Without this PR, the synthetic-success / auto-pass / dispatch-failure stanzas in trigger-integration-tests.yml would still post the legacy unsuffixed Python Proxy Tests name. When branch protection is flipped to require the two suffixed names, the synthetic baseline would disappear and every connector PR that doesn't actually dispatch the suite (i.e. most of them) would block forever on a missing required check.

This PR fans every check-posting step out to both modes. The MODES constant at the top of each script is the single source of truth for the matrix axis; keep it in sync with the matrix in databricks-driver-test/.github/workflows/python-proxy-tests.yml.

What changes

5 places in trigger-integration-tests.yml now loop over ['thrift', 'kernel'] instead of posting a single Python Proxy Tests check:

  • skip-integration-tests-pr — synthetic-success on PR open / push / non-IT label.
  • trigger-tests-pr "Pass Python Proxy Tests check (no driver changes)" — auto-pass when the label is added but no driver files changed.
  • trigger-tests-pr "Fail check on dispatch error" — failure synthetic when dispatch errors.
  • merge-queue-python "Auto-pass (no driver changes)" — merge-queue auto-pass.
  • merge-queue-python "Fail check on dispatch error" — merge-queue dispatch failure.

The top-of-file comment block is updated to document the new check names and the rollout order.

Rollout order

  1. Land databricks-driver-test#369 first. The matrix legs start posting the suffixed names. The legacy Python Proxy Tests required check is still satisfied by this workflow's existing single-synthetic-success path (this PR is not merged yet), so PRs continue to pass.
  2. Land this PR AND update branch protection on main to replace the required-status entry Python Proxy Tests with both Python Proxy Tests / thrift and Python Proxy Tests / kernel. Order between these two is fine either way — the window of brokenness is just the time between them. Do them together to minimise it.

Test plan

  • Workflow YAML lints (actionlint parity — comment-block + script-block edits only, no structural changes).
  • On this PR itself, confirm skip-integration-tests-pr posts two suffixed synthetic checks (Python Proxy Tests / thrift, Python Proxy Tests / kernel) and the legacy unsuffixed check no longer appears.
  • After branch protection is flipped, confirm a follow-up PR shows both suffixed names as required statuses and that the legacy unsuffixed name is gone.

This pull request and its description were written by Isaac.

Copy link
Copy Markdown
Contributor

@msrathore-db msrathore-db left a comment

Choose a reason for hiding this comment

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

LGTM

The proxy-test suite in databricks-driver-test is now a
`mode: [thrift, kernel]` matrix that posts two named check runs per
dispatch: `Python Proxy Tests / thrift` and `Python Proxy Tests /
kernel` (see databricks-driver-test#369). The single unsuffixed
`Python Proxy Tests` check is no longer posted by the matrix legs,
so the synthetic-success / auto-pass / dispatch-failure stanzas in
this workflow must fan out to both names — otherwise the
required-status-check entry `Python Proxy Tests` would still expect
the unsuffixed name but no workflow would post it.

The `MODES` constant at the top of each script is the single source
of truth for the matrix axis; keep it in sync with the matrix in
databricks-driver-test/.github/workflows/python-proxy-tests.yml.

Rollout order:

  1. Land databricks-driver-test#369. Matrix legs start posting the
     suffixed names. The legacy `Python Proxy Tests` required check
     is still satisfied by this workflow's existing single
     synthetic-success path (this PR is not merged yet), so PRs
     continue to pass.
  2. Land this PR AND update branch protection on `main` to swap the
     required-status entry `Python Proxy Tests` for both
     `Python Proxy Tests / thrift` and `Python Proxy Tests / kernel`.
     Order between these two is fine either way — the broken window
     is just the time between them. Do them together to minimise it.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
@vikrantpuppala vikrantpuppala force-pushed the ci/python-proxy-tests-matrix-checks branch from fdf334f to 4ae6c06 Compare May 27, 2026 13:15
@vikrantpuppala vikrantpuppala enabled auto-merge May 27, 2026 13:27
@vikrantpuppala vikrantpuppala disabled auto-merge May 27, 2026 13:33
@vikrantpuppala vikrantpuppala merged commit 00dc084 into main May 27, 2026
46 of 47 checks passed
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.

2 participants