-
-
Notifications
You must be signed in to change notification settings - Fork 398
Signal when the board list watch
command has started via gRPC
#2284
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
Comments
What's the use case for this feature? |
See this 👇
A machine might want to know if the |
The CLI has a dedicated event type ( arduino-cli/rpc/cc/arduino/cli/commands/v1/board.proto Lines 199 to 200 in 3f9373a
|
But even after the hypothetical That's the reason why the
As you can see the slowest discoveries take more time to provide port data,
Uhm... the |
From here arduino/arduino-ide#674 (comment):
|
That comment refers to a very old implementation of the board watch, in fact, the same message says:
And that's how I reimplemented the watcher, I'm pretty sure no The IDE only sees a stream of |
Describe the request
As a consumer of the gRPC API, I would like to receive an event if the gRPC equivalent of the
board list watch
command has started.Currently, one can listen to the first
BoardListWatchResponse
event and consider the command running, but the first event might not ever arrive if the environment does have built-in ports (for example,COM1
on Windows, or/dev/cu.Bluetooth-Incoming-Port
on macOS) although the command has successfully started and is running. A similar feature has been implemented for the monitor via 7afdc38.Describe the current behavior
There is no explicit signaling if the gRPC equivalent of the
board list watch
has started.Arduino CLI version
0.34.0
Operating system
macOS
Operating system version
13.5
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: