Skip to content

:q :Q erge remote-tracking branch 'origin' into fix-fuse-generate#4324

Closed
shreyas-goenka wants to merge 9 commits intomainfrom
fix-fuse-generate
Closed

:q :Q erge remote-tracking branch 'origin' into fix-fuse-generate#4324
shreyas-goenka wants to merge 9 commits intomainfrom
fix-fuse-generate

Conversation

@shreyas-goenka
Copy link
Copy Markdown
Contributor

  • Use filer when running generate on DBR
  • Fix test: only get workspace client when needed in template writer
  • fix the failing integration tests
  • streaming writes to filer
  • update template library
  • fix the writer
  • fix unit test
  • fix unit test

Changes

Why

Tests

shreyas-goenka added a commit that referenced this pull request Mar 13, 2026
…ment (#4627)

## Summary
- Use `OverrideChangeDesc` to suppress the `/Workspace` prefix diff on
experiment names, matching the Terraform provider's
`experimentNameSuppressDiff` behavior
- Fix test server `ExperimentUpdate` to strip `/Workspace` prefix,
matching cloud behavior
- Add acceptance test coverage for both `/Workspace/Users/...` and
`/Users/...` path forms
- Resolves #4285
#4324 

## Why?
The backend always strips the `/Workspace` prefix from experiment names,
so remote returns `/Users/...` while the config has
`/Workspace/Users/...`. Instead of mutating the config value (stripping
the prefix in `ApplyPresets`), we suppress the diff during change
detection via `OverrideChangeDesc` — the same approach the Terraform
provider uses with its
[`experimentNameSuppressDiff`](https://github.com/databricks/terraform-provider-databricks/blob/8945a7b2328659b1fc976d04e32457305860131f/mlflow/resource_mlflow_experiment.go#L13)
function.

Without this fix you get a persistent drift:
```
        "name": {
          "action": "update",
          "old": "/Workspace/Users/[email protected]/test-experiment-bundle",
          "new": "/Workspace/Users/[email protected]/test-experiment-bundle",
          "remote": "/Users/[email protected]/test-experiment-bundle"
        },
```

## Test plan
- [x] Acceptance test `bundle/deployment/bind/experiment` verifies plan
shows 0 changes with `/Workspace/Users/...` path
- [x] Same test verifies plan shows 0 changes with `/Users/...` path
(without `/Workspace` prefix)
- [x] `bundle/resources/experiments/basic` acceptance test still passes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
rauchy pushed a commit that referenced this pull request Mar 17, 2026
…ment (#4627)

## Summary
- Use `OverrideChangeDesc` to suppress the `/Workspace` prefix diff on
experiment names, matching the Terraform provider's
`experimentNameSuppressDiff` behavior
- Fix test server `ExperimentUpdate` to strip `/Workspace` prefix,
matching cloud behavior
- Add acceptance test coverage for both `/Workspace/Users/...` and
`/Users/...` path forms
- Resolves #4285
#4324 

## Why?
The backend always strips the `/Workspace` prefix from experiment names,
so remote returns `/Users/...` while the config has
`/Workspace/Users/...`. Instead of mutating the config value (stripping
the prefix in `ApplyPresets`), we suppress the diff during change
detection via `OverrideChangeDesc` — the same approach the Terraform
provider uses with its
[`experimentNameSuppressDiff`](https://github.com/databricks/terraform-provider-databricks/blob/8945a7b2328659b1fc976d04e32457305860131f/mlflow/resource_mlflow_experiment.go#L13)
function.

Without this fix you get a persistent drift:
```
        "name": {
          "action": "update",
          "old": "/Workspace/Users/[email protected]/test-experiment-bundle",
          "new": "/Workspace/Users/[email protected]/test-experiment-bundle",
          "remote": "/Users/[email protected]/test-experiment-bundle"
        },
```

## Test plan
- [x] Acceptance test `bundle/deployment/bind/experiment` verifies plan
shows 0 changes with `/Workspace/Users/...` path
- [x] Same test verifies plan shows 0 changes with `/Users/...` path
(without `/Workspace` prefix)
- [x] `bundle/resources/experiments/basic` acceptance test still passes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant