-
Notifications
You must be signed in to change notification settings - Fork 58
Reconnect all clients when flows are redeployed #1700
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
Conversation
Thanks @luisthieme - we'll get this reviewed and hopefully merged this week |
Hmm, some odd, probably unrelated test fails...
|
Has anyone else had an issue with this doing the opposite, (clients not reconnecting) or is it just me? Some of my clients do not reconnect unless I reload the page, whereas when removing this change, clients are reconnecting flawlessly. |
@cgjgh under what circumstances are your clients disconnecting in the first place? |
@joepavitt It happens when Dashboard is open in webpage and you deploy flows. All clients disconnect as before, but with new code some do not reconnect. I have not done any extensive testing, but just noticed that removing code made everything work flawlessly. |
The initial bug report was, on a deploy, clients do not reconnect. Are you saying that has never been an issue for you? So that I can push a release out, I will revert these changes. We'll do a more thorough review and then do a follow up release (hopefully) with this included. |
@joepavitt The referenced issue #870 specifically mentions ui-control behavior. I may have had this issue as well, and this PR may have fixed this, but the behavior I was describing with this change seems to be a broader issue, as after deploys socket does not reconnect (correctly at least, as browser console outputs “SIO connected” but no config is being received as per usual). Reloading page reconnects socket correctly. To sum it up, another issue seems to have been introduced. Will need further testing to fully understand it. |
Description
Not a perfekt solution but it works.
Related Issue(s)
Closes #870
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label