Uh oh!
There was an error while loading. Please reload this page.
Add support for experiments in direct deployment - #3669
Conversation
- Add ResourceExperiment adapter implementing CRUD operations for MLflow experiments - Add experiments to SupportedResources in direct deployment bundle - Add acceptance test for experiment deployment in both terraform and direct modes - Enable creating, updating, and deleting experiments via direct API calls This allows experiments to be deployed using DATABRICKS_BUNDLE_ENGINE=direct-exp, providing an alternative to the terraform-based deployment approach.
|
denik
commented
Sep 29, 2025
Can we enable acceptance/bundle/deploy/mlops-stacks/ ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
denik
left a comment
There was a problem hiding this comment.
Looks good. Same suggestion on test organization as in https://github.com/databricks/cli/pull/3670/files#r2393785138 (can be a follow up).
| func (*ResourceExperiment) FieldTriggers() map[string]deployplan.ActionType { | ||
| return map[string]deployplan.ActionType{ | ||
| "name": deployplan.ActionTypeUpdate, |
There was a problem hiding this comment.
a link to corresponding TF code would be helpful there.
Uh oh!
There was an error while loading. Please reload this page.
| @@ -0,0 +1,3 @@ | |||
| update experiments.my_experiment | |||
| Plan: 0 to add, 1 to change, 0 to delete, 0 unchanged | |||
There was a problem hiding this comment.
Why do we have 'update' for terraform but 'skip' for direct here? @shreyas-goenka
There was a problem hiding this comment.
I think I remember now, terraform shows changes but does not perform the update. Direct also does not do the update for tags but also does not show it in the plan.
## Changes This PR adds support for ML experiments to direct deployment, keeping the behaviour the same as the current Terraform implementation. ## Why To make migration to direct possible and seamless. ## Tests New integration test.
Changes
This PR adds support for ML experiments to direct deployment, keeping the behaviour the same as the current Terraform implementation.
Why
To make migration to direct possible and seamless.
Tests
New integration test.