#!/usr/bin/env bash # Pre-deploy check for the panel/dashboard PAGE_HTML frontends. # # scripts/check-page-js.sh [harness.js] # # 1. Slices PAGE_HTML out of the SOURCE TEXT. Do NOT import the module instead: # app/oidc.py needs authlib, which is not installed on the steward host. # 2. Extracts the single ", html, re.S) if len(blocks) != 1: sys.exit(f"expected exactly 1