Downstream runs the checks of each repository on its update¶
Context¶
On 2026-11-24, v1.26.0 merged by itself in three of the seven repositories that take the blueprint and stopped in four (issue 1166). In the two Nextcloud apps, a paragraph of CONTRIBUTING.md conflicted, which 1169 now fails. In Dennis-Otto/issue-assistant, a test of the project read the words of a gate in after-checks.yml, which #1096 had moved into a variable, and the repository had been stuck since v1.25.1. In Dennis-Otto/dennis-otto.github.io, a test of the project failed on .github/github_anchors.py, the new file of #1128, which the project's ruff.toml didn't know. Downstream passed in each of these pull requests: decision 0039 let it update and compare files only, and said that the checks of each repository, its scripts/check.sh, run only in its update pull request, after the release. The adopted legs of the Variants update a rendered project without the repository's own files and skip its checks.
Options¶
- Keep the checks in the update pull requests. A test of a project that names text or files of the blueprint keeps failing there, after the release, with a red pull request as the only sign.
- Run each repository's own checks on its update in Downstream, in a job of its own for each repository, which fails only when the update brings the failure.
- As 2, in the adopted legs of the Variants. Their check variants is required, and a repository whose
mainis red on its own would block every pull request of the blueprint. - As 2, as a required check, or with the release waiting for it. A conflict can still be the right change, the repair is one commit in the repository either way, and holding the release would hold the other repositories and every fix in it.
Decision¶
Option 2. It replaces three sentences of 0039: that a conflict in a page only warns, which 1169 changed already, because a conflict in a page stops the update anyway, as scripts/check.sh fails on the markers and the blueprint bot turns auto-merge off; that the checks of the code of each repository run only in its update pull request; and that Downstream is one job, for the 20 runners of the account.
- The job
downstreamupdates every repository, as before, and plans the others: a pull request runs the checks of each repository whose update or answers it changes, and of every one when it changesdownstream.yml,downstream.pyor the Copier that each job runs with. A run without a pull request, the weekly one and the one after a push oftests/answers/, runs every one. A repository whose update the pull request leaves the same to the byte takes no runner, as the Variants do it since 0100. - A job
downstream (<name>)for each of them clones the repository without a token, updates it to the pull request withdownstream.py --only, and makes the update what its update pull request has: one commit on the repository, with the answers that name the blueprint as the repository has them. It sets up the tools of the repository's stack as its job check (\<stack>) does, on the versions of the update, and installs the locked packages in each tree. Thendownstream.py --checksruns the repository's ownbash scripts/check.sh. - Only a failure that the update brings fails it. When the checks fail, the job makes the fixes of the fix bot,
python3 .github/blueprint.py fix run, and runs them again if a fix changed a file. When they still fail, it runs them on the tree to compare with: the update to themainthat the pull request merges into, or in a run without a pull request the repository without the update. The job fails when that tree passes, or passes the step that the update fails, sincecheck.shstops at its first failing step. The error names the repository, the step and what failed: the annotations of the checks, else the tests that pytest names, else the last lines. A failure that the other tree has as well only warns: it is the repository's. So a break is red in one run only, the one of the pull request that brings it. - Nothing of the repository reaches the blueprint. The job reads with
contents: readand checks out without credentials, keeps nothing in a cache, pushes nothing, and runs the checks without a token and with files of their own for the summary, the outputs and the PATH of a step. Only the download of krankerl for a Nextcloud app takes the token of the job, asci-php.ymldoes (0133). A repository that can't be cloned without credentials, such as a private one, is left out with a notice and a row of the summary that says so, and gets no job. Every job has its time limit and Harden-Runner, and a newer run of the same pull request cancels the older one. - Downstream stays no required check, and the release and the Rollout don't wait for it, for the reasons of option 4. The red run tells the maintainer which repository will need a commit, before the release instead of after it.
Consequences¶
The tests of downstream.py replay the four stops of 2026-11-24, after #1096, #1128 and #1157, with recorded trees and stand-ins of the repositories' checks shaped like those failures: each fails its job with an error that names issue-assistant's test, dennis-otto.github.io's .github/github_anchors.py or the conflict in CONTRIBUTING.md of the two Nextcloud apps. The trees of those pull requests weren't run again with the real checks of the repositories; the run of the pull request that built this passed them for the main of its day. A pull request that changes what every repository gets runs up to seven more jobs, each about as long as the check of its repository, from a minute for dennis-otto.github.io to about six for issue-assistant, plus a minute or two to clone, update and install; a job whose checks fail runs them a second time on the tree to compare with. A change of a page alone, such as a new paragraph of CONTRIBUTING.md, now shows whether a test of a repository reads it. A repository whose main is red on its own warns in every run until it is green again. The adopted legs of the Variants still run, and whether they can shrink is a later decision.