cc.arduino.cli.commands.v1.ArduinoCoreService.Init
hangs if Monitor
is running
#2719
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
topic: gRPC
Related to the gRPC interface
type: imperfection
Perceived defect in any part of project
Milestone
Describe the problem
A client might make additional
cc.arduino.cli.commands.v1.ArduinoCoreService.Init
requests.For example, Arduino IDE periodically (and on demand) performs the following sequence:
Arduino IDE also makes an
Init
request after installing/updating a platform or library.🐛 If there is a running
cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor
process, theInit
request hangs.To reproduce
Equipment
Demo
grpcurl
command in the new terminal to create a gRPC client instance:❗ Adjust the value of
open_request.port.address
as is appropriate for the port on your computer.🐛 The reinitialization hangs.
Expected behavior
cc.arduino.cli.commands.v1.ArduinoCoreService.Init
does not hang under any conditions.Arduino CLI version
863c1ec
Operating system
Operating system version
Additional context
I bisected the regression to bb815cf / #2565 (the fault does not occur when using the build from the previous commit 917dcc5).
Originally reported at #2347 (comment) (note the original issue report #2347 was from long before the time of the regression, so is different from the Monitor-specific issue tracked here even if the symptoms are somewhat similar).
Additional reports
cc.arduino.cli.commands.v1.ArduinoCoreService.Init
hangs ifMonitor
is running #2719 (comment)Issue checklist
The text was updated successfully, but these errors were encountered: