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
Align D4.1 and the Audit on the Dispatch-Only Schedule Publisher Shape #2904
WORKFLOW.md D4.1 and spec/audit.py_schedule_never_publishes describe the dispatch-only publisher with a retest-only schedule differently in two places.
The no-push condition is unstated in D4.1. The audit reads a schedule as never publishing only where the publisher's on: block carries no push trigger, and the selftest case "a schedule-only suffix beside a push trigger" expects a finding. D4.1 says "a dispatch-only publisher whose schedule retests and never publishes", which leaves a reader to infer that no push trigger is allowed.
The audit accepts a second dispatch test that D4.1 does not name._DISPATCH_TESTS holds both github.event_name == 'workflow_dispatch' and github.event_name != 'schedule', and the selftest case "a parenthesized not-schedule test as the last conjunct" expects no finding. D4.1 names only the first.
Impact
An adopter following D4.1 alone can add a push trigger and then get a DRIFT from the concurrency audit that the contract never warned about. Separately, the audit passes a guard the contract does not describe, so the audit is more lenient than the contract.
Suggested fix
Decide which side is authoritative for each point, then bring the other side into line. For example, D4.1 could state the no-push condition, and either D4.1 names the != 'schedule' form or the audit drops it.
Found while: the local review of the D4.1 job-level if: wording change.
Activity
Accept a Folded Dispatch Guard in D4.1 and Extend the 5B N/A Rule (#2905
Align D4.1 and the Audit on the Schedule Publisher Shape (#2911)