You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(integration-tests): post per-mode Python Proxy Tests checks
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
summary: 'Python Proxy Tests are skipped on PRs and run as a required gate in the merge queue. Add the `integration-test` label to preview them on this PR.'
138
-
}
139
-
});
140
+
const MODES = ['thrift', 'kernel'];
141
+
for (const mode of MODES) {
142
+
await github.rest.checks.create({
143
+
owner: context.repo.owner,
144
+
repo: context.repo.repo,
145
+
name: `Python Proxy Tests / ${mode}`,
146
+
head_sha: context.payload.pull_request.head.sha,
147
+
status: 'completed',
148
+
conclusion: 'success',
149
+
completed_at: new Date().toISOString(),
150
+
output: {
151
+
title: 'Skipped on PR — runs in merge queue',
152
+
summary: `Python Proxy Tests (${mode}) are skipped on PRs and run as a required gate in the merge queue. Add the \`integration-test\` label to preview them on this PR.`
0 commit comments