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
docs: say who the local-gate stamp helps, and that a private org membership counts as a non-writer #2808
One command (ci-lint local-gate run) runs the same Linux checks on your machine and signs your commit. CI sees the signature and skips the checks you already ran.
This is true only for an author whose PR CI trusts. docs/ci-tooling.md says that CI ignores the stamp when "the PR comes from a fork or from a non-writer". A contributor who reads only the README runs the gate (about 5 to 17 minutes) and then waits for the same checks in CI.
There is also one case that neither text describes. GATE-008 reads the author's association from the event payload. For a member of the obs-rust organization whose membership is private, GitHub sends CONTRIBUTOR, not MEMBER. Thus CI treats that member as a non-writer and ignores the stamp, although the member has write access.
Evidence (same author, same kind of PR, stamped and attested both times):
Documentation only. The trust rule does not change: anyone can compute a stamp, so trusting only writers is correct.
README: one sentence after "CI sees the signature and skips the checks you already ran", for example: "This applies to PRs from a branch of this repository by an author with write access; for fork PRs, CI runs every check."
docs/ci-tooling.md, in "The stamp is ignored … when": after "the PR comes from a fork or from a non-writer", add: "GitHub reports a private member of the organization as a contributor, so a member must make the membership public (organization's People page, 'Public') for CI to trust the stamp."
Claiming: docs — say who the local-gate stamp helps, and the private-membership case (#2808)
Plan, one docs PR:
README.md "How CI works here": one sentence after the stamp bullet — it applies to a PR from a branch of this repository by an author with write access; a fork PR runs every check anyway.
docs/ci-tooling.md "The stamp is ignored … when": name the mechanism (GATE-008, ci_lint/gate_trust.py, TRUSTED_ASSOCIATIONS = OWNER/MEMBER/COLLABORATOR) and the private-membership case — GitHub reports a private member as CONTRIBUTOR, so the member loses the skip until the membership is public.
Docs only: no behaviour change, no RED/GREEN (obs-worker §4). I verified the association rule against zackees/ci.yml at the pinned ref (a1917ce, ci_lint/gate_trust.py:37,220).
Merged: #2817 landed on master as 4625d1f27 (squash, 2026-10-28 15:35Z).
README.md ("How CI works here"): the local-gate paragraph now says the skip applies to a pull request from a branch of this repository whose author has write access, and that a fork PR runs every check anyway — so the 5-17 minute gate is not sold as a saving it never was.
docs/ci-tooling.md ("The stamp is ignored when"): names the mechanism and the private-membership case — GATE-008 reads the author's association from the event payload (ci_lint/gate_trust.py, TRUSTED_ASSOCIATIONS = OWNER, MEMBER, COLLABORATOR), and GitHub reports a member whose organization membership is private as CONTRIBUTOR, so that member has write access and still loses the skip; the fix is to make the membership public.
Docs only; the trust rule (ci_lint/gate_trust.py) is unchanged, so no RED/GREEN applies. Closing as complete.
Activity
zackees commentedon Oct 28, 2026
Claiming: docs — say who the local-gate stamp helps, and the private-membership case (#2808)
Plan, one docs PR:
README.md"How CI works here": one sentence after the stamp bullet — it applies to a PR from a branch of this repository by an author with write access; a fork PR runs every check anyway.docs/ci-tooling.md"The stamp is ignored … when": name the mechanism (GATE-008,ci_lint/gate_trust.py,TRUSTED_ASSOCIATIONS= OWNER/MEMBER/COLLABORATOR) and the private-membership case — GitHub reports a private member asCONTRIBUTOR, so the member loses the skip until the membership is public.Docs only: no behaviour change, no RED/GREEN (obs-worker §4). I verified the association rule against
zackees/ci.ymlat the pinned ref (a1917ce,ci_lint/gate_trust.py:37,220).zackees commentedon Oct 28, 2026
Merged: #2817 landed on master as
4625d1f27(squash, 2026-10-28 15:35Z).README.md("How CI works here"): the local-gate paragraph now says the skip applies to a pull request from a branch of this repository whose author has write access, and that a fork PR runs every check anyway — so the 5-17 minute gate is not sold as a saving it never was.docs/ci-tooling.md("The stamp is ignored when"): names the mechanism and the private-membership case — GATE-008 reads the author's association from the event payload (ci_lint/gate_trust.py,TRUSTED_ASSOCIATIONS=OWNER,MEMBER,COLLABORATOR), and GitHub reports a member whose organization membership is private asCONTRIBUTOR, so that member has write access and still loses the skip; the fix is to make the membership public.Docs only; the trust rule (
ci_lint/gate_trust.py) is unchanged, so no RED/GREEN applies. Closing as complete.docs: say who the local-gate stamp helps, and the private-membership …