From 77d1c8e09a19535bd7c0f96d3b299a098447dd4e Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Tue, 19 May 2026 12:28:00 +0200 Subject: [PATCH] fix(argo): ensure-binary cp from CARGO_TARGET_DIR, not in-tree target/ CARGO_TARGET_DIR=/cargo-target redirects all build output away from the in-tree `/target/` path, so `cp $BUILD/target/release/...` fails after a successful compile. Mirror alpha-perception-template's correct pattern: `cp $CARGO_TARGET_DIR/release/...`. Co-Authored-By: Claude Opus 4.7 (1M context) --- infra/k8s/argo/lob-backtest-sweep-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/k8s/argo/lob-backtest-sweep-template.yaml b/infra/k8s/argo/lob-backtest-sweep-template.yaml index e68b898c0..2c8c3d284 100644 --- a/infra/k8s/argo/lob-backtest-sweep-template.yaml +++ b/infra/k8s/argo/lob-backtest-sweep-template.yaml @@ -220,7 +220,7 @@ spec: fi cargo build -p fxt-backtest --release - cp "$BUILD/target/release/fxt-backtest" "$BIN_DIR/fxt-backtest" + cp "$CARGO_TARGET_DIR/release/fxt-backtest" "$BIN_DIR/fxt-backtest" echo "$SHORT_SHA" > /tmp/sha ls -lh "$BIN_DIR/fxt-backtest"