Release v0.6.1#19
Merged
Merged
Conversation
The update path wrapped stages[0].native as {query, template-tags}. Metabase
v0.59+ saved the object but the query processor failed to substitute
parameters, leaving the card unrunnable. Now emits native as a string with
template-tags at the stage level, matching native-UI-authored cards. Also
heals cards previously corrupted by this bug on next update.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…plate-tags Fix question update corrupting v0.59+ cards with template tags
Metabase returns 5-20 KB Clojure stacktraces for most 500s. Printing the full body on every failure blew the LLM context window when driving the CLI from Claude. Errors now extract the top-level message/error/cause (or compact validation errors) into a one-line summary. The raw body is still available via --verbose or METABASE_CLI_VERBOSE=1. Applies to both HTTP errors (via new ApiError class) and in-band query execution failures. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Truncate Metabase API errors; add --verbose for full bodies
Clears three no-unused-vars lint warnings: beforeEach in client/safety-guard tests, saveConfig in config-store test.
Remove unused imports from test files
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.
Summary
Release v0.6.1 — patch release with two fixes and one UX improvement.
Added
--verboseflag (andMETABASE_CLI_VERBOSE=1env var) to print full API error response bodies. Useful for debugging; off by default.Changed
message/error/causefield. Use--verboseto see the original body. Applies to both HTTP errors and in-band query-execution failures.Fixed
question updateno longer corrupts v0.59+ cards when template tags are involved. Updates now emitnativeas a string withtemplate-tagsat the stage level, matching native-UI-authored cards. Cards previously corrupted by this bug are healed on their next update.Includes
Test plan
npm run typechecknpm run lintnpm run format:checknpm test— 138/138 passing