Closed jmcphers closed 6 months ago
Also ran into this on:
Positron Version: 2023.11.0 (Universal) build 1327 Code - OSS Version: 1.84.0 Commit: 1c068dc57a25fab48068c64920ffea44deec1ae4 Date: 2023-11-22T03:09:40.914Z Electron: 25.9.2 ElectronBuildId: undefined Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 23.1.0
Full dump of R runtime:
In Positron 2024.04.0 (Universal) build 1561 when I crash R, I do not see many noisy, non-actionable popups but instead one reasonable and helpful popup:
https://github.com/posit-dev/positron/assets/12505835/03bc0a06-13e0-4e25-b9d3-e31a1716fcda
I tested the same behavior in Python and it is also fixed there. 👍
To reproduce, start Positron and R, then execute the command:
R crashes, which is expected, and automatically restarts. However, the user also sees these two popups:
These are noisy and unhelpful, and "go to output" sends the user to a debug log that (while useful for Positron developers) is also unhelpful.
The same problem exists for Python:
These popups come from the R and Python LSPs. We should suppress them in the case of a crash; the only notification the user should see is the one we generate ourselves: