Skip to content

WS-1711: Concept for utility to print the working directory of a workflow

I originally wanted to expand it so we could add new properties to search for that were mapped to JSON Path queries, that way if we ever wanted to retrieve a new property from a workflow it would simply be a matter of adding a query to a list that could be triggered with a flag. However, it seems non-trivial to get database queries as JSON in Go, but may be easier using something like sqlx. If I get time I'll look at that but for now this gets the current requirement done.

I have updated it to be able to retrieve any property from the workflow_request table entry with JSONPath, so in the future if the DAs want to be able to find other properties easily we can just expand this tool instead of making a new one.

I ALSO changed the query so users can look up requests with both the Archive request ID or the Workspaces one, so again this tool could be applied to more situations.

I propose if we do choose this tool, due to it being designed to be expanded to search for any property we want to add, I think we should keep Charlotte's "spelunker" name since that's more general

Edited by Nathan Bockisch

Merge request reports