getwilds / rcromwell

R client for interacting with Cromwell with WDL workflows
http://getwilds.org/rcromwell/
Other
4 stars 2 forks source link

`cromwell_logs` -- download all error/output logs in a zip file? #40

Open tefirman opened 5 months ago

tefirman commented 5 months ago

Brief description of the problem:

sckott commented 4 months ago

@tefirman Okay if I take this?

Hm, I don't think the actual logs being returned is part of the Cromwell REST API. But maybe I'm missing something. Do you know Taylor if logs can be returned?

tefirman commented 4 months ago

@sckott, that would be awesome if you don't mind! You're right, unfortunately Cromwell only returns the location of the logs, not the logs themselves, so this would require some manuevering, not entirely sure how though.

sckott commented 4 months ago

Yeah I don't know how easily we can make this happen. I'll take a look see

sckott commented 3 months ago

@dtenenba AFAICT Cromwell API doesn't allow one to fetch the contents of workflow log files, but only the location (path). Do you think there's an easy enough way to securely fetch the log file contents in addition to the location of said file?

It seems there is a way via configuration to send log files somewhere else so they don't get cleaned up https://cromwell.readthedocs.io/en/latest/Logging/#workflow-logs but that still leaves the problem of fetching those log files. Perhaps it'd be easier though to fetch them for the client (e.g., PROOF app or an R client) if log files were pushed into an S3 bucket for example rather than somewhere else on the cluster

sckott commented 3 months ago

@tefirman We discussed this with Dan yeah? Or maybe not?