Repository navigation
fix: refresh a file's marks on its connected document's first diagnostics update - #2232
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2232 +/- ##
==========================================
+ Coverage 55.67% 55.74% +0.07%
==========================================
Files 844 844
Lines 36091 36092 +1
Branches 7464 7465 +1
==========================================
+ Hits 20094 20121 +27
+ Misses 13086 13064 -22
+ Partials 2911 2907 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…tics update Fixes redhat-developer#2231 A report that reaches a file whose editor is open before LSP4IJ connects the file's document is held by an opened document without synchronization, and the file is marked with it. The connection replaces that opened document with a new one, which holds no diagnostics until the server reports the file. A document refreshed the file's marks only when its own diagnostics changed, so an empty first report of the new document left the error marked for good. A connected opened document now refreshes the file's marks on its first diagnostics update, whether or not it changes the document's own diagnostics. Until then the file keeps the marks of the document it replaced, which may still be right: refreshing as the connection replaces the document would hide them until the server reports.
173c774 to
9aba44c
Compare
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action performed
|
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
…file's document (UP86) The tour's changed-signature check waited 10 minutes on PlayerTest.x's "Dependencies unavailable: cardGame" after the signature was put back (run-tour-11649425361568010670), while the server compiled the file clean and its pulls reported nothing. The editor marked the error within 95 ms of PlayerTest.x opening, before any pull of it was answered; the only reports that could have given it were the workspace reports answered at 00:12:31.430 and 00:12:31.688, asked while the file was closed and its dependency broken. LSP4IJ applies such a report, when it reaches a file whose editor is open before LSP4IJ connects its document, to a document of the file without a connection, and marks it; the connection replaces that document with an empty one. The fix of the signature came 150 ms later and rejected the 11 pulls in flight, so no report gave the connected document the error, and its reports, all empty, changed nothing: LSP4IJ marks an editor again as its document's diagnostics change, or as a server stops or refreshes all its features, and makes no diagnostics pass in an editor. In runs that passed, cardGame's pulls gave the connected document the error first, as related reports, and took it back after the fix (the trace of run-tour-11590639236857448344). XtcClientFeatures.markConnected (// TODO LSP4IJ: UP86) refreshes the editor's marks from the connected document once, from diagnosticsUpdated, which LSP4IJ calls after each update, changed or not: at the first update after which the document holds exactly the items of its own pull's latest report for its text as it is. DiagnosticResultMessages, which records each own pull's report for the snapshot it was asked for, now keeps a full report's items for that (currentReport); a new connection's first pull names no result ID, so its report is full, and an empty one, which changes nothing in LSP4IJ, is the UP86 case itself. Before that report comes, no update refreshes anything: neither a related or workspace report of the document, nor one that LSP4IJ rejects for its version, nor one that went into the document without a connection as the connection replaced it; each would take the marks of an error still there away until the document's own report re-marked it. Neither does the connection: the document has no diagnostics until its first report. A refresh that fails is tried again at the next update, and none fails the update that it follows. UP86 is in the register, filed upstream as redhat-developer/lsp4ij#2231 for 0.30.2, with our fix redhat-developer/lsp4ij#2232 open. ClosedFileProblemsTest holds the connection at LSP4IJ's registration seam while a report marks the opening file; the stub server can now hold a pull. With the error fixed, the mark goes once the connected document's report comes. With it still there, the mark stays all the while, also when an update that LSP4IJ rejects for its version, or a report of the document from another pull, comes before the document's own report. The document without a connection is not reachable through LSP4IJ's API once it is replaced, so that case has no test of its own; the same rule covers it. Validation: - ClosedFileProblemsTest, 12 tests: with the bridge, all pass; with none, the fixed error's mark stays and that test fails; with a refresh at the document's first update, as the bridge was, the tests of an update LSP4IJ rejects and of another document's report fail, the mark taken away before the document's own report. Fresh JUnit XML. - The plugin's unit suite: 237 tests, 0 failures, 0 skipped; spotlessCheck clean. - In the container, the tour's sections through Diagnostics, 3 runs: every Diagnostics step and check passed, the changed-signature check among them, with no IDE error; one run failed Reading code's Parameter info popup, a race of the same kind as the Warnings step's, recorded in remaining.md. The IntelliJ playbook's features session, all cases: 342 passed, 8 partial and 2 not implemented as listed, no IDE error (run-13646449048832034797).
Fixes #2231
What
A report that reaches a file whose editor is open before LSP4IJ connects the file's document (a workspace report, or a related document's report in another document's pull) is held by an opened document without synchronization, and
LSPDiagnosticsAppliermarks the file with it. The connection replaces that opened document with a new one, which holds no diagnostics until the server reports the file. A document refreshed the file's marks only when its own diagnostics changed, andLSPDiagnosticsPassFactorymakes no editor pass, so when the connected document's first report was empty, the error stayed marked for good, although LSP4IJ no longer held it.Change
A connected
OpenedDocumentrefreshes the file's marks on its first diagnostics update, whether or not that update changes the document's own diagnostics. Every later update refreshes only on a change, as before.Until that first report, the file keeps the marks of the document it replaced. Those may still be right, and refreshing as the connection replaces the document would hide them until the server reports, which is at least the didOpen delay and the pull debounce.
The connection itself is unchanged. The cost is one more refresh per connected document; refreshes of a file are coalesced.
Tests
DiagnosticsBeforeConnectionTest.testAnErrorMarkedBeforeAFileConnectsIsNoLongerMarkedOnceItConnectsWithoutErrors. It sets the file up asClosedDocumentProblemTestdoes for the Problems view:an error.features.diagnostics.*tests andClosedDocumentProblemTestpass with it: 91 tests, 0 failures.Behaviour change