Skip to content

Temporarily disable integration test trigger#4899

Merged
pietern merged 1 commit intomainfrom
skip-integration-trigger
Apr 2, 2026
Merged

Temporarily disable integration test trigger#4899
pietern merged 1 commit intomainfrom
skip-integration-trigger

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented Apr 2, 2026

Summary

  • Skip integration test triggering on PRs and pushes to main while the integration test infrastructure is not working
  • The required "Integration Tests" check still passes (marked as skipped) so PRs and merge queue are not blocked
  • Removed dependency on test-trigger-is environment and app tokens since no external workflows are triggered
  • Revert this PR when integration tests are working again

Test plan

  • Verify the "Integration Tests" check shows as passed with skip message on a PR
  • Verify merge queue auto-approves correctly

This pull request was AI-assisted by Isaac.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

Suggested reviewers

Based on git history of the changed files, these people are best suited to review:

Confidence: low

Eligible reviewers

Based on CODEOWNERS, these people or teams could also review:

@andrewnester, @anton-107, @simonfaltum

Suggestions based on git history of 1 changed files (1 scored). See CODEOWNERS for path-specific ownership rules.

@pietern pietern enabled auto-merge April 2, 2026 17:50
@pietern pietern added this pull request to the merge queue Apr 2, 2026
Merged via the queue into main with commit 6988c16 Apr 2, 2026
22 checks passed
@pietern pietern deleted the skip-integration-trigger branch April 2, 2026 18:12
mihaimitrea-db added a commit that referenced this pull request Apr 20, 2026
…gh emu-access

Reverts the intent of #4899 (temporary stub) now that both blockers are resolved:
the eng-dev-ecosystem `mark-as-*` jobs moved onto ghec-access runners in
databricks-eng/eng-dev-ecosystem#1252, and this change moves the cross-org
`gh workflow run` dispatch onto `linux-ubuntu-latest-emu-access` following the
pattern from databricks/databricks-sdk-go#1638 so the call is no longer 403'd
by the databricks-eng org IP allowlist.

Restores the pre-#4899 behavior in `push.yml`:
- PRs dispatch `cli-isolated-pr.yml`; pushes to `main` dispatch `cli-isolated-nightly.yml`.
- The required `Integration Tests` check is updated by the eng-dev-ecosystem
  `mark-as-*` jobs (in_progress → success/failure) instead of being fake-stamped.
- Testmask-based skip/auto-approve paths are restored with their original summaries.

Split into two jobs:
- `integration-trigger` (deco runners) writes same-org Skip/Auto-approve checks
  via the DECO_TEST_APPROVAL token.
- `trigger-tests` (emu-access runners) mints the DECO_WORKFLOW_TRIGGER token and
  does the cross-org `gh workflow run` dispatch.

NO_CHANGELOG=true

