Notebooks deployed through Asset Bundles do not use the default base environment

未關閉
#3,887 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
go
領域
cli

研究方向

首先,使用已設定的預設基礎環境和 notebook 工作,透過 databricks bundle deploy ... 入口重現問題。追蹤 Asset Bundle 的部署路徑,以判斷為什麼新的 notebook 會略過預設值,以及變更後的 notebook 會遺失其選擇。只要在報告中的部署步驟中兩種預期行為都成立,就算完成。

由索引模型根據 Issue 內容生成。

描述

DABs
Describe the issue

When creating a new notebook, the default base environment is correctly applied. However, when deploying a Asset Bundle, the notebooks do not have the base environment applied. Additionally, having manually applied the base environment directly, the next deploy will overwrite the selection.

Configuration
  • Have a base environment configured and set as default
  • Have a job with a notebook task
Steps to reproduce the behavior
  1. Apply base environment to notebook referenced by a job
  2. Make a small change to the notebook inside the bundle
  3. Run databricks bundle deploy ...
  4. Check that the environment selection has been reset
Expected Behavior

For new notebooks deployed, the default base environment should be applied.
When deploying changed notebooks, the selected base environment will not be reset.

Actual Behavior

Every deploy resets the selected base environment

OS and CLI version

VS Code extension 2.10.3 (Databricks CLI 0.266.0)
Tested on both Windows 11, and macOS 15.7.2

Is this a regression?

To my knowledge, this has never worked.

主要語言
Go
星號
427
分支
267
平均合併
2 天 1 小時
30 天內合併 PR
233

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

databricks/cli 的其他 Issue

查看 databricks/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。