Skip to content

Use ListOperations to find a relevant operation in the Action view

Adam Coldrick requested to merge sotk/bugs/missing-exit-code into master

The Action view uses the ExecuteResponse contained within an Operation message to get metadata about the Action's execution.

Currently this Operation is obtained via a query parameter in the URL, which doesn't help if the tool producing the URL isn't aware of the Operation name for whatever reason. Excluding this leads to a somewhat degraded experience using the Action view, with basic info like the exit code missing.

This MR updates the Action view to use a ListOperations request to find relevant Operations when there isn't one specified in the URL. One of these Operations will be used instead, which avoids the degraded experience in most cases (except when the Operation has been deleted from the database, but that's not really avoidable).

Merge request reports