Skip to content

fix: serve the backend's logs in the view FULL #413

Closed

Description

@uniqueg

Problem

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.
  • Tests, smoke case and docs.

Activity

  1. added this to the v0.5.0 milestone on Nov 4, 2026
  2. added
    priority: medium
    status: in progress
    type: bug
    workload: hours
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: in progresstype: bugworkload: hours

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions