2026-10-22 16:49:25 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
|
|
|
python -m compileall -q app
|
2026-10-23 12:31:03 +08:00
|
|
|
# Each batch has a hard deadline and failed batches are isolated for diagnosis.
|
|
|
|
|
# Reports are generated outside test output; do not commit logs without review.
|
2026-10-26 09:43:17 +08:00
|
|
|
python scripts/regression_v829.py --timeout "${SITEFORGE_REGRESSION_TIMEOUT:-65}" --group-size 3
|
2026-10-23 12:31:03 +08:00
|
|
|
python scripts/verify_release.py
|
2026-10-22 16:49:25 +08:00
|
|
|
if command -v node >/dev/null 2>&1; then
|
|
|
|
|
for f in app/static/*.js; do node --check "$f"; done
|
|
|
|
|
else
|
|
|
|
|
echo "ERROR: Node.js required for JavaScript syntax check" >&2
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
2026-10-26 09:43:17 +08:00
|
|
|
if command -v node >/dev/null 2>&1; then
|
|
|
|
|
node --test tests_js/*.test.cjs
|
|
|
|
|
node tests/test_nested_helpers_v823.cjs
|
|
|
|
|
node --test tests_js/studio-experience-v829.test.cjs
|
|
|
|
|
fi
|
2026-10-22 16:49:25 +08:00
|
|
|
if command -v docker >/dev/null 2>&1; then
|
|
|
|
|
docker compose config --quiet
|
|
|
|
|
docker compose -f compose.enterprise.yaml config --quiet
|
|
|
|
|
fi
|