Skip to content

Fixed some weird behaviour in gRPC Monitor command #1706

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

Merged
merged 7 commits into from
Apr 11, 2022

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Apr 6, 2022

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?
Here is the list of bugs fixed, they are all related to the pluggable monitor management and gRPC:

  • ensure that monitor processes are killed and collected correctly (previously it leaked a zombie process)
  • fixed the gRPC commands.Monitor streaming call, now the cancel request is handled correctly
  • fixed crash if no configuration is provided in the commands.Monitor gRPC call
  • reduce timeout for monitor close/quit commands to 250ms, this allows termination of the monitor even if the monitor itself lags in freeing up resources

Does this PR introduce a breaking change, and is titled accordingly?
No breaking changes.

@cmaglie cmaglie requested a review from a team April 6, 2022 13:32
@cmaglie cmaglie self-assigned this Apr 6, 2022
@cmaglie cmaglie added this to the arduino-cli 0.22.0 milestone Apr 6, 2022
@cmaglie cmaglie added priority: high Resolution is a high priority type: imperfection Perceived defect in any part of project topic: gRPC Related to the gRPC interface criticality: high Of high impact labels Apr 6, 2022
@cmaglie cmaglie merged commit d61f954 into arduino:master Apr 11, 2022
@cmaglie cmaglie deleted the debug-grpc branch April 11, 2022 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: high Of high impact priority: high Resolution is a high priority topic: gRPC Related to the gRPC interface type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants