Route /Skills paths to the Files API in databricks fs - #6147
Merged
Conversation
filerForPath now routes dbfs:/Skills/... to the Files API filer, alongside the existing /Volumes/ branch, instead of falling through to the legacy DBFS filer. Co-authored-by: Isaac
Collaborator
Integration test reportCommit: c99059d
12 interesting tests: 4 RECOVERED, 4 SKIP, 4 flaky
Top 5 slowest tests (at least 2 minutes):
|
renaudhartert-db
enabled auto-merge
August 3, 2026 15:21
parthban-db
approved these changes
Aug 3, 2026
| @@ -0,0 +1,6 @@ | |||
|
|
|||
| >>> [CLI] fs cp local.txt dbfs:/Skills/main/default/fs-cp-test-[UNIQUE_NAME]/README.md | |||
Contributor
There was a problem hiding this comment.
Don't we have any file that records the api logs? That will basically capture which API we are using.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
filerForPathnow routesdbfs:/Skills/...to the Files API filer, alongside the existing/Volumes/branch, instead of falling through to the legacy DBFS filer.Why
UC Skills are Files-API-native: the server exposes skill bundle bytes at
/api/2.0/fs/files/Skills/<catalog>/<schema>/<skill>/<file>, exactly like Volumes. This lets users manage a skill bundle with the standarddatabricks fscommands, e.g.:fs cp -rwalks the local tree and PUTs each file via the Files API (no atomic bundle endpoint — same as Volumes). Thedbfs:scheme is legacy URI naming only; the request goes to the Files API.Scope
One-line routing change. No new command, API method, or endpoint — reuses the existing public Files API, parallel to how
/Volumes/is handled. Shell completion already keys off thedbfs:scheme, so no completion change is needed.Tests
Added new tests to cover Volumes and Skills.
This pull request and its description were written by Isaac.