fix(#2350): pass --raw to config-get in every build/test gate (#2399)

Adds --raw to config-get workflow.build_command|test_command reads in the post-merge, regression, verify-phase, and audit-fix gates so an unset key is a genuinely empty string, not the literal "" — restoring the auto-detect cascade and graceful skip instead of a false exit-127 failure. Regression guard sweeps all four gate files. Fixes #2350.
This commit is contained in:
Tom Boucher
2026-07-18 01:14:45 -04:00
committed by GitHub
parent 5e52350736
commit 863a54ec82
25 changed files with 124 additions and 79 deletions

View File

@@ -269,7 +269,7 @@ inspecting static artifacts.
```bash
# Resolve test command: project config > Makefile > language sniff
TEST_CMD=$(gsd_run query config-get workflow.test_command --default "" 2>/dev/null || true)
TEST_CMD=$(gsd_run query config-get workflow.test_command --default "" --raw 2>/dev/null || true)
if [ -z "$TEST_CMD" ]; then
if [ -f "Makefile" ] && grep -q "^test:" Makefile; then
TEST_CMD="make test"