-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat: Use feature flag for streaming updates #9170
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9170 +/- ##
==========================================
- Coverage 40.43% 38.71% -1.72%
==========================================
Files 749 875 +126
Lines 105220 108235 +3015
Branches 2438 2439 +1
==========================================
- Hits 42548 41908 -640
- Misses 62440 66095 +3655
Partials 232 232
Flags with carried forward coverage won't be shown. Click here to find out more.
|
e113263
to
f3a7536
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
Ticket
MD-369
Description
Sometime the backend may not support streaming updates, so we can create a flag at WebUI to disable and enable streaming updates.
When streaming updates flag is false, we skip connecting to web socket during start up, and at the project list page, we manually update the store when patchProject happens.
Test Plan
With streaming_updates flag on and off, navigate to project list page.
Create/edit/delete project should work as expected.
Checklist
docs/release-notes/
.See Release Note for details.