-
Notifications
You must be signed in to change notification settings - Fork 94
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
Improved control command interface. #423
Labels
duplicate
This is a duplicate of something else
Comments
[meeting] we agreed:
|
This was referenced Jun 19, 2016
hjoliver
changed the title
Reporting control command results to users.
Improved control command interface.
Jun 19, 2016
In the proposed new web architecture, we should be able to make use of asynchronous 2-way communication to achieve the feedback functionality. |
8 tasks
Merging this with #3329 which proposes pretty much the same thing as proposed here only utilising PUB/SUB to update the client with the command's progress when running interactively. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Control commands return immediately after queuing a command request to the suite. If the command is successful the user will see the expected result via suite monitoring, but if not (e.g. a supplied task ID regex does not match in tasks in the suite) the suite log must be examined to see what happened.
One idea I've had is to generate a unique ID at the time the request is queued, report it back to the user ("command ade3af99 queued" instead of just "command queued") and then have the suite log the result against the ID. This would allow a --wait option to make the command script wait until the result shows up, and report it, before exiting. Would have to allow for possible log rollover during the wait time (or else use the run-db instead of the log.
The text was updated successfully, but these errors were encountered: