Skip to content

air: Clarify empty active run listings - #7276

Merged
caroline-db merged 3 commits into
mainfrom
air/active-runs-empty-message
Oct 30, 2026
Merged

caroline-db merged 3 commits into
mainfrom
air/active-runs-empty-message

Conversation

@caroline-db

@caroline-db caroline-db commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Print No active runs found. and suggest --all-status when air list returns no results with its default active-only filter.
  • Keep No runs found. when --all-status is used.

Why

The default empty state did not make it clear that runs no longer active were excluded or how to include them.

Tests

  • go test ./cmd/air
  • ./task checks
  • ./task lint

This PR was written with Codex.

@caroline-db
caroline-db requested review from a team as code owners October 30, 2026 19:59
@caroline-db
caroline-db requested a review from anton-107 October 30, 2026 19:59
@github-actions github-actions Bot added the AIR Databricks AI Runtime CLI label Oct 30, 2026
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 526c8df

Run: 41127945559

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 281 15 5:32
✅​ aws-windows-latest-4core-16gb 283 13 3:40
✅​ azure linux-2core-8gb 280 15 5:29
✅​ azure-windows-latest-4core-16gb 282 13 3:37
✅​ gcp linux-2core-8gb 281 15 5:29
✅​ gcp-windows-latest-4core-16gb 283 13 3:40
Top 6 slowest tests (at least 2 minutes):
duration env testname
3:48 aws linux-2core-8gb TestAccept
3:48 gcp linux-2core-8gb TestAccept
3:47 azure linux-2core-8gb TestAccept
3:33 gcp-windows-latest-4core-16gb TestAccept
3:33 aws-windows-latest-4core-16gb TestAccept
3:31 azure-windows-latest-4core-16gb TestAccept

Comment thread cmd/air/list_tui.go Outdated

