databricks-cli/bundle/deploy
Andrew Nester 41961226be
Switch to use GET workspaces-files/{name} instead of workspace/export for state files (#2423)
## Changes
Switch to use GET workspaces-files/{name} instead of workspace/export
for state files.

## Why
`/api/2.0./workspaces-files/{name}` has a higher limit which allows to
export state files larger than 10 MBs (which is the current limit for
`workspace/export`). We don't use the same API for read in other places
and fully replacing existing Filer because it doesn't correct get the
file content for notebooks and returns "File Not Found" error instead.

## Tests
All existing tests pass
2025-03-04 15:03:51 +00:00
..
files Remove bundle.{Parallel,ReadOnlyBundle} (#2414) 2025-03-03 13:35:36 +00:00
lock Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
metadata Use CreatePipeline instead of PipelineSpec for resources.Pipeline struct (#2287) 2025-02-07 17:22:51 +00:00
terraform Switch to use GET workspaces-files/{name} instead of workspace/export for state files (#2423) 2025-03-04 15:03:51 +00:00
filer.go Switch to use GET workspaces-files/{name} instead of workspace/export for state files (#2423) 2025-03-04 15:03:51 +00:00
state.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
state_pull.go Remove bundle.{Parallel,ReadOnlyBundle} (#2414) 2025-03-03 13:35:36 +00:00
state_pull_test.go Remove bundle.{Parallel,ReadOnlyBundle} (#2414) 2025-03-03 13:35:36 +00:00
state_push.go Switch to use GET workspaces-files/{name} instead of workspace/export for state files (#2423) 2025-03-04 15:03:51 +00:00
state_push_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
state_test.go Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00
state_update.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
state_update_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00