chore(observability): add CSS mirror sync helper
All checks were successful
CD Pipeline / deploy (push) Successful in 1m33s

This commit is contained in:
OoO
2026-05-05 22:16:41 +08:00
parent 15f7c8660d
commit 346e9672a6
4 changed files with 73 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ def scan_css() -> list[str]:
web_text = web_path.read_text(encoding="utf-8")
if web_text != text:
findings.append(
f"{WEB_CSS_PATH}: must match {CSS_PATH} so production /static CSS is in sync"
f"{WEB_CSS_PATH}: must match {CSS_PATH} so production /static CSS is in sync; run `python3 scripts/sync_observability_css.py`"
)
return findings