Skip to content

Apply pause presets to job triggers - #7382

Open
MartijnVermeulen96 wants to merge 3 commits into
databricks:mainfrom
MartijnVermeulen96:fix-triggers-pause-presets
Open

MartijnVermeulen96 wants to merge 3 commits into
databricks:mainfrom
MartijnVermeulen96:fix-triggers-pause-presets

Conversation

@MartijnVermeulen96

@MartijnVermeulen96 MartijnVermeulen96 commented Nov 5, 2026 •

Copy link
Copy Markdown

Changes

Apply presets.trigger_pause_status to each triggers[] entry on jobs, similar to how schedule, continuous & trigger are already handled. Only omitted values inherit the preset, so explicit per-trigger values are preserved. Development mode defaults the preset to PAUSED, so it is covered by the same change.

Why

With trigger_pause_status: PAUSED or mode: development, legacy schedules were paused but triggers[] entries were left without a pause status. The backend then defaults them to UNPAUSED, so dev deployments of jobs using the new field could start running on their schedule.

Tests

  • Unit tests for PAUSED/UNPAUSED presets, explicit, mixed & unset values across cron, file arrival & table update triggers, plus development mode with & without an UNPAUSED preset.
  • Acceptance test bundle/validate/presets_triggers_pause_status.
  • Manually deployed two cron triggers to a staging workspace: both PAUSED under the preset & development mode, and an explicit UNPAUSED was kept after redeploy.

Co-authored-by: Isaac <no-reply@databricks.com>
@MartijnVermeulen96
MartijnVermeulen96 requested review from a team as code owners November 5, 2026 17:59
@github-actions github-actions Bot added the DABs DABs related issues label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Thanks for the contribution! This pull request was opened from a fork.

If you're a member of the Databricks organization, please request access to the cli-contrib team and open your pull request from a branch in this repository instead of a fork — fork PRs don't run integration tests automatically and have reduced CI access.

If you're an external contributor, no action is needed; a maintainer will review your pull request.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 7382
  • Commit SHA: 7864e8947960d2e4faa2be419b107bbd6dc46481

Checks will be approved automatically on success.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant