You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: serve the backend's logs in the view FULL #413
Tracking gets tasks from backends in the view BASIC only, and _store_final copies only logs[].logs and logs[].outputs. GET /tasks/{id} serves the stored task only, so view=FULL has no stdout, stderr or system logs of the backend, although docs/api.md says the views behave as the TES specification describes. Users have no access to the backend, as proTES uses its own credentials there, so they can't see why a task failed.
Found in the pre-release review of 0.5.0.
Fix
When a task is final, get it once with view=FULL; if that fails, keep what the last poll got, so that the final state isn't lost.
Store stdout, stderr and system_logs, with a limit on their size per task, as a MongoDB document has at most 16 MB.
Activity