Repository navigation
fix(permalink): return 404 instead of 500 for an invalid dashboard permalink key - #46332
Merged
sadpandajoe merged 2 commits intoNov 19, 2026
Merged
sadpandajoe merged 2 commits into
sadpandajoe merged 2 commits into
Conversation
…rmalink key Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #46332 +/- ##
=======================================
Coverage 85.47% 85.47%
=======================================
Files 3102 3102
Lines 213946 213951 +5
Branches 50537 50537
=======================================
+ Hits 182862 182870 +8
+ Misses 27657 27654 -3
Partials 3427 3427
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
michael-s-molina
approved these changes
Nov 19, 2026
hainenber
pushed a commit
that referenced
this pull request
Nov 21, 2026
…rmalink key (#46332) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
6 tasks
luizotavio32
added a commit
to luizotavio32/superset
that referenced
this pull request
Nov 24, 2026
…rmalink key (apache#46332) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 8f6df58)
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
Requesting a dashboard permalink with a key that can't be decoded (e.g.
GET /api/v1/dashboard/permalink/undefined) returns a 500 and logs an ERROR with a full traceback. A malformed key is a client error, and other permalink entry points already treat it as not found.This change returns 404 for an invalid key, while genuine failures reading the stored value (e.g. database errors) still return 500. Other callers of the permalink lookup are unaffected.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
New unit and integration tests added.
ADDITIONAL INFORMATION
🤖 Generated with Claude Code