Forgejo merge API half-completes: commits land on main but PR stays unmerged and push webhook never fires (Komodo deploys silently skipped) #204
Labels
No labels
blocked
needs-manual-review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
matt/homelab-docker#204
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Incident (2026-07-24, PR #200)
Renovate patch-group PR #200 was merged at 08:00 UTC � merge commit
bb4a7c5e+e74fa4d4landed on main � but:merged: false; Renovate autoclosed it an hour later (title suffix "- autoclosed")Same signature as PR #189 (issue #195), and likely the same root cause as the intermittent
405 "please try again later"from the merge API. Forgejo version at time of incident: 15.0.2.Mitigations in place
ignoreTests: truein renovate.json so patch automerge pushes directly to main (repo has no CI; without this Renovate always fell back to the flaky PR-merge path)Remaining work
Resolved 2026-07-27
Upgraded Forgejo 15.0.2 ? 16.0.1 (LXC 100, binary swap; PBS backup taken first; 15.0.2 kept at
/root/forgejo-15.0.2.bak).End-to-end pipeline verified post-upgrade: direct push to main at 18:51:52 UTC (commit
22f7a28) ? webhook fired within 4s ? PullRepo + all 7 DeployStack executions completed successfully.Upstream context: the half-merge matches known merge/conflict-check races (gitea#19352, gitea#21129) � worse on slow hardware. Defense in depth now in place:
ignoreTests: true), avoiding the merge APIUpgrade procedure documented on the wiki Forgejo page. Watch the next few Monday Renovate cycles; reopen if an autoclosed PR ever coincides with stale containers again.