Skip to content

feat!: adapt tasks to TES versions of backends #394

Closed

Description

@uniqueg

Child of #241. Adapt tasks to the TES version of the backend they are sent to.

  • pro_tes/ga4gh/tes/versions.py: versions, registered adapters between adjacent versions, chains (a new TES version needs its spec and one adapter).
  • The adapter 1.1 to 1.0: drops what doesn't change what a task does, and declares what can't be expressed (ignore_error: true, strict backend_parameters with keys, wildcards in output paths).
  • Eligibility: get_backends() is filtered before run.route(...); plugins see the canonical task and only backends that can run it, and get a public helper. No eligible backend: 400, the task is not stored.
  • Downgrade in relayed_task (after the forward phase); response upgrades where tasks are fetched from backends, for today's tracker and a later live relay alike.
  • Works if a backend is itself proTES.
  • tesResources_backend_parameters of proTES's service info.
  • Docs: supported versions, routing, how to add a version; upgrade notes.

Breaking for operators: tasks with features of 1.1 are no longer sent to 1.0 backends.

Activity

  1. added this to the v0.5.0 milestone on Nov 3, 2026
  2. added
    priority: high
    status: triage
    type flag: breaking change
    type: feature
    workload: days
    on Nov 3, 2026
  3. removed
    status: triage
    on Nov 3, 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: hightype flag: breaking changetype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions