Skip to content

[release-0.25] 🐛 Fix signalProcess redeclaration on Windows - #3621

Merged
kubernetes-prow[bot] merged 2 commits into
kubernetes-sigs:release-0.25from
k8s-infra-cherrypick-robot:cherry-pick-3586-to-release-0.25
Oct 12, 2026
Merged

kubernetes-prow[bot] merged 2 commits into
kubernetes-sigs:release-0.25from
k8s-infra-cherrypick-robot:cherry-pick-3586-to-release-0.25

Conversation

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #3586

/assign troy0820

signal_windows.go declares signalProcess as a function, while process.go
declares it as a var holding signalProcessImpl. On Windows the two
collide and signalProcessImpl is undefined, so anything importing
pkg/envtest fails to compile. v0.24.1 still cross-builds for Windows, so
this is new in v0.25.0.

kubernetes-sigs#3519 added signal_windows.go. kubernetes-sigs#3523 then added the signalProcessImpl
indirection so tests can stub the call, and renamed the function in
signal_unix.go and signal_other.go but not in the Windows file. CI
builds on Linux only, so nothing caught it.

Signed-off-by: Jan Dubois <[email protected]>
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 12, 2026
@troy0820

Copy link
Copy Markdown
Member

Resolves #3620

/label tide/merge-method-squash
/lgtm

@kubernetes-prow kubernetes-prow Bot added tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Oct 12, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: cd2da16a0234212357593960a143611acddff5c6

@sbueringer

Copy link
Copy Markdown
Member

/lgtm
/approve

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: k8s-infra-cherrypick-robot, sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit 32759fa into kubernetes-sigs:release-0.25 Oct 12, 2026
10 checks passed
Himanshu-370 added a commit to Himanshu-370/kubevela that referenced this pull request Nov 24, 2026
controller-runtime v0.25.3 backports the Windows envtest build fix
(kubernetes-sigs/controller-runtime#3621), so the replace pointing at
an unreleased main-branch commit is no longer needed. Drop it and
require the released version. v0.25.3 stays on k8s 0.37.0, so no other
dependency moves.

Fixes kubevela#7451

Signed-off-by: Himanshu Singh <[email protected]>
anoop2811 added a commit to kubevela/kubevela that referenced this pull request Nov 28, 2026
…7701)

controller-runtime v0.25.3 backports the Windows envtest build fix
(kubernetes-sigs/controller-runtime#3621), so the replace pointing at
an unreleased main-branch commit is no longer needed. Drop it and
require the released version. v0.25.3 stays on k8s 0.37.0, so no other
dependency moves.

Fixes #7451

Signed-off-by: Himanshu Singh <[email protected]>
Co-authored-by: Anoop Gopalakrishnan <[email protected]>
briankane pushed a commit to kubevela/kubevela that referenced this pull request Nov 30, 2026
…7701) (#7767)

controller-runtime v0.25.3 backports the Windows envtest build fix
(kubernetes-sigs/controller-runtime#3621), so the replace pointing at
an unreleased main-branch commit is no longer needed. Drop it and
require the released version. v0.25.3 stays on k8s 0.37.0, so no other
dependency moves.

Fixes #7451



(cherry picked from commit 250c53f)

Signed-off-by: Himanshu Singh <[email protected]>
Co-authored-by: Himanshu Singh <[email protected]>
Co-authored-by: Anoop Gopalakrishnan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants