Skip to content

docs: update the TESK notes for TES 1.1 - #498

Merged
uniqueg merged 1 commit into
devfrom
docs/477-tesk-tes-1-1
Nov 17, 2026
Merged

uniqueg merged 1 commit into
devfrom
docs/477-tesk-tes-1-1

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Closes #477

Summary

Updates the TESK notes in docs/configuration.md ("Notes on TES implementations") for tesk-api 2.0.0, which reports TES 1.1.0 and is the default of TESK's chart 0.4.0. All statements are taken from tesk-api's docs at tag v2.0.0 (docs/api.md, docs/upgrading.md, docs/index.md, docs/releases/2.0.0.md and 1.2.0.md) and TESK's chart on dev.

  • Keeps the notes on tesk-api 1.1.0, which CI still runs, and adds to its cancellation bullet that tesk-api 1.2.0 and later stop tasks canceled before the taskmaster runs (tesk-api#126, Middleware called before task is created #132).
  • New block for tesk-api 2.0.0:
    • reports TES 1.1.0, so no label is needed and tes.version: "1.1" is right;
    • with a taskmaster/filer older than tesk-core 0.12.0 (no ignore_error, no path_prefix uploads), set tes.version: "1.0";
    • still 400 for unknown (non-TES) fields and for backend_parameters_strict: true with parameters (proTES tries the next TES instance); other backend parameters are ignored and listed in system logs;
    • executor logs: both streams in stdout, no exit_code until the container ended;
    • cancellation: CANCELING until the pods ended, then CANCELED; cancels of finished tasks still 400, which proTES answers with 200;
    • PREEMPTED for disrupted executors.

Other pages checked: docs/development.md ("in TES 1.0" for the CI job) and the intro of the notes ("tesk-api 1.1.0" in CI) stay true, as the pinned TESK_COMMIT is unchanged; docs/upgrading.md mentions TESK only historically.

Not done: the optional bump of TESK_COMMIT in tests/integration/tesk/install.sh (it changes the CI job, and the expected version in versions.sh, so it isn't docs-only; chart 0.4.0 isn't tagged yet). Worth a follow-up once TESK 0.4.0 is released.

Light lane: docs-only change, no code, CI, secrets or release workflow touched; reviewed the diff myself.

Verification

  • mkdocs build --strict: passed
  • pre-commit run --files docs/configuration.md: all hooks passed
  • CI: all checks passed (CI passed green; Integration (TESK) skipped as usual on PRs)

🤖 Generated with Claude Code

Summary by Sourcery

Update the TESK documentation to reflect current behavior and compatibility requirements across tesk-api versions.

Enhancements:

  • Update the TESK implementation notes with TES 1.1 behavior and compatibility guidance for tesk-api 2.0.0.
  • Clarify cancellation behavior changes introduced in tesk-api 1.2.0 and later.

Documentation:

  • Document tesk-api 2.0.0 support, including TES version selection, backend parameter handling, executor logs, cancellation states, and preemption behavior.

Add notes on TESK with tesk-api 2.0.0 (the default of TESK's chart
0.4.0), taken from tesk-api's docs at v2.0.0: it reports TES 1.1.0, so
`tes.version: "1.1"` is right for it; with a taskmaster and filer older
than tesk-core 0.12.0, set `tes.version: "1.0"`. Cover the 400s for
unknown fields and strict backend parameters, and cancellation with
CANCELING. Note that tesk-api 1.2.0 fixed cancels before the
taskmaster runs.

Closes #477

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

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Update the TESK implementation notes with the tesk-api 1.2.0 cancellation fix and behavior of tesk-api 2.0.0, including the existing storage-class note’s relocation.

  • docs/configuration.md L361-393

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

Copy link
Copy Markdown

Documentation build overview

📚 proTES | 🛠️ Build #35943641 | 📁 Comparing 4c9c3d7 against latest (b6003ea)

  🔍 Preview build  

1 file changed
± configuration/index.html

@codecov

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b6003ea) to head (4c9c3d7).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #498   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           35        35           
  Lines         3239      3239           
=========================================
  Hits          3239      3239           

☔ 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.

@uniqueg
uniqueg marked this pull request as ready for review November 17, 2026 00:38
@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Linked issues

Checked at commit 4c9c3d7

#477 docs: update the TESK notes for TES 1.1 · 3 of 4 met

# Requirement Status Notes
1 Name the TESK chart and tesk-api versions that report TES 1.1. ✅ Met The notes identify tesk-api 2.0.0 and say it is the default of TESK's chart from 0.4.0 on.
2 Tell deployments using that tesk-api with an older filer to set tes.version: "1.0" for wildcard outputs. ✅ Met The notes describe the older taskmaster/filer limitation for wildcard outputs and tell those deployments to set tes.version: "1.0".
3 Update the bullets on rejected fields and cancellation. ✅ Met The new notes cover unknown fields, strict backend parameters, and cancellation behavior including CANCELING.
4 Optionally bump TESK_COMMIT so the integration job covers the TES 1.1 path. ❌ Not addressed The PR description says this optional bump is not done and is deferred until TESK 0.4.0 is released.

@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 reviewed your changes and they look great!

Sourcery assessment

Approved.


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

@uniqueg
uniqueg merged commit 3476641 into dev Nov 17, 2026
68 checks passed
@uniqueg
uniqueg deleted the docs/477-tesk-tes-1-1 branch November 17, 2026 00:50
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.

docs: update the TESK notes for TES 1.1

1 participant