Skip to content

[9.4] (backport #17540) ci(release): drop next-patch PRs from feature-freeze workflow - #17619

Closed
mergify[bot] wants to merge 1 commit into
9.4from
mergify/bp/9.4/pr-17540
Closed

mergify[bot] wants to merge 1 commit into
9.4from
mergify/bp/9.4/pr-17540

Conversation

@mergify

@mergify mergify Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Motivation

Feature-freeze automation still opens next-patch version-bump PRs that must wait for the current release before merge. That parks bumps for days and conflicts with the intended post-release patch flow (open bump → merge within hours). Minor/FF and patch need separate entry points.

Summary

  • RunMajorMinorRelease no longer calls prepNextPatchOnReleaseBranch
  • Next-patch bumps remain in RunPatchRelease only
  • Docs and tests updated to match (FF expects no ff-prep-next-patch-* branch)

Validation

  • go test ./dev-tools/mage/release/ -count=1 → ok

This is an automatic backport of pull request #17540 done by [Mergify](https://mergify.com).

RunMajorMinorRelease now only opens minor/FF PRs. Next-patch bumps stay
in RunPatchRelease so patch timing is independent of feature freeze.

(cherry picked from commit 865b05a)

# Conflicts:
#	RELEASE.md
#	dev-tools/mage/release/README.md
#	dev-tools/mage/release/release.go
#	dev-tools/mage/release/workflows.go
#	dev-tools/mage/release/workflows_test.go
@mergify mergify Bot added backport conflicts There is a conflict in the backported pull request labels Oct 28, 2026
@mergify
mergify Bot requested a review from a team as a code owner October 28, 2026 09:56
@mergify
mergify Bot removed the request for review from a team October 28, 2026 09:56
@mergify

mergify Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Cherry-pick of 865b05a has failed:

On branch mergify/bp/9.4/pr-17540
Your branch is up to date with 'origin/9.4'.

You are currently cherry-picking commit 865b05a.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   RELEASE.md
	deleted by us:   dev-tools/mage/release/README.md
	deleted by us:   dev-tools/mage/release/release.go
	deleted by us:   dev-tools/mage/release/workflows.go
	deleted by us:   dev-tools/mage/release/workflows_test.go

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify
mergify Bot requested a review from blakerouse October 28, 2026 09:56
@github-actions github-actions Bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog chore Tasks that just need to be done, they are neither bug, nor enhancements labels Oct 28, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@github-actions

Copy link
Copy Markdown
Contributor

Dependency review finished without posting an analysis comment.

If you expected a review, push a new commit to this pull request (or close and reopen it) to try again.

Workflow run: https://github.com/elastic/elastic-agent/actions/runs/40668212422

@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

check-ci failed due to a compile-time backport mismatch in release tooling, not flaky infra. dev-tools/mage/release/workflows.go references PROptions/GitHub client helpers, but the backport commit does not include dev-tools/mage/release/github.go where those are defined.

Remediation

Investigation details

Root Cause

go vet fails in dev-tools/mage/release/workflows.go:90 with undefined: PROptions. The PR version of workflows.go imports github.com/google/go-github/v68/github and uses PROptions in multiple workflow PR builders, but the PR tree (at commit 81bd0d0592b6e2aeb83220ea5326b805cf9ac11c) lacks dev-tools/mage/release/github.go (directory listing only shows README.md, release.go, workflows.go, workflows_test.go).

Because the helper file is missing, go vet compilation of the package fails, and check-ci also reports generated drift in go.mod/go.sum (attempting to add go-github/v68 + go-querystring) before failing the clean-tree check.

Evidence

Verification

  • Ran: log + PR-content inspection only (read-only detective workflow)
  • Not run: local test/build execution against PR branch from this environment

Follow-up

If this was an incomplete cherry-pick/backport, re-backporting the missing helper file should unblock CI quickly.


What is this? | From workflow: Observability Agentic Workflow — Status

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@fr4nc1sc0-r4m0n

Copy link
Copy Markdown
Contributor

Closing this incomplete backport.

dev-tools/mage/release/ does not exist on 9.4, so Mergify only added orphan files and CI fails. Folding the #17540 fix into the existing package backport instead: #17303

auto-merge was automatically disabled October 28, 2026 10:27

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport chore Tasks that just need to be done, they are neither bug, nor enhancements conflicts There is a conflict in the backported pull request skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant