Merge up a Go PR whose go.mod or go.sum conflicts with main instead of stopping it #27
Loading…
Reference in a new issue
No description provided.
Delete branch "MQ-3-go-merge-up"
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?
A Go PR that takes a module's new release itself conflicts on
go.mod/go.sumonce the automatic "Take Go dependencies" PR for the same module lands first, and the queue stopped it with "conflicts with main" until someone merged main in by hand.Changed
ci-gotopic no longer steps the PR aside. The queue dispatches pipeline-templates'go/dependencies.ymlon the default branch with the PR's number and head (romaine-life/pipeline-templates#259, PIPT-66), writespending"merging in main, settling go.mod and go.sum", and keeps the PR at the front. The job's push is a new head, handled like any update.go.mod mergestatus on the head. That status is never counted as CI; the queue steps the PR aside with "conflicts with main: <the job's reason>", linking the run. A dispatch Forgejo refuses steps it aside with Forgejo's message. Adding the label again starts another merge-up.mergeable_checked: falseno longer steps a Go repository's PR aside; it stays in line and is merged up when it reaches the front.merge_queue_merge_ups_totalby repository; README describes the merge-up.Unchanged: repositories without
ci-gobehave exactly as before. No new webhook events: the job's status write already arrives as a pull request event.Order: held until romaine-life/pipeline-templates#259 lands, since the workflow needs its new inputs first.
https://openproject.home.romaine.life/wp/MQ-3
🤖 Generated with Claude Code