func emptyListMessage(activeOnly bool) string {
if activeOnly {
return "No active runs found.\n"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add a note like this: "To see all runs (including inactive), run with --all-status"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to: No active runs found. Use --all-status to include runs that are no longer active.

@caroline-db
caroline-db added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 343ae60 Oct 30, 2026
28 checks passed
@caroline-db
caroline-db deleted the air/active-runs-empty-message branch October 30, 2026 21:35
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 343ae60

Run: 41132299716

Env 🔄​flaky ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 1504 1226 124:12
🔄​ aws-windows-latest-4core-16gb 3 1426 1251 143:37
✅​ azure linux-2core-8gb 1351 1278 99:15
✅​ azure-windows-latest-4core-16gb 1276 1303 114:38
✅​ gcp linux-2core-8gb 1338 1283 110:31
🔄​ gcp-windows-latest-4core-16gb 1 1262 1308 130:45
Test Name aws-windows-latest-4core-16gb gcp-windows-latest-4core-16gb
🔄​ TestAccept 🔄​f 🔄​f
🔄​ TestAccept/bundle/resources/postgres_branches/recreate 🔄​f 🙈​s
🔄​ TestAccept/bundle/resources/postgres_branches/recreate/DMS= 🔄​f
Top 50 slowest tests (at least 2 minutes):
duration env testname
13:07 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
12:50 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
10:50 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
9:44 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
9:34 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
9:31 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
9:29 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
8:58 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
8:34 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
8:30 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
8:16 aws linux-2core-8gb TestAccept/bundle/deploy/spark-jar-task/DMS=true
8:02 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
8:00 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:57 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
7:50 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
7:38 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=
7:37 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:22 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
7:16 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
7:14 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=
7:12 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
6:57 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
6:55 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
6:55 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
6:38 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
6:23 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/data_security_mode/DMS=true
6:18 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
6:06 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:03 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
6:02 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
6:00 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
5:56 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
5:53 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
5:51 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
5:22 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
5:12 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
5:06 aws linux-2core-8gb TestAccept/bundle/deploy/spark-jar-task/DMS=
4:56 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
4:55 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
4:49 gcp-windows-latest-4core-16gb TestAccept/bundle/deploy/spark-jar-task/DMS=
4:41 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
4:40 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=true
4:39 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=
4:38 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
4:37 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
4:37 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=
4:31 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
4:25 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=true
4:17 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
4:08 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true

deco-sdk-tagging Bot added a commit that referenced this pull request Nov 4, 2026
## Release v1.24.0

### Notable Changes

 * A variable used as the value of a secret is now sensitive: referencing it from any other field, such as a job parameter or a secret's `comment`, is an error because the value would be used in plain text. Mark other secret-holding variables with `sensitive: true` to get the same protection. ([#7288](#7288))

### CLI

 * Fix `databricks auth login` and `databricks configure` overwriting the parent profile's host and token when saving a profile with a dotted name such as `team.prod` next to an existing `[team]`. ([#7266](#7266))
 * `databricks auth login` and `databricks auth token` now reject the name of an existing profile after "Create a new profile" instead of logging in to that profile. ([#7196](#7196))
 * `databricks auth login` and `databricks auth token` now reject a host that is not a URL with a hostname, such as `/`, `?o=123` or `https://`, instead of falling back to `DATABRICKS_HOST` or failing later. An empty host after "Enter a host URL manually" in the login profile picker no longer starts discovery login. ([#7195](#7195))
 * Prompts that validate their input, such as the `databricks configure` host prompt, no longer open with a red cross before anything is typed. ([#7314](#7314))
 * `databricks ssh connect` now documents `--environment-version` for choosing the serverless environment version, starts a separate default-named server for each version, and rejects the flag together with `--cluster`. Default connection names also include the environment version in their hash, so the default name when `--environment-version` is not specified changes with this release. Configuration associated with the old connection name (secret scope, SSH keys and known hosts in your local `.databricks` folder) will no longer be used and can be safely removed. ([#7310](#7310))

### AI Runtime

 * Show workspace-supported accelerator types in `databricks air run -h config.compute.accelerator_type`. ([#7275](#7275))
 * `air list` now reports `No active runs found.` for an empty active-only result. ([#7276](#7276))
 * Stop printing a retry notice on every `air run --watch`; retries are still reported when they happen. ([#7270](#7270))

### Bundles

 * Fix `bundle plan` reporting an update to an app's `config.env` values on every run, which also redeployed the app on every `bundle deploy`. The Apps API returns environment variable names only, so `value` and `value_from` are no longer compared against the remote deployment. ([#7326](#7326))
 * Add the `data_quality_monitors` resource for data quality monitors on Unity Catalog schemas and tables (direct engine only). ([#7094](#7094))
 * `bundle deploy` now asks for confirmation before recreating or deleting a Feature View, and `bundle deploy` and `bundle destroy` warn that FeatureSpecs using a Feature View are not checked. ([#7164](#7164))
 * Accept grant `privileges` values that the SDK enum does not list yet: `bundle validate` no longer warns (or errors under `--strict`) on them, and the PyDABs `Privilege` enum accepts unknown strings instead of raising. The JSON schema and PyDABs still advertise the known values for completion. ([#7315](#7315))
 * Add the `materialization_sets` resource, which materializes Feature Store Feature Views to offline and online stores. ([#7164](#7164))
 * Detect notebooks with the same rule as the workspace: a `.py`, `.sql`, `.scala` or `.r` file is a notebook when its first line contains `Databricks notebook source`, for example after a byte order mark. Previously such a file was tracked as a plain file, so removing it locally left the remote notebook behind. ([#7290](#7290))
 * Add `sensitive: true` for bundle variables. A variable used as the value of a secret is sensitive by default. `bundle validate -o json` redacts only sensitive variables instead of every string variable, and a sensitive variable can only be referenced from a sensitive resource field (such as a secret's `value`) or from another sensitive variable. ([#7288](#7288))

### Dependency Updates

 * Bump dependencies with known vulnerabilities. ([#7305](#7305))
 * Bump dependencies with known vulnerabilities. ([#7327](#7327))
 * Update the Go SDK to [v0.191.1](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.191.1). ([#7277](#7277))
 * Update the Go SDK to [v0.193.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.193.0). ([#7303](#7303))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIR Databricks AI Runtime CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants