Skip to content

feat: drop unsupported backend_parameters #145

Closed

Description

@uniqueg

Description

TES 1.1 says of resources.backend_parameters: "ServiceInfo shall return a
list of keys that a backend supports", "Backends shall log system warnings if
a key is passed that is unsupported" and "Backends shall not store or return
unsupported keys".

#133 refuses tasks with backend_parameters_strict: true and parameters.
TESK supports no keys, but non-strict parameters are still stored with the
task (job annotation and taskmaster ConfigMap,
TesKubernetesConverter.java:94-97,161) and returned by GET /tasks/{id}
(:473), without any warning. Service info has no
tesResources_backend_parameters (TesServiceInfo.java:23-60), and adding
the key to a service-info.yaml today breaks service info: SnakeYAML's
loadAs refuses unknown properties (ServiceInfoService.java:49-55), which
the TESK chart needs before it can list the key (D).

Builds on #133 (merged on dev); no dependency on tesk-core#134.

Expected result

  • backend_parameters are removed from a task before it is stored, so they are neither in the annotation, the ConfigMap, nor any response
  • A warning naming the ignored keys is logged and appears in logs[0].system_logs with the view FULL
  • TesServiceInfo has tesResources_backend_parameters; the built-in service-info.yaml sets it to []; a test loads a file with the key
  • docs/api.md ("TES 1.1 fields", "Service info") updated

Activity

  1. added
    type: feature
    priority: high
    status: in progress
    type flag: required by specs
    workload: hours
    on Nov 12, 2026
  2. self-assigned this
    on Nov 12, 2026
  3. added this to the v2.0.0 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: highstatus: in progresstype flag: required by specstype: featureworkload: hours

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions