CI: change-aware scope for the check job (PLAT-986) #3
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-opt/plat-986-change-scope"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PLAT-986, change-aware CI, rs-matter (Rust batch 3 of 3). A pull request into
hearththat changes only docs or project notes skips the Rust steps ofRasterstate CI / check. This fork has no required checks.What counts as content.
docs/**,CHANGELOG.md,CONTRIBUTING.md,SECURITY.md,CODE_OF_CONDUCT.mdandFORK.md(.forgejo/ci-scope.patterns). Not content: the root README and the crate READMEs (a crate can include its README as its docs), all Rust, Cargo files,tests/and the upstream.github/workflows. Pushes tohearth, mixed changes, unknown paths and a failed or missing classification run what runs today.Classifier and guard.
scripts/ci-scope.shandscripts/ci-content-unread.share the canonical copies from fleetci/change-scope(fleet#1134, #1135;check-vendored.shreports no drift), with the generic test. The guard flagged only comments: five license headers (onboard.rs,attest/verify.rs,cert/x509/cert.rs,transport.rs,transport/exchange.rs) saying "See FORK.md at the repository root", plus the classifier test's own list of paths. They are in.forgejo/ci-scope.mentions, each bound by checksum to the mention itself.scripts/ci-scope-rs-matter.test.shcovers this repo's rules and fails if a step after the classifier loses its gate. All run first incheck.Wiring. The setup, format, clippy and test steps carry
!= 'content'. The IPv6 diagnostic step stays ungated (it runs before checkout and costs seconds). The job's owngithub.repository_ownercondition is unchanged.Time to green.
self-hosted, Linuxpool..forgejo/**and runs full by design. Expectation for a content-only PR: a minute of self-tests and classification, still behind the same queue. The first real content-only run goes into this body after merge.Self-review: no blocking findings. One low is the documented limit of the guard (a deleted content file that code still names).