IDE2 frontend cannot save the sketch content when the IDE2 backend process crashed #2081
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
This issue was initially reported at #2079 (comment):
To reproduce
Starting backend process. PID: $PID_NUMBER
in the logs.kill -9 $PID_NUMBER
),Could not save the sketch. Please copy your unsaved work into your favorite text editor, and restart the IDE.
error notification.Expected behavior
When the sketch content cannot be saved, IDE2 must warn users to save their work manually.
Arduino IDE version
2.1.0
Operating system
macOS
Operating system version
12.6.3
Additional context
The issue was reported in the internal issue tracker under ATL-667.
Here is a public ref: arduino/arduino-pro-ide#379
Upstream: socketio/socket.io-client#1023
I propose lowering the severity of this issue. The backend process of IDE2 used to crash when the CLI was in a very early stage, and when a panic occurred in the CLI, the entire backend process spawned the CLI daemon had crashed. An example is arduino/arduino-cli#414; this is not happening anymore, as far as I know.
Issue checklist
The text was updated successfully, but these errors were encountered: