Commit 88f50aa
committed
ci: post Python Integration Tests check as the driver-test app (fix app-pinned gate)
The required 'Python Integration Tests' check is pinned in the main ruleset to
the driver-test app (driver-integration-test, integration_id 2731531). But the
PR-side placeholder was posted via github.token, so it landed as github-actions
— a DIFFERENT check context that does NOT satisfy the app-pinned gate. Result:
the required check sat unfulfilled and PRs stayed BLOCKED even though a green
'Python Integration Tests' appeared in the list (e.g. #882).
Mirror databricks-sql-go #426 / databricks-sql-nodejs #459:
- Add skip-checks-reporter.yml, triggered by workflow_run on 'Trigger
Integration Tests'. It runs in the base-repo context with secret access even
for fork-triggered runs, mints the INTEGRATION_TEST_APP token, and posts
'Python Integration Tests'=success on every PR head — forks included — as the
driver-test app, so the app-pinned gate is satisfied and every PR auto-enqueues.
- Remove the inline skip-integration-tests-pr github.token stub (superseded;
it posted under the wrong app and 403'd on forks entirely).
- In merge-queue-python, mint the app token unconditionally and post the
auto-pass (no-driver-change) and dispatch-failure checks with IT — the
merge_group path isn't covered by the reporter, and a github.token check there
likewise can't satisfy the pinned gate (queue would hang). The real result was
already posted back by driver-test as the app; this aligns the no-op paths.
The labeled-PR preview's inline checks stay on github.token (cosmetic; the
reporter owns the pinned gate on pull_request events), matching go/nodejs.
Co-authored-by: Isaac
Signed-off-by: eric-wang-1990 <e.wang@databricks.com>1 parent a3020af commit 88f50aa
2 files changed
Lines changed: 108 additions & 65 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
168 | 129 | | |
169 | 130 | | |
170 | 131 | | |
| |||
333 | 294 | | |
334 | 295 | | |
335 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
336 | 314 | | |
337 | 315 | | |
338 | 316 | | |
| |||
352 | 330 | | |
353 | 331 | | |
354 | 332 | | |
355 | | - | |
356 | | - | |
357 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
358 | 336 | | |
359 | 337 | | |
360 | 338 | | |
| |||
386 | 364 | | |
387 | 365 | | |
388 | 366 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | 367 | | |
400 | 368 | | |
401 | 369 | | |
| |||
418 | 386 | | |
419 | 387 | | |
420 | 388 | | |
421 | | - | |
422 | | - | |
423 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
424 | 393 | | |
425 | 394 | | |
426 | 395 | | |
| |||
0 commit comments