From a10b7425f75ec3882f510fa95bfd20aae8114d66 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Thu, 4 Jun 2026 16:57:38 -0400 Subject: [PATCH] =?UTF-8?q?fix(scripts):=20asset-compile=20gate=20?= =?UTF-8?q?=E2=80=94=20odoo=20shell=20needs=20--no-http=20(port=208069=20h?= =?UTF-8?q?eld=20by=20live=20app)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The compile gate's 'odoo shell' tried to bind 8069 (the running app holds it) and died with 'Address already in use' before compiling, false-failing the gate. Add --no-http --http-port=0 --gevent-port=0 (same as the test run) so the shell loads the registry and force-compiles the bundles without binding a port. Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/verify_service_booking.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify_service_booking.sh b/scripts/verify_service_booking.sh index cf42719b..6df6fbda 100755 --- a/scripts/verify_service_booking.sh +++ b/scripts/verify_service_booking.sh @@ -148,7 +148,7 @@ fi if [[ "${TESTS_OK:-0}" == "1" ]]; then c "Compile asset bundles on clone (catches SCSS errors)" echo "env['ir.qweb']._get_asset_bundle('web.assets_backend').css(); env['ir.qweb']._get_asset_bundle('web.assets_web_dark').css(); print('ASSETS_COMPILED_OK')" \ - | dexec -i "$APP" odoo shell -d "$CLONE_DB" --db_host db --db_port 5432 --db_user "$PGUSER" --db_password "$PGPW" --addons-path="$ADDONS_PATH" >>"$LOG" 2>&1 || true + | dexec -i "$APP" odoo shell -d "$CLONE_DB" --db_host db --db_port 5432 --db_user "$PGUSER" --db_password "$PGPW" --addons-path="$ADDONS_PATH" --no-http --http-port=0 --gevent-port=0 >>"$LOG" 2>&1 || true if grep -q ASSETS_COMPILED_OK "$LOG"; then ok "Asset bundles compiled OK" else