-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Reload the browser when the circuit ID is unknown #9256
Comments
@javiercn in case he has cool thoughts |
Yeah, my guess is the same as yours. The only option at that point is to F5 the app. We should inform the client that the circuit is gone and provide some button on the UI to refresh the page as at that point the app is gone. |
I think this not only applies to developer inner loop. In the future we might want to free up resources in case the app is idle for a while, at that point there should be some integration so that developers can take that into account and provide a good experience. For example, something like
|
We discussed this and we think it would help that if the circuit ID is unknown we reload the page. |
I think that behavior should be configurable. In development mode a reload is fine and most likely expected. In production, there could be a lot of issues (i.e. server node accidentally or gracefully restarted) and that might involve trying to persist some sort of session state when the server gracefully shuts down and trying to restore that state when a new circuit starts. Also, the user might want to be informed when he should expect an application reload and possibly loss of data. |
@barahonajmc Thanks for testing it out! Can you confirm what version you validated this on? |
@captainsafia oh I forget that, it was on .NET 5 RC1 |
Here is how the user experience looks in my case. User loads page, works with the app, perhaps fills the form halfway through. They go for a snack and when they come back they see that their work is gone as the only thing they can do is to refresh the browser. Great for the banking app, but my users complain. Disabling idle timeout would help but app pool can still recycle at any time unless this is also disabled. Corporate IT is not happy to change any of the application pool settings anyway. Similarly with my hobby stuff - online hosting providers are saying to go and buy VPS if I need such customization. tl;dr |
I actually implemented the exact scenario where this is configurable with default of |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Which is this issue but has now been closed?!? |
Dah! Sorry! The correct tracking issue is #32113. |
If I launch a components app with
dotnet watch run
- the reconnection feature doesn't ever seem to do its thing.I can retry, and it will successfully connect (see console output) - but it never updates the UI.
My guess is that this happens because the circuit is gone - it's a new process after all. We should see if we can improve this for inner loopness, and figure out a better experience by default for the case where the circuit is gone.
The text was updated successfully, but these errors were encountered: