Skip to content

docs(databricks): bounded SDK clients and credentials only to hosts you chose - #336

Draft
fas89 wants to merge 1 commit into
mainfrom
docs/databricks-sdk-client-limits
Draft

fas89 wants to merge 1 commit into
mainfrom
docs/databricks-sdk-client-limits

Conversation

@fas89

@fas89 fas89 commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

What

Documents forge-cli #1190, which is open and not merged (head b5430183d, on main at 1775a7346). This pull request stays a draft until it merges, and is checked against the merged files then. It also switches the header of the forge-cli #1188 bullets in docs/upgrading.md to "On forge-cli main", since #1188 is merged.

  • docs/providers/databricks.md: the Databricks SDK clients. fluid verify reads with a 10 second timeout on each HTTP attempt and starts no retry after 10 seconds; the calls fluid apply and fluid test make keep 60 seconds and 300 seconds of retries, except the check of whether an owner alert is in the trash, which times out after 10 seconds; text from the workspace is shown with characters that cannot be printed replaced; what the SDK's probe of a host's metadata costs against a host that never answers. The 0.44.0 sentence about where the dbt profile came from no longer names a field that no schema accepts, and the page points to the repository's examples/databricks-unity-catalog example.
  • docs/cli/verify.md, docs/cli/doctor.md: when fluid apply refuses the contract, fluid verify names only the kind of refusal and says to run fluid validate for the reason; the doctor line about the host's metadata appears only when the probe fails, with a fixed text.
  • docs/advanced/llm-providers.md, docs/advanced/litellm-backend.md, docs/advanced/error-codes.md, docs/advanced/production-troubleshooting.md: the databricks LLM provider. Set DATABRICKS_API_BASE to your model serving endpoint. When a project's .env names the workspace (DATABRICKS_HOST with its own DATABRICKS_TOKEN) and a command has loaded it, forge stops the call (copilot_llm_key_withheld) instead of sending your key there, and the page lists the fixes.
  • docs/advanced/project-dotenv-trust.md, docs/advanced/environment-variables.md, docs/cli/generate.md: a project .env can no longer set the dbt profile, target or project directory, or the dbt artifact upload (DBT_PROFILES_DIR, DBT_PROFILE, DBT_TARGET, DBT_PROJECT_DIR, DBT_UPLOAD_TO_ARTIFACTS_INGEST_API and their DBT_ENGINE_ forms): they are ignored with the usual warning; set them in the shell or CI, or choose the target with builds[].properties.target. A new section says where fluid apply takes the dbt profiles.yml from, and that one the project supplies must resolve inside the project.
  • docs/upgrading.md, "Not in a release yet": a bullet for each change a reader notices, and the "On forge-cli main" header for the #1188 bullets.
  • All new text is marked "not yet in a release" with forge-cli #1190. Two parts of #1190 need no page: its test of the example's README commands, and the example itself beyond the pointer.

Validation

  • Every changed sentence was read against forge-cli #1190 at b5430183d, and against an earlier head of the same branch whose patches are identical. An independent read found nine imprecisions, now fixed. Examples: the 60 and 300 second claim had an exception (the owner alert check keeps 10 seconds); the 0.44.0 sentence named properties.profiles_dir, which no schema accepts; the key guard was described as reaching more commands than it does (it acts in a command that has loaded a project .env, and fluid forge never reads one); the profile lookup said "the first that exists" where it is the first that applies.
  • Run from a build of that source: a project .env that sets DBT_TARGET (ignored with the quoted warning, where 0.44.0 loaded all ten names); the profile refusal text for a profiles.yml that links outside the project (and 0.44.0 using it); the key guard after loading a project .env with a host and a token (withheld; sent when DATABRICKS_API_BASE is set, when the host is exported, with the project's own key and with no key); the fluid verify refusal text; the doctor line against a host that never answers; the 0.44.0 verify wait of about five minutes against the same host.
  • scripts/check_cli_docs.py in every mode (against data-product-forge==0.44.0, the release sweep against forge-cli's CHANGELOG.md at 1775a7346), scripts/check_providers.py, scripts/gen_contract_reference.py --check, the offline link check on the route mirror, npm run docs:build and node scripts/check-dist-links.mjs: pass.

Not run: LiteLLM's own routing for the databricks provider (the guard was run directly), dbt itself, and a live Databricks workspace.

…ou chose

The Databricks SDK clients have timeouts and show printable text only, and
fluid verify names only the kind of refusal. A project .env can no longer set
the dbt profile, target or project directory, a profiles.yml the project
supplies must sit inside the project, and the databricks LLM provider stops
instead of sending your key to a workspace a project file names. Not yet in
a release.

Signed-off-by: Speculator55005 <50082482+fas89@users.noreply.github.com>

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant