fix(OAuth2): Support OAuth2 exception with legacy endpoint#39897
fix(OAuth2): Support OAuth2 exception with legacy endpoint#39897Vitor-Avila merged 2 commits intomasterfrom
Conversation
Code Review Agent Run #0177deActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
The flagged issue is correct. Re-raising SupersetErrorException in get_df_payload breaks async legacy explore jobs, as load_explore_json_into_cache catches generic exceptions and converts them to plain strings, losing structured fields like error_type and OAuth2 extras. To resolve, update load_explore_json_into_cache to handle SupersetErrorException explicitly, similar to load_chart_data_into_cache. Checked PR comments: none found. superset/tasks/async_queries.py |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #39897 +/- ##
=======================================
Coverage 63.87% 63.87%
=======================================
Files 2582 2582
Lines 136418 136428 +10
Branches 31454 31456 +2
=======================================
+ Hits 87137 87149 +12
+ Misses 47768 47763 -5
- Partials 1513 1516 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Bito Automatic Review Skipped – PR Already Merged |
SUMMARY
This is a follow up to #39789, enforcing that the legacy endpoint properly handles the OAuth2 dance.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before

After

TESTING INSTRUCTIONS
ADDITIONAL INFORMATION