Co-authored-by: Isaac
mihaimitrea-db added a commit that referenced this pull request Apr 23, 2026
…gh emu-access (#5034)

## Summary

- Reverts the intent of #4899 (temporary stub) and restores automatic
integration test triggering. The original PR could not simply be
reverted (as initially intended) because of the new distinction between
runners with cross-org access and ones with same-org access.
- Both upstream blockers are now resolved:
- **eng-dev-ecosystem side:**
[databricks-eng/eng-dev-ecosystem#1252](https://github.com/databricks-eng/eng-dev-ecosystem/pull/1252?timeline_per_page=5)
moved `mark-as-pending` / `mark-as-success` / `mark-as-failure` onto
`linux-ubuntu-latest-ghec-access` runners so cross-org check-run writes
no longer 403 on the `databricks` org allowlist.
- **CLI side (this PR):** the cross-org `gh workflow run` dispatch is
moved onto `linux-ubuntu-latest-emu-access`, following the pattern from
databricks/databricks-sdk-go#1638, so it no longer 403s on the
`databricks-eng` org allowlist.
- The job is split in two:
- `integration-trigger` (deco runners) handles same-org `Integration
Tests` check writes for the PR-skip and merge-group-auto-approve paths,
using the `DECO_TEST_APPROVAL` app token. Testmask-based gating and the
pre-#4899 summaries (`Skipped (changes do not require integration
tests)` / `Auto-approved for merge queue (tests already passed on PR)`)
are restored.
- `trigger-tests` (emu-access runners) mints the `DECO_WORKFLOW_TRIGGER`
token and issues the cross-org `gh workflow run cli-isolated-pr.yml` /
`cli-isolated-nightly.yml` dispatches.
- `integration-trigger-dependabot` is unchanged.

NO_CHANGELOG=true

## Test plan

- [x] On this PR, confirm `integration-trigger` runs on
`databricks-deco-testing-runner-group` and succeeds.
- [x] Confirm `trigger-tests` runs on
`databricks-release-runner-group-emu-access`; `Generate GitHub App
Token` step succeeds (no 403); `Trigger integration tests (pull
request)` dispatches `cli-isolated-pr.yml` on
`databricks-eng/eng-dev-ecosystem` with `pull_request_number` and
`commit_sha` inputs.
- [x] On `databricks-eng/eng-dev-ecosystem`, confirm the dispatched
`cli-isolated-pr` run appears (event: `workflow_dispatch`) and its
`checkout` job uploads the `update-check-action` and `gh-report-action`
artifacts.
- [x] Confirm `mark-as-pending` runs on
`linux-ubuntu-latest-ghec-access` and updates the `Integration Tests`
check on the PR commit to `in_progress`.
- [x] When the `integration-tests-prod` matrix finishes, confirm
`mark-as-success` / `mark-as-failure` updates the check to `success` /
`failure`. (Known separate issue: `integration-tests-prod` on `main` has
been failing due to a Go 1.25.9 toolchain fetch against
`proxy.golang.org`; that is out of scope here.)
- [ ] Merge-queue path: after ready-for-merge, confirm
`integration-trigger` writes the `Auto-approved for merge queue (tests
already passed on PR)` check.
- [ ] Push-to-main path: after merge, confirm a `workflow_dispatch` run
of `cli-isolated-nightly.yml` appears on eng-dev-ecosystem keyed to the
merge commit SHA.

This pull request and its description were written by Isaac.
simonfaltum added a commit that referenced this pull request Apr 23, 2026
## Why

Integration test nightlies (`cli-isolated-pr.yml`) have been red on
every main run since 2026-04-02, when `#4899` temporarily disabled the
trigger. The trigger was re-enabled in `#5034` and all accumulated
failures surfaced at once. Nothing in any in-flight feature PR is to
blame; this PR just clears the backlog so nightly signal goes green
again.

Two independent regressions:

1. The host-metadata cache (`#5011`) regenerated goldens for tests that
run locally, but could not touch `Cloud=true, Local=false` suites.
`acceptance/selftest/record_cloud/{pipeline-crud,workspace-file-io}`
still expected the pre-cache `/.well-known/databricks-config` calls.
2. Lakeview server behavior now varies by cloud on workspace import. AWS
staging includes `serialized_dashboard` in the updated fields; GCP
production no longer clears `warehouse_id`. The exact-match assertions
in `TestDashboardAssumptions_WorkspaceImport` fail differently on each
cloud.

## Changes

**Before:** `record_cloud` goldens include redundant
`/.well-known/databricks-config` GETs; dashboard test hard-codes exact
updated/deleted fields.

**Now:** goldens regenerated against e2-dogfood (only diff is removal of
the cached requests); dashboard assertions use `assert.Subset` so they
tolerate cross-cloud drift but still fail on anything outside the
known-allowed set.

- `acceptance/selftest/record_cloud/pipeline-crud/output.txt`,
`acceptance/selftest/record_cloud/workspace-file-io/output.txt`: rerun
with `-update` under `CLOUD_ENV=aws` against e2-dogfood. Both terraform
and direct variants produce identical output.
- `integration/assumptions/dashboard_assumptions_test.go`: `etag` and
`update_time` must appear in updated fields; `serialized_dashboard` is
allowed; `warehouse_id` is the only allowed deletion. Comment points to
the observed cross-cloud split so the next reader knows why.

Follows the pattern of the previous Lakeview-behavior-change fix in
`#4640`.

## Test plan

- [x] `make checks` clean
- [x] `make lint` clean (0 issues)
- [x] `go test ./acceptance -run
'TestAccept/selftest/record_cloud/{workspace-file-io,pipeline-crud}'`
passes against e2-dogfood (both terraform and direct variants)
- [x] `go test ./integration/assumptions -run
TestDashboardAssumptions_WorkspaceImport` passes against e2-dogfood
- [ ] cli-isolated-pr.yml integration run on this branch comes back
green
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.

1 participant