Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(e2e): guard wait -n with set +e to ensure sibling cleanup

cyh08205057a3d6
diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh
index 600cc4537..3c32fcea0 100755
--- a/scripts/docker-entrypoint.sh
+++ b/scripts/docker-entrypoint.sh
@@ -35,10 +35,13 @@ run_ui_server('0.0.0.0', ${VIBE_UI_PORT:-5123})
echo "$UI_PID" > "$RUNTIME_DIR/vibe-ui.pid"
# Wait for either process to exit; propagate its exit code
+ set +e
wait -n "$SERVICE_PID" "$UI_PID" 2>/dev/null
EXIT_CODE=$?
+ set -e
# Terminate the sibling process
kill "$SERVICE_PID" "$UI_PID" 2>/dev/null || true
+ wait "$SERVICE_PID" "$UI_PID" 2>/dev/null || true
exit "$EXIT_CODE"
;;
cli)