mirror of
https://github.com/apache/superset.git
synced 2026-05-22 00:05:15 +00:00
Replaces the one-shot hasRunInitialEffect mount guard in TabbedSqlEditors with a fetchedResultsKeyRef that records the last persisted resultsKey fetched. The old guard permanently blocked the effect once it ran, so when activeQueryEditor was unavailable on first render (common when tabHistory hydrates asynchronously), persisted results were never fetched. Tracking resultsKey lets the effect retry when it resolves and dedupes repeats. Addresses codeant-ai review on PR #39461.