Policy: Require MCP and relevant team nominations for adding (ecosystem, custom codegen backend) testing jobs that would block PR/Merge CI and require documenting failure protocol #845
Labels
major-change
A proposal to make a major change to rustc
T-compiler
Add this label so rfcbot knows to poll the compiler team
Proposal
Terminology
Policy: require compiler sign-off and reviews from other relevant teams for adding blocking ecosystem, custom codegen backend) test jobs to rust-lang/rust
Require a compiler MCP for adding new (ecosystem or custom codegen backend) test jobs (see e.g. https://rustc-dev-guide.rust-lang.org/tests/ecosystem.html) to https://github.com/rust-lang/rust that are blocking. If a job may fail due to non-compiler but rust-lang/rust-related causes (e.g. rustdoc, libs or bootstrap), please also nominate (via
I-{team}-nominated
) the proposal to add a new testing job for other teams by filing an issue about adding the blocking test job on https://github.com/rust-lang/rust. The test job may be added if the MCP is accepted and if there are no outstanding concerns from the nominated teams.This policy is because if a test job is blocking, it affects everyone, not just the contributors who proposed to add the test job for $reasons.
When opening an MCP for the purpose of adding a new (ecosystem, custom codegen backend) test job, it is required that the author:
I-{team}-nominated
labels. For instance, if the new test job may break due to rustdoc changes, then it should be nominated to include rustdoc team review as well.rustc-dev-guide
(either to the https://github.com/rust-lang/rustc-dev-guide/ repo itself, or alongside the rust-lang/rust PR adding the test job).This policy is retroactive for existing (ecosystem, custom codegen backend) testing jobs
This requirement is intended to be retroactive. We will file MCPs for the existing (ecosystem) test jobs (at the time of writing, the Fuchsia test job and the Rust for Linux test job). If they are accepted, then no actions need to be done. If there are outstanding blocking concerns, then we may remove the existing (ecosystem) test jobs if the concerns cannot be resolved in a timely fashion.
Mentors or Reviewers
@davidtwco and @wesleywiser
This should also be discussed with T-{rustdoc,infra,bootstrap,libs} reviewers.
Process
The main points of the Major Change Process are as follows:
@rustbot second
.-C flag
, then full team check-off is required.@rfcbot fcp merge
on either the MCP or the PR.You can read more about Major Change Proposals on forge.
The text was updated successfully, but these errors were encountered: