Skip to content

Every conflict that a pull request brings fails Downstream, in a page as well

  • Status: accepted
  • Date: 2026-11-28
  • Amends 0039

Context

Decision 0039 let the Downstream workflow fail on a conflict that the pull request brings into a file that runs, such as a workflow, a hook, a script or the configuration of a bot, and only warn on one in a page, Markdown, a text file or a license: "a conflict in a page can be the right change". Update.breaking of downstream.py left out every path that PAGES matched.

But a conflict in a page stops the update of the repository just as one in a workflow does. scripts/check.sh of every repository fails on conflict markers in any text file, and the blueprint bot turns auto-merge off for every conflict (blueprint/update.py). On 2026-11-24, v1.26.0 merged by itself in three repositories and stopped in four (issue 1166). In Dennis-Otto/paperless-sync and Dennis-Otto/paperless-unified-search, the paragraph that #1157 added to CONTRIBUTING.md met the apps' own paragraphs, and check (php) of both update pull requests failed with CONTRIBUTING.md: has conflict markers, until a commit by hand on blueprint/update resolved them. Downstream had run in #1157 and passed with two warnings, and a warning in a green check reaches nobody.

Options

  1. Keep the warning for pages. The red update pull requests stay the first sign, after the release.
  2. Fail on every conflict that the pull request brings, in any file, and keep a conflict that main leaves already apart, as (base), which fails nothing.
  3. Make Downstream a required check that fails on every conflict. Decision 0039 ruled it out: a conflict can still be the right change, and a repository whose main conflicts on its own would block every pull request of the blueprint.

Decision

Option 2. Every conflict that the pull request brings fails Downstream, whatever the file. The error names the repository and the file and says what its update pull request will wait for: someone who resolves the markers in that file on blueprint/update. A conflict that the update to main leaves already shows in the summary as (base), and only the pull request that brings a conflict turns red, so a later pull request isn't at fault for it. Downstream stays no required check, and the release and the Rollout don't wait for it: when the conflict is the right change, the pull request says in the changelog how a repository resolves it and can merge. The red run tells the maintainer which repository will need that commit, before the release instead of after it.

The rest of 0039 stays, among it that the checks of each repository, its scripts/check.sh, run only in its update pull request; running them on the updated tree of each repository in Downstream is a later step of issue 1166 that the maintainer decides first.

Consequences

The pull request #1157 would have been red on the morning of the release, with an error for CONTRIBUTING.md of each of the two Nextcloud apps; a replay of its update on the trees of the seven repositories before v1.26.0 fails for exactly these two. A pull request that changes a page which a repository changed as well, such as CONTRIBUTING.md or SUPPORT.md, is now red in Downstream until the template keeps the repository's change or the changelog says how to resolve it. The weekly run and the run of a push to main have no base, so every conflict that the update to main leaves fails them, in a page as well, where they only warned before. The warnings of answers that differ and of lines that name a removed file stay warnings.