daisy / pipeline-framework

Core projects for the DAISY Pipeline 2 runtime framework
9 stars 2 forks source link

"Log" link is not available when a job errors #183

Closed bertfrees closed 1 year ago

bertfrees commented 1 year ago

When a job errors is when the user needs the log the most. Usually there is even a message saying "Please see detailed log for more info". I'm not sure whether this is a UI or server issue.

Update: it's a server issue.

marisademeglio commented 1 year ago

Yeah I noticed this too. Even when a job successfully finishes, the web service does not return a log link, so I had to make a workaround for this, but it probably isn't getting invoked when the job does not complete.

That is to say: I'm pretty sure it's a server issue.

bertfrees commented 1 year ago

Even when a job successfully finishes, the web service does not return a log link

You mean does not always return a log link? Or never? It works fine in my tests. Could it be a problem in the backend of the UI?

marisademeglio commented 1 year ago

Hmm I don't remember the exact details of the issue I found but there was something weird with web service and log file links.

But anyway, to get to the root of what you're seeing -- So the web service returns a log link for a job with ERROR status but the log link is not showing up in the UI?

bertfrees commented 1 year ago

So the web service returns a log link for a job with ERROR status

No, it doesn't :-)

bertfrees commented 1 year ago

See also https://github.com/daisy/pipeline/issues/663.