Skip to content

The BoardListWatch process must not be stopped when installing/uninstalling/upgrading a core or library #1588

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

Closed
silvanocerza opened this issue Dec 10, 2021 · 0 comments · Fixed by #2062
Assignees
Labels
topic: gRPC Related to the gRPC interface type: imperfection Perceived defect in any part of project

Comments

@silvanocerza
Copy link
Contributor

Bug Report

Current behavior

The BoardListWatch process is stopped each time a client calls the Init directly or indirectly from another gRPC function.
This makes it hard for gRPC clients to handle the BoardListWatch process.

Expected behavior

The BoardListWatch process never stops after is started by a gRPC client, but handles gracefully and transparently the Initialization of the CLI internal Instance.

Environment

  • CLI version (output of arduino-cli version): 0.20.2
  • OS and platform: Any

Additional context

This is related to #1587, #1460, and arduino/arduino-ide#674.

The arduino/arduino-ide#674 is a fast workaround to handle #1587 and another issue only reported by @ubidefeo that stops the discovery processes on the IDE even though the quit event mentioned in #1587 is sent correctly.

When this issue will be fixed we can remove the arduino/arduino-ide#674 workaround.

@silvanocerza silvanocerza added type: imperfection Perceived defect in any part of project topic: gRPC Related to the gRPC interface labels Dec 10, 2021
@silvanocerza silvanocerza self-assigned this Dec 10, 2021
@umbynos umbynos assigned Bikappa and unassigned silvanocerza Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: gRPC Related to the gRPC interface type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants