From f96b831cc3d3f2000bc22fe2817d87c32c6e9b91 Mon Sep 17 00:00:00 2001 From: "Kai (via Mike Darlington)" Date: Sun, 15 Feb 2026 09:59:07 +0000 Subject: [PATCH] fix: add mc binary to PATH in e2e job The e2e job builds `mc` to `$GITHUB_WORKSPACE/bin/mc` but never adds that directory to `$PATH`. When the orchestrator server shells out to `mc task create` during POST /api/tasks, exec.Command cannot find the binary, causing a 500 error. Uses `$GITHUB_PATH` to make the binary available for the full job. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1534a3..86251e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,8 @@ jobs: go-version: '1.22' - name: Build mc CLI run: cd cmd/mc && go build -o ../../bin/mc . + - name: Add mc to PATH + run: echo "$GITHUB_WORKSPACE/bin" >> "$GITHUB_PATH" - name: Set up test project run: | mkdir -p /tmp/test-project/.mission/state