The Procedure section states that develop → main promotions are fast-forward-only, and never says what performs that merge. tea pr merge cannot: it offers merge, rebase, squash and rebase-merge, and every one of them creates a commit on main — the drift the paragraph directly above exists to prevent. Reaching for the obvious command produces the forbidden outcome.
Gitea's API accepts the style the CLI omits, so the 26.9.0-beta.2 promotion went through curl with {"Do":"fast-forward-only"}. That call is now written down, along with the 405 Not all required status checks successful that comes first: main is protected and a promotion pull request runs its own CI rather than inheriting what develop already passed, so the initial attempt is refused for checks that have not finished rather than for anything being wrong.
Found by doing it. Without this, the next person promotes with tea, main gains a commit, and the cleanup described in this same file happens again.
## What this changes
The **Procedure** section states that `develop → main` promotions are fast-forward-only, and never says what performs that merge. `tea pr merge` cannot: it offers `merge`, `rebase`, `squash` and `rebase-merge`, and every one of them creates a commit on `main` — the drift the paragraph directly above exists to prevent. Reaching for the obvious command produces the forbidden outcome.
Gitea's API accepts the style the CLI omits, so the 26.9.0-beta.2 promotion went through `curl` with `{"Do":"fast-forward-only"}`. That call is now written down, along with the `405 Not all required status checks successful` that comes first: `main` is protected and a promotion pull request runs its own CI rather than inheriting what `develop` already passed, so the initial attempt is refused for checks that have not finished rather than for anything being wrong.
Found by doing it. Without this, the next person promotes with `tea`, `main` gains a commit, and the cleanup described in this same file happens again.
The section tells you promotions are fast-forward-only and never says which
tool does that. `tea pr merge` does not: it offers merge, rebase, squash and
rebase-merge, and each one births a commit on main — the exact drift the rule
exists to prevent. Reaching for the obvious command therefore produces the
thing the paragraph above it forbids.
Gitea's API takes the style the CLI omits, so the promotion for 26.9.0-beta.2
went through curl. Recording the call, and the 405 that precedes it: main is
protected and a promotion PR runs its own checks rather than inheriting the
ones develop already passed, so the first attempt is refused for checks that
simply have not finished yet.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx
merged commit 7255b8ec30 into develop2026-09-23 14:36:14 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What this changes
The Procedure section states that
develop → mainpromotions are fast-forward-only, and never says what performs that merge.tea pr mergecannot: it offersmerge,rebase,squashandrebase-merge, and every one of them creates a commit onmain— the drift the paragraph directly above exists to prevent. Reaching for the obvious command produces the forbidden outcome.Gitea's API accepts the style the CLI omits, so the 26.9.0-beta.2 promotion went through
curlwith{"Do":"fast-forward-only"}. That call is now written down, along with the405 Not all required status checks successfulthat comes first:mainis protected and a promotion pull request runs its own CI rather than inheriting whatdevelopalready passed, so the initial attempt is refused for checks that have not finished rather than for anything being wrong.Found by doing it. Without this, the next person promotes with
tea,maingains a commit, and the cleanup described in this same file happens again.