Skip to content

Field for run/task error messages (beyond stderr) #195

Open
@cjllanwarne

Description

@cjllanwarne

Looking at the WES spec I cannot find a way to return an error message explaining why a run or task failed.

There is a field for stderr but that has different semantics than a task error or run error, so doesn't quite fit.

As an example, imagine a task looks good but emits some logging information to its stderr. It then fails because a file cannot be delocalized successfully.

The natural semantics of the stderr field is that it should come directly from the task, but that leaves no place to put the overall "reason the task is a failure", which is an engine level delocalization message.

Another motivating use case at the run level: say a workflow script is badly formed. We want to be able to mark that run as failed, and give it an error message, but that error has nothing to do with stderr and thus that field is inappropriate.

Recommendation:

  • Add to both RunLog and TaskLog an additional, and optional, errors field, containing a list of strings describing why the engine decided to mark that run or task as failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions