Skip to content

air: include container environment variables in preflight validation - #7614

Draft
caroline-db wants to merge 2 commits into
mainfrom
air/container-env-preflight-cli
Draft

caroline-db wants to merge 2 commits into
mainfrom
air/container-env-preflight-cli

Conversation

@caroline-db

Copy link
Copy Markdown
Contributor

Changes

  • Include per-container environment variables in the AI Training ValidateConfig request.
  • Keep production submission unchanged: container variables continue to use workspace sidecars.
  • Add an AI Runtime changelog entry.

Why

Container environment variables were omitted from preflight, allowing malformed names to fail only during process creation after a Jobs run and GPU workload existed. Sending the existing field lets AI Training reject them during air run --dry-run.

Tests

  • Added tests that validation requests include container variables while run submission still omits the DEVELOPMENT API field.
  • Built the CLI and verified supported and unsupported names against an ai-compute-manager LiteSwap deployment.
  • Ran the full formatting, checks, lint, unit, and acceptance test suite.

This PR was written with Codex.

@github-actions github-actions Bot added the AIR Databricks AI Runtime CLI label Nov 13, 2026
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: ccd8d25

Run: 43494584983

Env 🔄​flaky 💚​RECOVERED ✅​pass 🙈​skip Time
🔄​ aws linux-2core-8gb 1 1 269 15 8:48
💚​ aws-windows-latest-4core-16gb 1 272 13 5:25
💚​ azure linux-2core-8gb 1 269 15 4:56
💚​ azure-windows-latest-4core-16gb 1 271 13 3:30
💚​ gcp linux-2core-8gb 1 270 15 5:17
💚​ gcp-windows-latest-4core-16gb 1 272 13 3:53
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
🔄​ TestSyncIncrementalSyncFileToPythonNotebook 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:28 gcp-windows-latest-4core-16gb TestAccept
3:17 azure-windows-latest-4core-16gb TestAccept
3:12 aws-windows-latest-4core-16gb TestAccept

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

AIR Databricks AI Runtime CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants