From 9a2320d1ca598e64f0c4e8a332eabe77b67fbb6c Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Fri, 3 Apr 2026 21:26:26 +0200 Subject: [PATCH] fix: precompute runs from /workspace/bin/ (PVC /data/ is read-only for mkdir) Co-Authored-By: Claude Opus 4.6 (1M context) --- infra/k8s/argo/compile-and-train-template.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/infra/k8s/argo/compile-and-train-template.yaml b/infra/k8s/argo/compile-and-train-template.yaml index ca19284bd..6651f50bb 100644 --- a/infra/k8s/argo/compile-and-train-template.yaml +++ b/infra/k8s/argo/compile-and-train-template.yaml @@ -298,15 +298,11 @@ spec: args: - | set -e - # Copy binary from workspace (fetched from GitLab) to PVC - mkdir -p /data/bin - cp /workspace/bin/precompute_features /data/bin/ 2>/dev/null || true - BINARY=/data/bin/precompute_features + BINARY=/workspace/bin/precompute_features if [ ! -f "$BINARY" ]; then - echo "ERROR: precompute_features not found" + echo "ERROR: precompute_features not found in /workspace/bin/" exit 1 fi - chmod +x "$BINARY" $BINARY \ --data-dir /data/futures-baseline \ --mbp10-data-dir /data/futures-baseline-mbp10 \