Job `triggers` does not follow pause / unpause overrides

オープン
#7,359 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, yaml
領域
backend, cli

調査の方向性

Start by reading the bundle deployment code that applies development mode and preset overrides to job triggers, then look for existing tests covering trigger pause status. Reproduce with the provided databricks.yml configuration and databricks bundle deploy; done means triggers are paused in development mode and when trigger_pause_status: PAUSED is configured, with tests covering both cases.

索引モデルが issue の本文から書いたものです。

説明

DABs
Describe the issue

When specifying multiple triggers for a job, they remain UNPAUSED even if PAUSED is preset or the target uses development mode

Configuration

databricks.yml:

bundle:
  name: trigger-pause-repro

targets:
  dev:
    default: true
    mode: development

resources:
  jobs:
    trigger_repro:
      name: trigger-pause-repro

      tasks:
        - task_key: test
          notebook_task:
            notebook_path: hello.py

      triggers:
        - periodic:
            interval: 1
            unit: DAYS

in the same directory, any valid databricks source notebook hello.py

Steps to reproduce the behavior
  1. Run databricks bundle deploy
  2. Run databricks bundle open trigger_repro
  3. The job is not paused
Expected Behavior

The job is paused, because we deployed with mode: development

Actual Behavior

The job is not paused. This also happens when setting

presets:
      trigger_pause_status: PAUSED

under the default target.

OS and CLI version

Windows, CLI 1.22.1

Is this a regression?

No, triggers in preview as of writing

主要言語
Go
スター
424
フォーク
261
平均マージ
1日 19時間
マージ済み PR(30日)
218

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

databricks/cli のほかの issue

databricks/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。