Repository navigation
fix: default to taskmaster and filer v0.10.6 - #220
Merged
Merged
Conversation
Taskmaster v0.10.2 reads only the first condition of a job, which is SuccessCriteriaMet on Kubernetes 1.31 or later, so tasks end in SYSTEM_ERROR there. Say which Kubernetes versions were tested, and what changes for executors' resources. Closes #218 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe PR updates the Helm chart defaults for taskmaster and filer from v0.10.2 to v0.10.6, addressing task failures on Kubernetes 1.31+, while retaining chart version 0.1.1. It also adds deployment guidance covering tested Kubernetes versions, the minimum taskmaster version for newer clusters, and the newer executor resource-limit behavior. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
uniqueg
marked this pull request as ready for review
November 5, 2026 09:18
Contributor
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="charts/tesk/values.yaml" line_range="25" />
<code_context>
port: 8080
taskmaster_image_name: docker.io/elixircloud/tesk-core-taskmaster
- taskmaster_image_version: v0.10.2
+ taskmaster_image_version: v0.10.6
taskmaster_filer_image_name: docker.io/elixircloud/tesk-core-filer
- taskmaster_filer_image_version: v0.10.2
</code_context>
<issue_to_address>
**Failed jobs get system errors**
When kubernetes 1.31 or later reports `FailureTarget` before `Failed` and the taskmaster polls during that interval, the v0.10.6 taskmaster treats `FailureTarget` as a generic error and exits the executor path before `Failed`, so TESK records `SYSTEM_ERROR` instead of `EXECUTOR_ERROR`.
Update the taskmaster to wait for the terminal `Failed` condition before classifying the job.
</issue_to_address>
### Comment 2
<location path="documentation/deployment.md" line_range="3" />
<code_context>
# Deployment instructions for TESK
## Requirements
-* **A Kubernetes cluster version 1.9 and later**. TESK works well in multi-tenancy clusters such as OpenShift and requires access to only one namespace.
+* **A Kubernetes cluster.** The Helm chart's default taskmaster and filer, v0.10.6, were tested on Kubernetes 1.30 and 1.36; earlier versions of Kubernetes were not tested with them. On 1.31 or later, the taskmaster must be v0.10.6 or later (see the [chart's README](../charts/tesk/README.md)). TESK works well in multi-tenancy clusters such as OpenShift and requires access to only one namespace.
* **A default storage class.** To handle tasks with I/O TESK always requires a default storage class (regardless of the chosen storage backend). TESK uses the class to create temporary PVCs. It should be enough that the storage supports the RWO mode.
* **A storage backend** to exchange I/O with the external world. At the moment TESK supports:
</code_context>
<issue_to_address>
**Unverified Kubernetes versions appear supported**
When users consult the top-level README before deploying the updated chart, the top-level README still says Kubernetes 1.9 and later works, so users choosing a pre-1.30 cluster treat an untested configuration as supported.
Update the top-level README's Kubernetes requirement to match the deployment guidance.
</issue_to_address>Linked issues
#218 fix: default taskmaster fails on Kubernetes 1.31+ · 2 of 2 met
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | The chart's default taskmaster and filer version is v0.10.6 or later. | ✅ Met | The chart defaults both images to v0.10.6 in charts/tesk/values.yaml. |
| 2 | The chart's docs say which Kubernetes versions work with the default. | ✅ Met | The chart README and deployment guide state that the v0.10.6 defaults were tested on Kubernetes 1.30 and 1.36, and clarify that earlier versions were not tested. |
Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: charts/tesk/values.yaml:25, documentation/deployment.md:3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #218
Summary
The chart's default taskmaster and filer move from v0.10.2 to v0.10.6, and the chart's README and the deployment guide say which Kubernetes versions were tested. With v0.10.2, tasks end in
SYSTEM_ERRORon Kubernetes 1.31 or later, as its taskmaster reads only the first condition of a job, which isSuccessCriteriaMetthere.Behaviour change: memory limits
v0.10.6 sets the resources that a task requests (
cpu_cores,ram_gb) as the limits of its executors too: a task that uses more memory than it requested is killed (OOM), and its CPU is throttled. The chart's README says so; the upgrade notes of the docs will too (#225).The chart version stays on purpose
Chart.yamlstays at 0.1.1. Since #230, no workflow publishes charts from pull requests; charts are released fromv*tags by the release workflow (#222), with the chart version set in a release-prep PR. Tags up tov0.2exist, so the next chart version must be above 0.2.Update 2026-11-06: merged
dev(with the new CI) into this branch; CI is green.How it was verified
The script
check-chart-default.shruns one task with an input on TESK from the chart's defaults, in a throwaway k3s cluster, with tesk-api 1.1.0. It is kept outside this repo, which has no fitting test suite for charts.proTES's job
Integration (TESK)runs v0.10.6 on k3s 1.36.6 with tasks that finish, fail and are canceled: elixir-cloud-aai/protes#432.CI: see the checks of this PR. Only the job that installs the chart applies.
Known limits of v0.10.6, not changed here
FailureTargetandFailedmakes the taskmaster treat it as an error, which could giveSYSTEM_ERRORinstead ofEXECUTOR_ERROR. Failing tasks did end inEXECUTOR_ERRORin all runs of proTES's job. A fix would belong in tesk-core.Declined review findings
appVersion: devinChart.yaml: it was already unrelated to these images.Open questions
For the maintainer, not blocking this PR: when to publish a chart with this fix (0.1.3 or above), and whether chart-releaser should run on pushes to
masterinstead of on pull requests.🤖 Generated with Claude Code
Summary by Sourcery
Update TESK’s default taskmaster and filer versions and document their Kubernetes compatibility and resource-limit behavior.
Bug Fixes:
Enhancements:
Documentation: