Skip to content

build: prepare the 0.7.0 release - #511

Merged
uniqueg merged 8 commits into
devfrom
release/0.7.0
Nov 26, 2026
Merged

uniqueg merged 8 commits into
devfrom
release/0.7.0

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Closes #510

Summary

  • CITATION.cff: version 0.7.0, date 2026-11-21 (set with scripts/citation.py set 0.7.0; if the tag is later, set the tag date again before merging, as the date can't be in the future at the tag but should be the release date).
  • docs/releases/0.7.0.md: release notes in the org format (intro; Breaking changes, Features, Security, Documentation, Maintenance, each bullet with issue and PR numbers); the generated ## Commits and Full Changelog are added by the release workflow. Changelog link and docs navigation.
  • docs/upgrading.md: the paragraph "Tested TES implementations" in "To version 0.7.0", as "Versioning and releases" asks (from CI's Integration (label), Integration (service info) and Integration (TESK) jobs, which passed on dev at e1e311c: Funnel 0.12.3, TESP-API 0.2.0 with Pulsar 0.14.16, tesk-api 1.1.0 with taskmaster and filer v0.10.6; tesk-api 2.0.0 named as not tested). The rest of the upgrade notes ("To version 0.7.0") was written with the changes (feat: request access tokens per TES backend #488, feat(accounting): export tool execution reports #503, feat(chart): probe the worker by default #505).
  • The chart's version/appVersion stay placeholders: the release workflow sets them from the tag.
  • The merge commit of this PR is the release commit.

Breaking change listed: the worker probes that the chart now sets by default (#505), as they change upgrades with existing values and need null for brokers without Celery's remote control.

How it was verified

  • scripts/release_notes.py check docs/releases/0.7.0.md, scripts/check_release_pins.py, scripts/release_version.py outputs v0.7.0 (0.7.0, chart 0.7.0, stable, prerelease) and scripts/citation.py check 0.7.0: OK; no TODO in the notes.
  • coverage run -m pytest -W ignore::DeprecationWarning with the chart dependency built (helm dependency build deployment, Helm 3.22.1): 2349 passed, 11 skipped (after merging dev with feat: let service clients own their tasks #521 and fix(accounting): limit user text in reports #516); coverage report: 100%.
  • mkdocs build --strict: passes.
  • pre-commit run on the changed files: all hooks pass.
  • Open code scanning alerts of this PR: none (code-scanning/alerts?pr=511). Repo-wide: Add latest TES specs #17 (dnspython 2.9.1, CVE-2026-128089, high, category release-image, from the weekly scan of the 0.6.0 image); dev has 2.9.2 (build(deps): bump dnspython from 2.9.1 to 2.9.2 #491), so it doesn't affect the image of this release, and the release closes it.
  • CI at 61c5df0: CI passed, Release readiness and Scan image pass; b6c16f7 is docs only.

Light lane: docs and release metadata only, so no reviewer subagents; I reviewed the diff myself.

Declined review findings

  • Sourcery: URLs of unmapped TES instances in reports could carry secrets in their query (medium): the URLs are operator config (user info is refused at load), reports go to the deployment's admins, the API docs say the URL is the identifier, and reports.backends maps instances to other identifiers. Stripping queries is a code change for a follow-up issue, not for the release prep.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Prepare the project metadata and documentation for the 0.7.0 release.

New Features:

  • Add the 0.7.0 release notes covering resource accounting, execution reports, service clients, and per-instance access tokens.

Bug Fixes:

  • Document security fixes and updated dependency versions included in the 0.7.0 release.

Enhancements:

  • Update upgrade guidance with breaking changes, tested TES implementations, and token audience behavior.
  • Add the 0.7.0 release to the changelog and documentation navigation.
  • Clarify that TES instances sharing an audience also share access tokens.

Documentation:

  • Publish comprehensive 0.7.0 release and upgrade documentation.

Chores:

  • Update citation metadata for version 0.7.0.

Set the version 0.7.0 and the date in CITATION.cff, add the curated
release notes (docs/releases/0.7.0.md) to the changelog and the docs
navigation, and name the TES implementations that CI tested in the
upgrade notes of 0.7.0, as the release guide asks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Update the citation metadata for version 0.7.0 and its release date.

  • CITATION.cff L57-58

Documentation

Publish the 0.7.0 release notes and link them from the changelog and documentation navigation.

  • docs/changelog.md L9
  • docs/releases/0.7.0.md L1-114
  • mkdocs.yml L115

Document the 0.7.0 upgrade implications and the TES implementations tested in CI.

  • docs/upgrading.md L42, L196-202

Clarify that TES entries with a shared audience also share an access token.

  • docs/configuration.md L85-87

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@read-the-docs-community

read-the-docs-community Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (32c6ae2) to head (b6c16f7).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #511   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           38        38           
  Lines         3655      3655           
=========================================
  Hits          3655      3655           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- The Maintenance bullet on the integration tests names issue #479
  (closed by #478), not its parent #415.
- New Maintenance bullet for the release dry run (#512, #513), which
  ships with this release once #513 is merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Execution reports drop unchecked tags of images given with a digest
and report identifiers from tags of tasks only for the tags listed in
custom.accounting.reports.tags (D-434; #520, #516).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
uniqueg and others added 4 commits November 26, 2026 03:01
Release notes: the FOCA 0.23 move (#522, #523: breaking changes,
security, maintenance) and the service clients (#517, #521, D-451);
citation date 2026-11-26.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
The version check of the release branch flags "proTES 0.7.0" in the
upgrading guide (added by #523); the section heading names the release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@uniqueg
uniqueg marked this pull request as ready for review November 26, 2026 03:14
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Linked issues

Checked at commit b6c16f7

#510 build: release proTES 0.7.0 · 3 of 6 met · 3 to check by hand

# Requirement Status Notes
1 Set the CITATION.cff version and date. ✅ Met CITATION.cff now has version 0.7.0 and date-released 2026-11-26.
2 Add the 0.7.0 release notes, changelog link, and docs navigation entry. ✅ Met The release notes are present and linked from both the changelog and docs navigation.
3 Complete the 0.7.0 upgrade guide, including the Tested TES implementations paragraph. 👀 Check by hand (external system) Verify that the named TES implementations correspond to integration jobs that passed on the release commit; the guide contains the paragraph and names the tested versions.
4 Pass the release pin, citation, notes, and strict MkDocs checks. ✅ Met The PR's verification summary reports these checks passing.
5 Run a fork dry run of the release workflow before the tag. 👀 Check by hand (manual process) Confirm that the release workflow dry run was actually run in a fork before tagging.
6 Move issues #254, #391, and #501 out of the milestone before the tag. 👀 Check by hand (external system) Check the milestone to confirm that #254, #391, and #501 were moved out before tagging.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/releases/0.7.0.md" line_range="3" />
<code_context>
+proTES 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
</code_context>
<issue_to_address>
**Reports can expose URL secrets**

When a TES backend URL contains a secret in its query string and is not mapped in `custom.accounting.reports.backends`, `execution_reports` passes an unmapped TES backend URL to `_backend`, which includes the full URL as an `infra_identifier`; if that URL carries a secret in its query string, admins’ exported reports disclose it despite the release note’s privacy assurance.

Strip query strings from backend identifiers before including them in reports, or reject secret-bearing backend URLs.
</issue_to_address>

### Comment 2
<location path="docs/releases/0.7.0.md" line_range="64-65" />
<code_context>
+  rejected (#517, #521)
+- Opt-in access tokens per TES instance:
+  `custom.tes.client_credentials.audience_parameter` (`resource` or
+  `audience`) requests a token for each TES instance, for its `audience` or
+  else its URL, so that TES instances can't use their tokens at each other
+  (#397, #488)
+
</code_context>
<issue_to_address>
**Shared audiences defeat token isolation**

When two or more TES entries are configured with the same explicit `audience`, when multiple TES entries use the same explicit `audience`, `token_audience` gives each the same audience and `TokenProvider` reuses a token cached for that audience. Both instances then receive a shared token, so the release note’s claim that they cannot use each other’s tokens is false.

Qualify the isolation claim and state that TES instances need distinct audiences, issued by the identity provider and enforced by each TES instance, for this protection to hold.
</issue_to_address>

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: docs/releases/0.7.0.md:3, docs/releases/0.7.0.md:65


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread docs/releases/0.7.0.md Resolved
Comment thread docs/releases/0.7.0.md Resolved
TES entries with the same `audience` get the same token, so the
isolation of tokens per TES instance holds only for distinct
audiences (Sourcery review of #511).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@uniqueg
uniqueg merged commit e7da816 into dev Nov 26, 2026
58 checks passed
@uniqueg
uniqueg deleted the release/0.7.0 branch November 26, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: release proTES 0.7.0

1 participant