Skip to content

feat: export tool execution reports #502

Closed

Description

@uniqueg

Why?

Nice-to-have integration with ELIXIR Compute WP5 (resource usage, sustainability), tracked in elixir-cloud-aai/generic-issues#58 (D4.1). WP5 defines a Tool Execution Report JSON Schema (report_format_version 0.0.2, MIT; field description) for reporting tool executions across infrastructures, and collects such reports for its public usage dashboard. proTES records resource usage per finished task since #490 (closing #459). Exporting those records in the WP5 format lets operators publish usage without a format of their own.

How?

  1. Map each usage record (one per finished TES task, and one report per backend attempt where a task ran more than once) to an execution report:
    • tool_name and version from the executor image; tool_identifier only where the task carries one (e.g. a bio.tools or TRS ID in task tags), otherwise left out and documented;
    • start and end time from the TES task logs;
    • cpu_cores_assigned and memory from the requested resources (allocations, not measurements; say so);
    • sizes of outputs as aggregates only;
    • infra: proTES and the backend TES, identified by their service IDs or registry IRIs, location from their service info.
  2. Privacy, following the WP5 stakeholder consultation (M5.5) and the rule that reports hold no personal data:
    • no user identifiers (user_id, sub, e-mail, group) in any report;
    • no command lines, arguments, environment variables, input or output URLs or file names.
  3. Export: an admin-only endpoint or CLI command that returns the reports for a time range as a JSON array, validated against the schema in the tests.
  4. Pin the schema version and say in the docs which version is supported.
  5. Docs: docs/api.md, docs/operations.md (how to export and hand over reports), docs/configuration.md if a setting is added.

Acceptance criteria

  • Admins can export usage as reports that validate against schema version 0.0.2.
  • Reports contain no user identifiers and no command lines.
  • Documented, including fields that can't be filled from TES.

Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026); nice to have.

Activity

  1. added
    priority: low
    status: triage
    type: feature
    workload: days
    flag: nice to have
    ecp-wp4: D4.1
    on Nov 18, 2026
  2. moved this from Backlog to Nice to have in ELIXIR On-Cloudon Nov 18, 2026
  3. added
    status: in progress
    and removed
    status: triage
    on Nov 18, 2026
  4. self-assigned this
    on Nov 18, 2026
  5. moved this from Nice to have to In progress in ELIXIR On-Cloudon Nov 18, 2026
  6. moved this from In progress to In review in ELIXIR On-Cloudon Nov 18, 2026
  7. moved this from In review to Done in ELIXIR On-Cloudon Nov 18, 2026
  8. removed
    status: in progress
    on Nov 18, 2026
  9. added this to the v0.7.0 milestone on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: D4.1flag: nice to havepriority: lowtype: featureworkload: days

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions