Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SceneComponentWrapper: More robust activation #692

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

torkelo
Copy link
Member

@torkelo torkelo commented Apr 15, 2024

This is a companion fix to grafana/grafana#86093 to make sure bugs like that cannot happen again by fixing the issue in SceneComponentWrapper so that we never render model components before they are activated.

📦 Published PR as canary version: 4.7.0--canary.692.8683393495.0

✨ Test out this PR locally via:

npm install @grafana/scenes@4.7.0--canary.692.8683393495.0
# or 
yarn add @grafana/scenes@4.7.0--canary.692.8683393495.0

@torkelo torkelo added minor Increment the minor version when merged release Create a release when this pr is merged labels Apr 15, 2024
Copy link
Member

@dprokop dprokop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope we have not built anything relying on the pre-activation rendering 🤞

But this seems like sth that should have a positive impact on those nastty race condiiton-like bugs.

@torkelo torkelo merged commit 23a7578 into main Apr 15, 2024
3 checks passed
@torkelo torkelo deleted the fix-component-activation branch April 15, 2024 07:17
@grafanabot
Copy link
Contributor

🚀 PR was released in v4.7.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants