Skip to content
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

fix: upload waits for monitor connection to close #2192

Closed
wants to merge 2 commits into from
Closed

Conversation

kittaakos
Copy link
Contributor

@kittaakos kittaakos commented Aug 24, 2023

Motivation

IDE2 must wait for the monitor connection to close before an upload can start gracefully. With the new CLI APIs, it's possible to request a close from the client and wait for the server (CLI) to free up the resources (ports), then iDE2 can start the upload.

Change description

  • Use the new CLI API to close the monitor connection.
  • Updated grpc_tools_node_protoc_ts to the latest. It's the lib to do the proto to js/ts generation.

Other information

Closes #1783

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@kittaakos kittaakos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: CLI Related to Arduino CLI topic: serial monitor Related to the Serial Monitor labels Aug 24, 2023
@kittaakos kittaakos self-assigned this Aug 24, 2023
@kittaakos
Copy link
Contributor Author

Will be part of #2334. I am closing as a duplicate.

@kittaakos kittaakos closed this Jan 26, 2024
@kittaakos kittaakos added the conclusion: duplicate Has already been submitted label Jan 26, 2024
@kittaakos kittaakos deleted the #1783 branch February 14, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: CLI Related to Arduino CLI topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Access is denied" error when uploading to board w/ FT232 USB chip with Serial Monitor/Plotter open
1 participant