Skip to content

Enable dashboards as part of workspace export-dir command - #6332

Open
janniklasrose wants to merge 4 commits into
mainfrom
janniklasrose/workspace-export-dir-with-dashboards
Open

Enable dashboards as part of workspace export-dir command#6332
janniklasrose wants to merge 4 commits into
mainfrom
janniklasrose/workspace-export-dir-with-dashboards

Conversation

@janniklasrose

Copy link
Copy Markdown
Contributor

Changes

Enable dashboards as part of the workspace export-dir command

Why

The export API actually supports dashboards, but was previously marked as unsupported.

Tests

Tested locally.
Also added a cloud acceptance test.

@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @pietern -- recent work in cmd/workspace/workspace/

Eligible reviewers: @andrewnester, @anton-107, @denik, @lennartkats-db, @rclarey, @renaudhartert-db, @rugpanov, @shreyas-goenka, @simonfaltum

Suggestions based on git history. See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: dd00af3

Run: 32361599214

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 4 276 1162 7:01
💚​ aws windows 1 4 276 1161 5:21
💚​ azure linux 1 4 275 1162 6:36
💚​ azure windows 1 4 275 1161 3:45
💚​ gcp linux 1 4 276 1162 8:26
💚​ gcp windows 1 4 276 1161 5:09
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 6 slowest tests (at least 2 minutes):
duration env testname
4:59 gcp windows TestAccept
3:48 gcp linux TestAccept
3:46 azure linux TestAccept
3:44 aws linux TestAccept
3:43 aws windows TestAccept
3:04 azure windows TestAccept

The test diffed the exported dashboard against the exact input JSON, but
the Lakeview backend normalizes the serialized dashboard on create (e.g.
it drops an empty "layout": []). The local testserver echoes the input
verbatim, so the test passed locally but failed on every real workspace.

Assert the dashboard file was exported instead of diffing its content.
This is what the change under test actually verifies (dashboards are no
longer skipped by export-dir). Dropping the diff also removes the diff.py
call that MSYS_NO_PATHCONV broke on Windows.

Gate the test off Windows: export-dir prints the local destination with
OS-native separators, which is incidental to the OS-independent export
behavior being tested.

Co-authored-by: Isaac
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.

2 participants