dosubot[bot] commented on issue #40986: URL: https://github.com/apache/superset/issues/40986#issuecomment-4687922221
<!-- Answer --> Hi @tobyyue! I'm [Dosu](https://go.dosu.dev/dosubot) and I'm helping the Apache Superset team. This is a confirmed bug in Superset 6.0.0 involving an infinite chart reload loop when force-refreshing dashboards with charts inside tabs (especially nested tabs). It was reported in [#37584](https://github.com/apache/superset/issues/37584) and [#37093](https://github.com/apache/superset/issues/37093), and has been fixed. **Root cause:** [PR #35265](https://github.com/apache/superset/pull/35265) introduced `lastRefreshTime` tracking so inactive tabs would refresh when later activated. However, the Tab component's `useEffect` re-triggers on `lastRefreshTime` changes — in nested tabs, each level dispatches its own refresh which updates `lastRefreshTime`, causing the next level to re-trigger, creating an infinite loop of cancelled and re-fired requests [[1]](https://github.com/apache/superset/issues/39439). **Fix:** [PR #37018](https://github.com/apache/superset/pull/37018) (merged January 10, 2026) resolves this by: 1. Adding a `handledRefreshRef` that tracks which refresh events have already been processed, preventing duplicate triggers 2. Adding an `isLazyLoad` flag that skips dispatching the global `ON_REFRESH` action for tab-level refreshes, breaking the cascade This fix is available in **Superset 6.0.1+** and has been [confirmed working on 6.1.0rc2](https://github.com/apache/superset/issues/39439) [[1]](https://github.com/apache/superset/issues/39439). **Workarounds if you can't upgrade yet:** - Use **auto-refresh** instead of manual force refresh (different code path, not affected) - Avoid the manual "Refresh" option on dashboards with tabs/nested tabs - Temporarily restructure dashboards to remove nested tabs <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=8bab300e-ef60-4a16-9af0-8d9d78cc89c5) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
