-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Failed Analysis tasks prevent Expr updates #4050
Comments
I was just able to reproduce this: First, let's create a problem deserializing some payload from JS world:
Next, create a REPL with some code that will fail - its body should be Now, update the REPL to something that should work - Adjust such will perform another analysis request - this fails. Here's the request:
The problem is that our previous The issue here is sort of expected, and causes a rollbar, so not considering this a blocker, and deprioritizing for now. |
Closing, as this is just a specific case in the expectation of "if we can't deserialize data, errors happen," and not a more interesting/specific problem. |
Right now, Blazor isn't serializing NodaTime.LocalDateTime in a way that the client understands.
As a result of this, creating a Repl with the simple expr of
Date::now
results in a Rollbar.While we have an issue (#4007) to resolve that, working on such surfaced a bug:
If you set the expr to something that breaks in this way (again,
Date::now
works), and then attempt to update the expression to something that should work (e.g.2+3
), the issue is unresolved.Without refreshing the browser, I suppose that the bug occurs because we have a
BlazorWorker
task where we haven't yet got a successful result. (so, one todo here may be to 'resolve' such tasks when they fail, so other analysis tasks may be performed.)However, it surprisingly continues to fail even after a refresh. I've no idea how, but my Repl is now stuck.
2+3
seems to be the expr (visually), but I keep seeing the NodaTime error.Video quality here is poor, but a demo:
The text was updated successfully, but these errors were encountered: