601451f22b
Overlay ~150 upstream items onto our V8.12 base, preserving trade-pro
theme, registry tests, and design docs. Re-applied our patch set
(discovery/env_for/blocks.css/type-mapping/theme_color/frontend entries,
test_theme_pro_v3 mods) — all anchors survived upstream evolution.
New platform enhancement (fixes upgrade-introduced regression):
multilingual.site_locale now honors settings_json.locale, plus
PUT /api/i18n/sites/{id}/locale — standalone English sites get
<html lang='en'> under the V8.15 locale-rewrite pipeline.
compose: adopt V8.21.3 (image 8.21.3-dev.1, /api/ready probes, MySQL/S3
env) with project name pinned to siteforge-v8-10 (data volumes).
Tests: 356 passed / 11 failed — all 11 confirmed pre-existing in
pristine V8.21.3 on this host (10 upstream Windows env + our build test
now green after locale fix). Patch registry updated in plan doc.
Co-Authored-By: Claude Code <noreply@anthropic.com>
19 lines
709 B
Python
19 lines
709 B
Python
#!/usr/bin/env python3
|
|
"""Optional real Redis wake-up smoke; external Redis required."""
|
|
# Allow direct `python scripts/name.py` from a fresh source checkout.
|
|
import sys as _sys
|
|
from pathlib import Path as _Path
|
|
_sys.path.insert(0, str(_Path(__file__).resolve().parents[1]))
|
|
import os
|
|
import time
|
|
from app import redis_signal
|
|
|
|
if not os.environ.get('SITEFORGE_REDIS_URL'):
|
|
raise SystemExit('Set SITEFORGE_REDIS_URL for real Redis smoke')
|
|
if not redis_signal.notify():
|
|
raise SystemExit('Redis notification failed')
|
|
start=time.monotonic()
|
|
redis_signal.wait(0.1)
|
|
assert time.monotonic()-start < 4, 'Wakeup not consumed promptly'
|
|
print('PASS: Redis notification and worker wait against configured Redis')
|