Skip to content

docs: PR CI is the merge gate; the local gate is optional for contributors #689

Closed

Description

@zackees

Part of the contributor-unblocking meta.

Problem

Contributors treat local checks as a precondition for opening a PR, and some build their own CI to get there. @chriscoveries ran 283 self-hosted CI runs (109 failed, almost all from the runner's environment) and released nine finished fixes (#482–#490) without ever opening a PR. AGENTS.md says "Local gate (run before every push)". It doesn't say that PR CI is the real gate, or that a red PR is fine.

Change

In AGENTS.md, docs/rust-port/coordination.md and testing-policy.md:

  • PR CI on obs-rust/obs-studio is the only check that decides a merge.
  • For contributors, the local gate (./lint, ./unittest, local-gate run) is recommended, not required. Without a stamp, PR CI runs the full suite (GATE-008 already does this).
  • Open a PR (a draft is fine) as soon as the RED test exists. A red CI run on a PR is expected, not a failure of process.
  • Do not build fork or self-hosted CI to pre-validate PRs.
  • What stays mandatory: RED then GREEN, differential and Tier 2 coverage, and no edits to C tests or public headers.

Acceptance

  • The docs say the above.
  • ./lint checks that still mention "before every push" are updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions