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
signal_contract_audit --ci does not check that docs/signal_contracts.md matches render() #3341
docs/signal_contracts.md says it is "Rendered from gitgalaxy/standards/signal_contracts.py … Do not edit by hand", but nothing checks that it's in sync. tests/signal_contract_audit.py --ci checks the registry against the module, not the rendered file against render().
It had drifted on main. Re-rendering for #3337 also added three entries other merged PRs had left out:
In --ci mode, fail when RENDER_PATH.read_text() != render(), with the message "run python tests/signal_contract_audit.py --render". The signal-contract CI job then catches the next drift in the PR that causes it.
Activity