summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-22 17:01:44 -0500
committerBen Sima <ben@bensima.com>2025-11-22 17:01:44 -0500
commitcc8a0e2350f8afa9e6e0b3cfac93368c6ec30f13 (patch)
treedf4f854d891f1ba13bc9967edc3ccdc4b4e7c02d
parentae62449b2e994a22234831e94faae9efd2c8ffb5 (diff)
parent6c504a7dbc1a53298f1107367927a98fa120c3d1 (diff)
Merge branch 'review/t-1o2bxcq7999.4' into live
-rwxr-xr-xOmni/Agent/start-worker.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Omni/Agent/start-worker.sh b/Omni/Agent/start-worker.sh
index 310ca56..457c83c 100755
--- a/Omni/Agent/start-worker.sh
+++ b/Omni/Agent/start-worker.sh
@@ -37,6 +37,12 @@ fi
# Ensure worker has local task and agent binaries
mkdir -p "$WORKER_PATH/_/bin"
+echo "Syncing worker repo..."
+if ! (cd "$WORKER_PATH" && git sync); then
+ echo "Error: Failed to run 'git sync' in worker directory."
+ exit 1
+fi
+
echo "Building 'task' in worker..."
if ! (cd "$WORKER_PATH" && bild Omni/Task.hs); then
echo "Error: Failed to build 'task' in worker directory."