-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Spam Error: TextEditor disposed #30578
Comments
This is the merge decorator, add
|
It's incredibly hard to read travis logs right now. |
@jrieken There is a check if the editor is in |
@jrieken Using |
extHostTextEditor already logs a warning in _runOnProxy() when the editor is disposed at the time setDecorations() is called. If the editor in the extension host is not disposed, but the one in the renderer process is (and the error is logged), the disposal and the setting of decorations were triggered at a similar time in different processes and it seems best to recover from this silently. I suggest to remove the error. If an error is still desired, I'd suggest to change the warning in extHostTextEditor's _runOnProxy() to an error. |
@chrmarti could you please look into this since all other participants are on vacation? Or assign it to august if it is not critical for our relase |
I don't see it as critical for the release. It is log entries for operations that should not run and also are not run. This is without further side-effects. @joaomoreno labelled it as important with regard to the noise in the test runs. I'll postpone it to August if there are no objections. |
Nice fix, not. The problem is explained here: #30578 (comment) |
@jrieken This seems to be a race condition on the API's side. See #30578 (comment) . |
That might well be but the "fix" of this picking this one call is a little lame, isn't it? If we understand this problem why don't we tackle it for all other calls like |
We wanted to make progress on this "important" issue in your absence without devising a general solution without your input. |
I understand that, but I would have just removed the "important" label because this is really just debt |
Our tests and also often the dev console are full of these errors:
I see no value in showing this error other than making it hard to read the test results to find an actual problem. This one seems to be ignored for many releases now so I suggest to remove it.
E.g.:
via https://travis-ci.org/Microsoft/vscode/jobs/253065123#L3436
The text was updated successfully, but these errors were encountered: