feat(eliminate-frontend-makefile): task 3.1 - fix run-resource-verify.sh discovery
APISERVER_BIN's default changes from the fixed /tmp/apiserver path to $BUILD_DIR/frontend/apiserver/xce_apiserver, matching the sibling BINARY/SCHED_BIN/XT convention exactly (no dual-path fallback, per research.md's explicit Design Decision). Failure message now names /xce-build apiserver instead of the Makefile target. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYdtrEWWZfKRRGED7raEYg
This commit is contained in:
parent
454c76f74c
commit
ff051e0e86
2 changed files with 3 additions and 3 deletions
|
|
@ -200,7 +200,7 @@ DEPLOY_HA="$REPO/src/tools/deploy-ha.sh"
|
|||
BUILD_DIR="${XCE_RESVERIFY_BUILD_DIR:-$REPO/src/xce.build}"
|
||||
BINARY="${XCE_RESVERIFY_BIN:-$BUILD_DIR/controller/xce_controller}"
|
||||
SCHED_BIN="${XCE_RESVERIFY_SCHED_BIN:-$BUILD_DIR/scheduler/xce_scheduler}"
|
||||
APISERVER_BIN="${XCE_RESVERIFY_APISERVER_BIN:-/tmp/apiserver}"
|
||||
APISERVER_BIN="${XCE_RESVERIFY_APISERVER_BIN:-$BUILD_DIR/frontend/apiserver/xce_apiserver}"
|
||||
# xce_test -- drives injection (task 6.1) via its worker-context `join`/
|
||||
# `resupdate` commands (same binary xce-test-ha's run-ha-soak.sh uses, same
|
||||
# build dir as $BINARY since both come from the controller meson target).
|
||||
|
|
@ -347,7 +347,7 @@ register_trap() {
|
|||
precondition_checks() {
|
||||
[ -x "$BINARY" ] || fail "controller binary missing: $BINARY (run /xce-build controller)"
|
||||
[ -x "$SCHED_BIN" ] || fail "scheduler binary missing: $SCHED_BIN (run /xce-build scheduler) -- required, this skill verifies the scheduler layer"
|
||||
[ -x "$APISERVER_BIN" ] || fail "apiserver binary missing: $APISERVER_BIN (cd src/frontend && make build-server, or the CGO-flags workaround -- see tasks.md's Implementation Notes) -- required, this skill verifies the apiserver layer"
|
||||
[ -x "$APISERVER_BIN" ] || fail "apiserver binary missing: $APISERVER_BIN (run /xce-build apiserver) -- required, this skill verifies the apiserver layer"
|
||||
[ -x "$XT" ] || fail "xce_test binary missing: $XT (run /xce-build controller) -- required to join a synthetic worker and run resupdate"
|
||||
command -v nix >/dev/null 2>&1 || fail "nix not found on PATH -- required to resolve the deploy-environment bash and invoke deploy-ha.sh"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue