Skip to content

[LiveDataProvider] Don't return data for keys that have been unsubscribed to #29176

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

Closed
wants to merge 7 commits into from

Conversation

salazarm
Copy link
Contributor

Summary & Motivation

When we change the keys passed to the hook we should stop returning data for keys that are no longer being subscribed to.

How I Tested These Changes

All of the tests for LiveDataProvider are via the AssetLiveDataProvider test (for the historical reason that I extracted the core logic out of AssetLiveDataProvider). So Added a new test case in AssetLiveDataProvider.test

@salazarm salazarm requested review from bengotow and hellendag April 10, 2025 16:55
Copy link

github-actions bot commented Apr 10, 2025

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-589virxp2-elementl.vercel.app
https://salazarm-live-data-provider.core-storybook.dagster-docs.io

Built with commit 7b576c4.
This pull request is being automatically deployed with vercel-action

@salazarm
Copy link
Contributor Author

Included in #29151

@salazarm salazarm closed this Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant