Repository navigation
air: show workspace-supported accelerators in compute help - #6993
Open
caroline-db wants to merge 3 commits into
Open
caroline-db wants to merge 3 commits into
caroline-db wants to merge 3 commits into
Conversation
caroline-db
force-pushed
the
air/list-compute-options
branch
2 times, most recently
from
October 8, 2026 18:37
4464f3f to
6b2cfe5
Compare
Collaborator
Integration test reportCommit: efefea9
Top 3 slowest tests (at least 2 minutes):
|
pardis-beikzadeh-db
approved these changes
Oct 9, 2026
| defer cancel() | ||
| cmd.SetContext(root.SkipLoadBundle(root.SkipPrompt(ctx))) | ||
|
|
||
| if !cmdctx.HasWorkspaceClient(cmd.Context()) { |
There was a problem hiding this comment.
make sure if any of these are RPC calls that they have retries
Contributor
Author
There was a problem hiding this comment.
yup, this uses the databricks sdk client.Do which retries SDK-classified transient failures, and there is a 3-second context timeout here
| } | ||
| } | ||
|
|
||
| options, err := listWorkspaceComputeOptions(cmd.Context(), cmdctx.WorkspaceClient(cmd.Context())) |
caroline-db
force-pushed
the
air/list-compute-options
branch
from
October 15, 2026 23:04
c35e61a to
4af9e9a
Compare
caroline-db
force-pushed
the
air/list-compute-options
branch
from
October 21, 2026 18:08
4af9e9a to
efefea9
Compare
Contributor
|
Commit: Regression test reportSelected 1 changed tests (limit=20, 0 not selected) 1 tests: regression=1 unreleased=0 coverage=0 failing=0
TestAccept/air/config-help: branch ✅ | main (bef6321) ❌ | latest (v1.21.0) ❌main (bef6321): latest (v1.21.0): same output as main (bef6321) |
This branch has not been deployed
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.
Changes
databricks air run -h config.compute.Why
Static help can advertise accelerators that cannot be used in the selected workspace. The AI Training backend determines which options are supported by both the workspace and the Jobs AI Runtime task API, keeping that compatibility logic out of the CLI.
The fallback preserves useful help while the endpoint is unavailable or still being rolled out.
Tests
./task test./task lint./task checks