You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Repo Checks drops merged PR invariant citations on main pushes #9744
Repo Checks fails on main after a correctly documented PR touches locked product-invariant paths.
The pull-request path loads the PR body through scripts/pr-preflight, but the main-push path invokes run_checks.py without --pr-body-file. run_checks.py therefore creates an empty temporary body, and product-invariants reports every required citation as missing.
Merge commit a3e1b7401560d6ae2b671c62fcfa3873ddd05e43 retains that full body, including both IDs.
The main-push Hygiene job nevertheless failed product-invariants for those same IDs because it supplied an empty body.
Proposed contract
For main pushes, write the merge commit message/body to a temporary file and pass it through the existing run_checks.py --pr-body-file interface. This is deterministic and network-free, preserves the citations GitHub places in regular merge commits, and remains fail-closed for direct pushes whose commit messages omit required invariant IDs.
Add a workflow wiring regression assertion so the main-push path cannot silently drop the change description again.
Activity
fix(ci): preserve invariant citations on main pushes
fix(ci): run product-invariants on main pushes with the merge-commit …