Skip to content

Commit 9ad2d84

Browse files
sjarmakclaude
andcommitted
fix: replace 30 bare cd commands with VERIFY_REPO-aware defaults across all waves
Sanity check of Wave 3 caught 9 missed bare `cd /app/repo` and `cd /workspace` in ccb_build. Extended sweep to Waves 1-2 found 21 more in ccb_design (8), ccb_debug (5), ccb_test (8). All replaced with `cd "${VERIFY_REPO:-/path}"` for artifact-mode compatibility. Also fixed `git config safe.directory` in 8 code-review tasks. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 14c2821 commit 9ad2d84

File tree

30 files changed

+38
-38
lines changed
  • benchmarks
    • ccb_build
      • cgen-deps-install-001/tests
      • codecoverage-deps-install-001/tests
      • dotenv-expand-deps-install-001/tests
      • dotnetkoans-deps-install-001/tests
      • eslint-markdown-deps-install-001/tests
      • iamactionhunter-deps-install-001/tests
      • pcap-parser-deps-install-001/tests
      • similar-asserts-deps-install-001/tests
      • vscode-stale-diagnostics-feat-001/tests
    • ccb_debug
      • linux-acpi-backlight-fault-001/tests
      • linux-hda-intel-suspend-fault-001/tests
      • linux-iwlwifi-subdevice-fault-001/tests
      • linux-nfs-inode-revalidate-fault-001/tests
      • linux-ssd-trim-timeout-fault-001/tests
    • ccb_design
      • camel-routing-arch-001/tests
      • django-orm-query-arch-001/tests
      • k8s-crd-lifecycle-arch-001/tests
      • k8s-scheduler-arch-001/tests
      • postgres-query-exec-arch-001/tests
      • quantlib-barrier-pricing-arch-001/tests
    • ccb_test
      • aspnetcore-code-review-001/tests
      • calcom-code-review-001/tests
      • curl-security-review-001/tests
      • envoy-code-review-001/tests
      • ghost-code-review-001/tests
      • kafka-security-review-001/tests
      • terraform-code-review-001/tests
      • vscode-code-review-001/tests

30 files changed

+38
-38
lines changed

benchmarks/ccb_build/cgen-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/codecoverage-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/dotenv-expand-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/dotnetkoans-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/eslint-markdown-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/iamactionhunter-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/pcap-parser-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/similar-asserts-deps-install-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
REWARD_FILE="/logs/verifier/reward.txt"
1515
mkdir -p /logs/verifier
1616

17-
cd /app/repo
17+
cd "${VERIFY_REPO:-/app/repo}"
1818

1919
python3 << 'EOF'
2020
import sys

benchmarks/ccb_build/vscode-stale-diagnostics-feat-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ if [ -f "extensions/typescript-language-features/package.json" ]; then
142142
# VS Code extensions use npm test or a custom test runner
143143
cd extensions/typescript-language-features
144144
npm test 2>/logs/verifier/test_errors.txt && TEST_RC=0 || TEST_RC=$?
145-
cd /workspace
145+
cd "${VERIFY_REPO:-/workspace}"
146146
if [ "$TEST_RC" -eq 0 ]; then
147147
echo "[x] TypeScript language features tests passed"
148148
else

benchmarks/ccb_debug/linux-acpi-backlight-fault-001/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ -f /tmp/.artifact_only_mode ] && [ -f /tests/answer_json_verifier_lib.sh ];
99
source /tests/answer_json_verifier_lib.sh
1010
fi
1111

12-
cd /workspace
12+
cd "${VERIFY_REPO:-/workspace}"
1313

1414
# Create log directories
1515
mkdir -p /logs/verifier

0 commit comments

Comments
 (0)