You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "tobyyue (via GitHub)" <gi...@apache.org> on 2026/06/12 05:55:31 UTC
[I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
tobyyue opened a new issue, #40986:
URL: https://github.com/apache/superset/issues/40986
### Bug description
I created a dashboard with tab control and put one or few charts in a tab. While I refresh the dashboard, it keeps sending requests for all charts to retrive data but no data can be rendered in chart.
Repro step:
1 Create a dashboard and add a tab control.
2 Add one/few chart(s) in the tab, save dashboard.
3 Open dashboard and click ... buttion to select Refresh.(Refresh dashboard, not chart level refresh. )
### Screenshots/recordings
_No response_
### Superset version
6.0.0
### Python version
I don't know
### Node version
I don't know
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
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: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #40986: Keep refreshing charts when threy are held by tab control in dashboard.
URL: https://github.com/apache/superset/issues/40986
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
Posted by "tobyyue (via GitHub)" <gi...@apache.org>.
tobyyue commented on issue #40986:
URL: https://github.com/apache/superset/issues/40986#issuecomment-4862677694
@rusackas Upgraded to 6.1.0 and the issue is fixed. Thanks for helping here~
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #40986:
URL: https://github.com/apache/superset/issues/40986#issuecomment-4748287500
Thanks for reporting! The chart-refresh-in-tabs behavior was addressed in more recent work and you mentioned you're on 6.0.0. Could you confirm whether this still reproduces on 6.1 or master? If it does, we'll happily reopen and dig in; otherwise I'll close this out for now, as it _seems_ to be fixed in the current release.
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #40986:
URL: https://github.com/apache/superset/issues/40986#issuecomment-4710366479
@tobyyue do you know if you are seeing this in 6.1 or the master branch?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Keep refreshing charts when threy are held by tab control in dashboard. [superset]
Posted by "tobyyue (via GitHub)" <gi...@apache.org>.
tobyyue commented on issue #40986:
URL: https://github.com/apache/superset/issues/40986#issuecomment-4738758924
it is 6.0.
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org