Skip to content

air: route MLflow log links from Artifacts to the Logs page - #7491

Merged
caroline-db merged 5 commits into
mainfrom
air/list-mlflow-logs
Nov 12, 2026
Merged

caroline-db merged 5 commits into
mainfrom
air/list-mlflow-logs

Conversation

@caroline-db

Copy link
Copy Markdown
Contributor

Changes

Route AIR log links in air list and air get JSON to the MLflow Logs page.

Why

MLflow's Logs page is now the source of truth for run logs. AIR linked to artifacts/logs/node_0, which appears empty when Logs v2 hides the underlying artifacts.

Tests

  • go test ./cmd/air
  • Focused air get acceptance tests
  • ./task fmt, ./task checks, and ./task lint

This PR was written with Codex.

@caroline-db
caroline-db requested review from a team as code owners November 11, 2026 17:16
@caroline-db
caroline-db requested a review from rclarey November 11, 2026 17:16
@github-actions github-actions Bot added the AIR Databricks AI Runtime CLI label Nov 11, 2026

@maggiewang-db maggiewang-db left a comment

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.

LGTM

@github-actions

Copy link
Copy Markdown
Contributor

Commit: 309cc5203 | Workflow run

Regression test report

Selected 2 changed tests (limit=20, 0 not selected)

2 tests: regression=2 unreleased=0 coverage=0 failing=0
test branch main (460df03) latest (v1.26.0)
TestAccept/air/get ✅ ❌ ❌
TestAccept/air/get-ai-runtime ✅ ❌ ❌
TestAccept/air/get: branch ✅ | main (460df03) ❌ | latest (v1.26.0) ❌

main (460df03):

acceptance_test.go:1374: Diff:
        --- air/get/output.txt
        +++ /tmp/TestAcceptairget414780783/002/output.txt
        @@ -49,7 +49,7 @@
             "attempt_number": 0,
             "experiment_name": "my-exp",
             "dashboard_url": "[DATABRICKS_URL]/jobs/runs/123?o=[WORKSPACE_ID]",
        -    "mlflow_url": "[DATABRICKS_URL]/ml/experiments/exp1/runs/run1/logs",
        +    "mlflow_url": "[DATABRICKS_URL]/ml/experiments/exp1/runs/run1/artifacts/logs/node_0",
             "est_remaining_seconds": null,
             "est_percent_complete": null
           }
        
FAIL

latest (v1.26.0): same output as main (460df03)

TestAccept/air/get-ai-runtime: branch ✅ | main (460df03) ❌ | latest (v1.26.0) ❌

main (460df03):

acceptance_test.go:1374: Diff:
        --- air/get-ai-runtime/output.txt
        +++ /tmp/TestAcceptairget-ai-runtime2929249609/002/output.txt
        @@ -49,7 +49,7 @@
             "attempt_number": 0,
             "experiment_name": "my-exp",
             "dashboard_url": "[DATABRICKS_URL]/jobs/runs/123?o=[WORKSPACE_ID]",
        -    "mlflow_url": "[DATABRICKS_URL]/ml/experiments/exp1/runs/run1/logs",
        +    "mlflow_url": "[DATABRICKS_URL]/ml/experiments/exp1/runs/run1/artifacts/logs/node_0",
             "est_remaining_seconds": null,
             "est_percent_complete": null
           }
        
    acceptance_test.go:1152: LOG.import: 
    acceptance_test.go:1152: LOG.mkdirs:

latest (v1.26.0): same output as main (460df03)

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 309cc52

Run: 43301744413

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 270 17 9:54
💚​ aws-windows-latest-4core-16gb 1 272 15 7:05
💚​ azure linux-2core-8gb 1 269 17 12:53
💚​ azure-windows-latest-4core-16gb 1 271 15 10:10
💚​ gcp linux-2core-8gb 1 270 17 12:10
💚​ gcp-windows-latest-4core-16gb 1 272 15 7:58
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 26 slowest tests (at least 2 minutes):
duration env testname
4:12 azure-windows-latest-4core-16gb TestAccept
3:57 gcp linux-2core-8gb TestAccept
3:56 azure linux-2core-8gb TestAccept
3:44 gcp-windows-latest-4core-16gb TestAccept
3:42 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
3:27 aws-windows-latest-4core-16gb TestAccept
3:20 aws linux-2core-8gb TestAccept
3:13 azure linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
3:10 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsStat
2:55 gcp linux-2core-8gb TestFilerReadDir/workspace_files_extensions
2:54 azure linux-2core-8gb TestFilerReadWrite/workspace_files
2:50 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
2:45 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
2:29 azure-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
2:25 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsDelete
2:19 azure linux-2core-8gb TestFilerWorkspaceNotebook/rJupyterNb.ipynb
2:16 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsRead
2:13 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsDelete
2:13 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsRead
2:12 azure-windows-latest-4core-16gb TestImportDir
2:08 aws-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files_extensions
2:05 aws linux-2core-8gb TestImportDir
2:05 azure-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files_extensions
2:03 gcp linux-2core-8gb TestFilerReadWrite/workspace_files_extensions
2:03 azure-windows-latest-4core-16gb TestFilerWorkspaceNotebook/pyNb.py
2:02 azure linux-2core-8gb TestFilerWorkspaceNotebook/pyNb.py

@caroline-db
caroline-db added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 189ecc7 Nov 12, 2026
28 checks passed
@caroline-db
caroline-db deleted the air/list-mlflow-logs branch November 12, 2026 21:09
pardis-beikzadeh-db added a commit that referenced this pull request Nov 12, 2026
#7491 moved MLflow log links from Artifacts to the Logs page.

Co-authored-by: Isaac <no-reply@databricks.com>
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