Skip to content

Handle 404 from @databricks/sdk-experimental#1855

Merged
ilia-db merged 2 commits intodatabricks:mainfrom
janniklasrose:janniklasrose/fix-run-as-workflow
Mar 13, 2026
Merged

Handle 404 from @databricks/sdk-experimental#1855
ilia-db merged 2 commits intodatabricks:mainfrom
janniklasrose:janniklasrose/fix-run-as-workflow

Conversation

@janniklasrose
Copy link
Contributor

@janniklasrose janniklasrose commented Mar 13, 2026

Changes

Since #1805 the ApiError does not contain "RESOURCE_DOES_NOT_EXIST" but has 404 error code. This breaks existing fallback logic in uploading assets & triggering the remote workflows.

This fix solves this by allowing dual responses (since sdk is still experimental, this seems more reliable than committing to either of them).

Tests

Screenshot 2026-03-13 at 10 54 52

.mov recording: https://github.com/user-attachments/assets/2a49013a-c09c-4284-a55f-aed8a455f376

Related

Fixes #1853

@janniklasrose janniklasrose marked this pull request as ready for review March 13, 2026 11:01
@github-actions
Copy link
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/vscode

Inputs:

  • PR number: 1855
  • Commit SHA: d8efb9e910333ceb832ede446e26d9cc6932da14

Checks will be approved automatically on success.

@ilia-db ilia-db merged commit 0093352 into databricks:main Mar 13, 2026
7 of 8 checks passed
@janniklasrose janniklasrose deleted the janniklasrose/fix-run-as-workflow branch March 13, 2026 14:06
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.

VSCode Databricks Extension "Run as Workflow" Stuck on "Synchronizing"

2 participants