Repository navigation
v0.7.0
Pre-releaseproTES can now account the resources that the tasks of each user used and
export them as Tool Execution Reports of ELIXIR Compute (format 0.0.2),
without personal data, let apps with tokens of their own (service clients)
create and own tasks, and request an access token of its own for each TES
instance, all opt-in. It moves to FOCA 0.23, whose image fixes a high
vulnerability of the image of 0.6.0: deployments with a single trusted
issuer must set its namespace: "" to keep the owners of their tasks, and
the worker of the Helm chart gets readiness and liveness probes by
default, which changes upgrades of the chart: read the upgrade
steps
first. This release was tested against Funnel 0.12.3 (TES 1.1, by label and
from its service info), TESP-API 0.2.0 with Pulsar 0.14.16 (TES 1.0) and
tesk-api 1.1.0 with the taskmaster and filer v0.10.6 (TES 1.0) in CI;
tesk-api 2.0.0 (TES 1.1) was not tested. See the
documentation for details.
Breaking changes
- FOCA 0.23: owners of tasks are namespaced by their issuer
(<issuer>|<sub>) also with a single trusted issuer, so deployments
with one issuer must set itsnamespace: ""to keep the owners of their
tasks, their limits and their accounting records; rules of overlays that
name bare users stop the start otherwise (see the upgrade
steps)
(#522, #523) - Tasks whose
gateway.backendsis anallowof identifiers only, none of
which names a TES instance of proTES, are rejected with400
(invalid-backends) instead of503; on endpoints that require a
token, anonymous requests with too large bodies get401instead of
413(FOCA 0.23) (#522, #523) - The worker of the Helm chart has a readiness and a liveness probe by
default (celery inspect pingthrough the broker): upgrades wait until the
new worker answers, a worker that doesn't answer for 10 minutes is
restarted, and values that setworker.readinessProbeor
worker.livenessProbeare merged into the new probes; brokers without
Celery's remote control (e.g., Amazon SQS) need both set tonull(see the
upgrade
steps)
(#504, #505)
Features
- Opt-in accounting of resource usage per user
(custom.accounting.enabled): the Celery workers record the run time and
the requested resources of each task that finishes at its TES instance, and
admins get the totals per user atGET /usage(ruleadmins-get-usage)
(#459, #490) - Execution reports: admins get the usage records as Tool Execution Reports
of ELIXIR Compute, format version 0.0.2, atGET /usage/reports(rule
admins-get-usage-reports), for completed tasks of images in trusted
namespaces, with the providers and locations of
custom.accounting.reports; reports hold no user identifiers and no
details of tasks, no versions from tags of images given with a digest
(which are unchecked), and identifiers of the tool from tags of the task
only for the tags listed incustom.accounting.reports.tags(by default
biotools_idandrrid) (#502, #503; #520, #516) - Service clients (opt-in): apps with their own client-credentials tokens,
listed by issuer and client ID with the role user, can create tasks and
list, read and cancel their own; a client's ID is accepted as audience
only for its own service tokens, and service tokens with groups are
rejected (#517, #521) - Opt-in access tokens per TES instance:
custom.tes.client_credentials.audience_parameter(resourceor
audience) requests a token for each TES instance, for itsaudienceor
else its URL, so that TES instances with different audiences can't use
their tokens at each other (entries with the sameaudienceshare a
token) (#397, #488)
Security
- The image is built on FOCA 0.23.0, whose base image has libzstd1
1.5.7+dfsg-1+deb13u1, which fixes CVE-2026-124851 (high) of the image of
0.6.0; on endpoints that require a token, FOCA checks it before reading
the body, so anonymous clients can't make proTES read request bodies
(#522, #523) - The image has dnspython 2.9.2, which fixes CVE-2026-128089 (high) of
dnspython 2.9.1 in the image of 0.6.0 (#491) - Lint rules find disabled TLS verification also in calls on sessions,
decoding of JSON Web Tokens with unsafe algorithms and unsafe YAML loads;
they find nothing in the code (#500, #499)
Documentation
- How to pin tasks to one TES instance, and what clients can rely on then
(#508, #509) - Notes on TESK with tesk-api 2.0.0 (TES 1.1) (#477, #498), and on Funnel
0.12.3, which reports TES 1.1 itself (#481, #485) - The chart's README shows how to remove the seccomp profile on clusters that
set their own (e.g., OpenShift on Rahti) (#483, #484)
Maintenance
- The integration tests run on Funnel 0.12.3, check the TES 1.0 and 1.1
paths on real TES instances, read Funnel's TES version from its service
info, and share their helpers; the gateCI passedneeds the job
Integration(#479, #478; #481, #485; #486, #487; #480, #482; #425, #489) - Checks of a deployment (
tests/smoke/deployment.sh, and
tests/integration/check.shwith a token) (#424, #474) - The release workflow stops re-runs of a published release before they
sign or tag a new image, the pin check also rejects packages from other
sources than PyPI, and release notes may not hold relative links
(#506, #507; #475, #476) - The release workflow has a dry run: pull requests that change the release
workflow, its scripts or the release metadata, and manual runs, run the
whole release with an image in a registry on the runner and a draft GitHub
release that is deleted afterwards, without publishing, signing or entering
thereleaseenvironment; signing moved to its own job for tag pushes
only (#512, #513) - FOCA 0.23.0 and the release train
foca-plugins0.4.0, whose routing
plugins 0.2.0 allow FOCA 0.23; the routing by distance keeps its cache
in the plugin store and limits the DB-IP lookups of each caller per day
(#522, #523) - Dependabot labels all its pull requests
type: dependencies, and pull
request runs of CI are cancelled only by new commits (#492, #493; #473)
Commits
- ci: cancel PR runs only for new commits by @uniqueg in #473
- build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #465
- ci: reject relative links in release notes by @uniqueg in #476
- test: save the Rahti checks in the test suites by @uniqueg in #474
- test: check TES version paths on real backends by @uniqueg in #478
- test: share the integration test helpers by @uniqueg in #482
- docs: cover clusters that set their own seccomp by @uniqueg in #484
- test: run the integration tests on Funnel 0.12.3 by @uniqueg in #485
- test: read the TES version from Funnel by @uniqueg in #487
- feat: request access tokens per TES backend by @uniqueg in #488
- ci: require the job Integration in the gate by @uniqueg in #489
- feat: account resource usage per user by @uniqueg in #490
- build(deps): bump dnspython from 2.9.1 to 2.9.2 by @dependabot[bot] in #491
- ci: let Dependabot label all its pull requests by @uniqueg in #493
- build(deps): bump the github-actions group with 4 updates by @dependabot[bot] in #497
- docs: update the TESK notes for TES 1.1 by @uniqueg in #498
- build(deps): bump the pre-commit group across 1 directory with 2 updates by @dependabot[bot] in #464
- build(deps): bump the docker group across 2 directories with 1 update by @dependabot[bot] in #496
- build(deps): bump the python-dependencies group across 1 directory with 4 updates by @dependabot[bot] in #494
- build(deps): bump the docs-dependencies group with 2 updates by @dependabot[bot] in #495
- fix: catch disabled TLS checks in session calls by @uniqueg in #499
- feat(accounting): export tool execution reports by @uniqueg in #503
- feat(chart): probe the worker by default by @uniqueg in #505
- fix: harden release reruns and pin checks by @uniqueg in #507
- docs: pin tasks to one TES instance by @uniqueg in #509
- ci: add a dry-run mode to the release workflow by @uniqueg in #513
- build: move to FOCA 0.23.0 by @uniqueg in #523
- feat: let service clients own their tasks by @uniqueg in #521
- fix(accounting): limit user text in reports by @uniqueg in #516
- build: prepare the 0.7.0 release by @uniqueg in #511
- build: date the 0.7.0 release 2026-11-27 by @uniqueg in #526
Full Changelog: v0.6.0...v0.7.0