mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 19:09:21 +00:00
* ci(hooks): check the advertised-schema summary before pushing source changes A stale advertised-schema summary was the most common PR CI failure in a recent window (10 of 28 failing runs). The pre-push hook now runs npm run verify:advertised-schemas when the branch changes non-test files under src/, and skips it otherwise. On a schema change it took 6.5-9.5 s to rebuild with a warm Turbo cache plus 0.9-2.6 s to check, and printed the update command. * ci(hooks): refuse pushes with uncommitted schema summaries and document the check The schema check reads the working tree while CI reads the pushed commit, so running --update-summary without committing the result passed the hook and still failed CI. The hook now refuses the push while files under scripts/verify/advertised-schemas/tools are uncommitted. The testing guide and CONTRIBUTING describe when the hook runs the check.