build: use latest Go 1.27 patch for worker

This commit is contained in:
wakonig_k authored and Klaus Wakonig committed 2026-11-05 15:07:03 +01:00
1 parent 0a74739b6a
commit 09e66b6539
4 files changed
+5 -7

No files matched your search

+2 -1
View File
@@ -12,7 +12,8 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version-file: worker/go.mod
go-version: '1.27.x'
check-latest: true
cache-dependency-path: worker/go.sum
- name: Check formatting
run: test -z "$(gofmt -l .)"
-2
View File
@@ -26,8 +26,6 @@ Set `redis_port` to the server's TLS listener port if it differs from 6379.
Clients do not need their own certificate or a certificate path.
For a local plaintext Redis server, explicitly pass `redis_tls=False`.
The standalone worker likewise defaults to TLS; use `--redis-tls=false` for plaintext.
Upgrade the worker executable on compute nodes together with the Python package
because the job ID is now sent in the JSON payload on stdin instead of a command-line flag.
## Simple job
+2 -3
View File
@@ -5,8 +5,7 @@ and forwards stdout, stderr, lifecycle status, and heartbeats to Redis.
It is launched by Slurm Manager, not as a system service.
The worker reads `job_id`, `script`, and `activation` from a JSON object on stdin.
The job ID is kept out of process arguments; the `--job-id` flag is no longer supported.
Upgrade the worker and Python package together. The ID remains in the submitted
The job ID is kept out of process arguments. The ID remains in the submitted
Slurm batch script, which must be protected from other users.
Activation and workload scripts receive the job ID as `SLURM_WORKER_JOBID` in
@@ -16,7 +15,7 @@ the ID in Slurm output and Redis logs.
## Builds
With Go installed, `make build` creates `../dist/bec-slurm-worker-linux-amd64`.
With Go 1.27.3 or later installed, `make build` creates `../dist/bec-slurm-worker-linux-amd64`.
Use `TARGET_ARCH=arm64` for ARM64.
With GoReleaser 2.18.0 installed, `make package VERSION=0.2.0` creates static Linux
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/bec-project/slurm_manager/worker
go 1.26.0
go 1.27.3
require (
github.com/alicebob/miniredis/v2 v2.40.0