docs: document CLI version resolution in CONTRIBUTING.md#64
Merged
Conversation
Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
atilafassina
approved these changes
May 5, 2026
simonfaltum
pushed a commit
to databricks/cli
that referenced
this pull request
May 12, 2026
…5139) ## Summary Introduces a CLI compatibility manifest (`internal/build/cli-compat.json`) that maps CLI versions to compatible AppKit template and Agent Skills versions. This enables template updates to reach users without CLI releases. ### Manifest format The manifest is purely range-based — each versioned entry defines a **range floor** that applies to that CLI version and all versions above it, up to the next entry. The manifest should be sparse: only add a new entry when a compatibility boundary changes (e.g., new AppKit templates require specific CLI features). ### Resolution - **Exact match** → use that entry - **Between entries** → nearest lower version - **Newer than all** → highest versioned entry - **Dev builds** (`0.0.0-dev*`) → highest versioned entry ### Manifest sources (fallback chain) 1. Fresh local cache (< 1h) 2. Remote fetch from GitHub (with retry) 3. Stale local cache or embedded manifest fallback Set `DATABRICKS_FORCE_EMBEDDED_COMPAT=true` to skip remote fetch and use only the embedded manifest (useful for local development). ### Companion PRs - [databricks/appkit#333](databricks/appkit#333) - [databricks/databricks-agent-skills#64](databricks/databricks-agent-skills#64) ## Screenshot <img width="1046" height="570" alt="image" src="https://github.com/user-attachments/assets/1b51cd90-bcaa-4b0e-bcbd-a5370da572ef" /> --------- Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
denik
pushed a commit
to databricks/cli
that referenced
this pull request
May 20, 2026
…5139) ## Summary Introduces a CLI compatibility manifest (`internal/build/cli-compat.json`) that maps CLI versions to compatible AppKit template and Agent Skills versions. This enables template updates to reach users without CLI releases. ### Manifest format The manifest is purely range-based — each versioned entry defines a **range floor** that applies to that CLI version and all versions above it, up to the next entry. The manifest should be sparse: only add a new entry when a compatibility boundary changes (e.g., new AppKit templates require specific CLI features). ### Resolution - **Exact match** → use that entry - **Between entries** → nearest lower version - **Newer than all** → highest versioned entry - **Dev builds** (`0.0.0-dev*`) → highest versioned entry ### Manifest sources (fallback chain) 1. Fresh local cache (< 1h) 2. Remote fetch from GitHub (with retry) 3. Stale local cache or embedded manifest fallback Set `DATABRICKS_FORCE_EMBEDDED_COMPAT=true` to skip remote fetch and use only the embedded manifest (useful for local development). ### Companion PRs - [databricks/appkit#333](databricks/appkit#333) - [databricks/databricks-agent-skills#64](databricks/databricks-agent-skills#64) ## Screenshot <img width="1046" height="570" alt="image" src="https://github.com/user-attachments/assets/1b51cd90-bcaa-4b0e-bcbd-a5370da572ef" /> --------- Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
TanishqDatabricks
pushed a commit
to TanishqDatabricks/cli
that referenced
this pull request
May 22, 2026
…atabricks#5139) ## Summary Introduces a CLI compatibility manifest (`internal/build/cli-compat.json`) that maps CLI versions to compatible AppKit template and Agent Skills versions. This enables template updates to reach users without CLI releases. ### Manifest format The manifest is purely range-based — each versioned entry defines a **range floor** that applies to that CLI version and all versions above it, up to the next entry. The manifest should be sparse: only add a new entry when a compatibility boundary changes (e.g., new AppKit templates require specific CLI features). ### Resolution - **Exact match** → use that entry - **Between entries** → nearest lower version - **Newer than all** → highest versioned entry - **Dev builds** (`0.0.0-dev*`) → highest versioned entry ### Manifest sources (fallback chain) 1. Fresh local cache (< 1h) 2. Remote fetch from GitHub (with retry) 3. Stale local cache or embedded manifest fallback Set `DATABRICKS_FORCE_EMBEDDED_COMPAT=true` to skip remote fetch and use only the embedded manifest (useful for local development). ### Companion PRs - [databricks/appkit#333](databricks/appkit#333) - [databricks/databricks-agent-skills#64](databricks/databricks-agent-skills#64) ## Screenshot <img width="1046" height="570" alt="image" src="https://github.com/user-attachments/assets/1b51cd90-bcaa-4b0e-bcbd-a5370da572ef" /> --------- Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a "Version resolution in Databricks CLI" section to CONTRIBUTING.md explaining that the CLI uses
cli-compat.jsonto determine which Agent Skills version to install.Companion PRs: