Repository navigation
filer: switch workspace upload from import-file to /workspace/import #6149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Sankalp-Mittal
merged 41 commits into
main
from
sankalp-mittal/workspace-import-migration
Oct 12, 2026
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
82b0c54
initial filesystem changes
Sankalp-Mittal ed23668
filer: switch workspace upload from import-file to /workspace/import
Sankalp-Mittal 86cf272
update comments
Sankalp-Mittal 15d3b59
Source upload size and rate limits from public docs
Sankalp-Mittal 83b8bc5
acceptance: migrate ai_runtime_task snapshot upload assertions
Sankalp-Mittal c25f052
filer: fix already-exists detection for errors without an error_code
Sankalp-Mittal ac122b4
filer: build the import form locally to keep workspace routing correct
Sankalp-Mittal dc0e0c6
filer: assert Write against a testserver instead of a mocked SDK client
Sankalp-Mittal c97c1af
filer: condense the upload size-limit and conflict comments
Sankalp-Mittal 90becb3
testserver: tighten format=AUTO handling in the import fake
Sankalp-Mittal c5a41a3
acceptance: parse fault.py arguments with argparse
Sankalp-Mittal 0f683db
testserver: cover case-insensitive notebook extension detection
Sankalp-Mittal bb2a05d
acceptance: re-aim run-submit-deps upload assertions at /workspace/im…
Sankalp-Mittal 7842866
acceptance: pin ai_runtime_task snapshot inputs to LF
Sankalp-Mittal 770cf45
acceptance: keep update_file.py from rewriting line endings
Sankalp-Mittal 2e42fb4
add a descriptive error on 500 upload failure
Sankalp-Mittal b42de03
acceptance: regenerate upload goldens for the descriptive error
Sankalp-Mittal a99899f
acceptance: sort auto-migrate-empty-tfstate uploads deterministically
Sankalp-Mittal 11fefde
acceptance: regenerate sync-upload-edge-cases out.test.toml
Sankalp-Mittal 1913093
acceptance: match update_file.py search strings across CRLF
Sankalp-Mittal 0552229
filer: upload via the SDK's Workspace.Upload
Sankalp-Mittal 6ccfb37
inline the constant
Sankalp-Mittal 2590a5a
update comment to reflect latest change
Sankalp-Mittal e2f004a
update comments
Sankalp-Mittal 1766a0a
update PR with latest universe changes
Sankalp-Mittal d4fb7c0
acceptance: update goldens for /workspace/import after rebase
Sankalp-Mittal 86a4621
Merge origin/main into sankalp-mittal/workspace-import-migration
Sankalp-Mittal e1e59d5
changelog: reformat nextchanges fragment as a single bullet line
Sankalp-Mittal f8e5f5f
acceptance: restore goldens corrupted by test-update timeouts
Sankalp-Mittal 4c7da85
acceptance: fix permissions and telemetry goldens after merge
Sankalp-Mittal f38be39
acceptance: re-aim upload fault stubs at /workspace/import
Sankalp-Mittal 17f8e48
Merge origin/main into sankalp-mittal/workspace-import-migration
Sankalp-Mittal de55cac
filer: drop the already-exists message fallback
Sankalp-Mittal d360240
Merge origin/main into sankalp-mittal/workspace-import-migration
Sankalp-Mittal 62738b7
filer: drop the workspace ID "none" normalization
Sankalp-Mittal eb90d8d
acceptance: keep fault.py's hand-rolled parser, add only --body-contains
Sankalp-Mittal 9da608d
acceptance: add print_workspace_imports helper for uploaded paths
Sankalp-Mittal a8129af
acceptance: fault only file_to_upload.txt in upload/internal_server_e…
Sankalp-Mittal 885339c
filer: drop Write unit tests covered by filer and acceptance tests
Sankalp-Mittal 932444a
acceptance: avoid a leading slash in fault.py --body-contains
Sankalp-Mittal 6d8dddd
Merge remote-tracking branch 'origin/main' into sankalp-mittal/worksp…
Sankalp-Mittal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * Bundle file uploads now use the multipart `POST /api/2.0/workspace/import` endpoint instead of the deprecated `POST /api/2.0/workspace-files/import-file`, raising the per-workspace upload rate limit and improving deploy throughput under concurrency. ([#6149](https://github.com/databricks/cli/pull/6149)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,12 @@ | ||
| { | ||
| "method": "POST", | ||
| "path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files/app/app.yml", | ||
| "q": { | ||
| "overwrite": "true" | ||
| }, | ||
| "raw_body": "command:\n - python\n - app.py\n" | ||
| "path": "/api/2.0/workspace/import", | ||
| "body": { | ||
| "multipart_form": { | ||
| "content": "command:\n - python\n - app.py\n", | ||
| "format": "AUTO", | ||
| "overwrite": "true", | ||
| "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files/app/app.yml" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.