Skip to content

Commit c0de9ff

Browse files
committed
Weekly soak: run Sunday 2am UTC instead of nightly
1 parent b568884 commit c0de9ff

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/nightly-soak.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Nightly Soak
22

33
on:
44
schedule:
5-
- cron: '0 2 * * *' # Every night at 2am UTC
5+
- cron: '0 2 * * 0' # Every Sunday at 2am UTC
66
workflow_dispatch:
77
inputs:
88
duration_minutes:

scripts/smoke-test.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,11 @@ else
644644
fi
645645

646646
# 8o-p: OpenCode MCP + instructions
647-
CMD=$(json_get "$FAKE_HOME/.config/opencode/opencode.json" "d['mcp']['codebase-memory-mcp']['command']")
648-
if [ "$CMD" != "$SELF_PATH" ]; then
647+
# command is an array ["path"] per OpenCode spec (PR #134)
648+
CMD=$(json_get "$FAKE_HOME/.config/opencode/opencode.json" "d['mcp']['codebase-memory-mcp']['command'][0]")
649+
CMD_BASE=$(basename "$CMD" 2>/dev/null || echo "")
650+
SELF_BASE=$(basename "$SELF_PATH" 2>/dev/null || echo "")
651+
if [ -z "$CMD" ] || ([ "$CMD" != "$SELF_PATH" ] && [ "$CMD_BASE" != "$SELF_BASE" ]); then
649652
echo "FAIL 8o: OpenCode command='$CMD'"
650653
exit 1
651654
fi

0 commit comments

Comments
 (0)