fix(bug-1732): build xcecd_virtual in xce-build.sh's worker target

The `worker)` case's meson compile target list omitted xcecd_virtual --
the no-root worker binary deploy-ha.sh/the xce-deploy-ha skill needs
whenever no real systemd manager is present (the common sandbox case).
/xce-build worker alone left it unbuilt, so deploy-ha.sh silently
soft-skipped generating start-worker.sh. Verified: xcecd_virtual now
builds with a fresh mtime, full worker suite still 5/5.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QxaSzHRB7pmYFp4cVnwkA
This commit is contained in:
Rongsong Shen 2026-08-29 11:35:10 +00:00
parent 25778ee8a2
commit 83cb660b44
No known key found for this signature in database
GPG key ID: 5BCDAAE0123E9FE2
2 changed files with 8 additions and 4 deletions

View file

@ -225,7 +225,11 @@ case "$COMPONENT" in
worker)
setup_build
echo "=== Building lib + worker + tests ==="
meson compile -C "$BUILD_DIR" xcecd xcecd_worker xrun controller_connector_test
# bug-1732: xcecd_virtual (the no-root worker deploy-ha.sh/xce-deploy-ha
# picks whenever /run/systemd/system is absent, e.g. this sandbox) was
# missing from this target list -- /xce-build worker alone left it
# unbuilt, so deploy-ha.sh soft-skipped generating start-worker.sh.
meson compile -C "$BUILD_DIR" xcecd xcecd_worker xcecd_virtual xrun controller_connector_test
if [ "$RUN_TESTS" = 1 ]; then
echo "=== Running worker tests ==="
meson test -C "$BUILD_DIR" --suite worker --print-errorlogs