Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ci: plan for when the windows-2022 runner is retired

Open
#1,467 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, github-actions, kubernetes
Domain
ci-cd, devops

Research direction

Start from the e2e test on windows job in the GitHub Actions workflow files, where #1464 pinned windows-2022, and from the k3s setup that uses knicknic/temp-kubernetes-ci. Check whether DISM /Online /Add-Capability /CapabilityName:WMIC~~~~ works on a windows-2025 runner and how long it takes. Done means a recorded comparison of the three options, with one of them tested on a fork's CI run.

Written by the indexing model from the issue text.

Description

What would you like to be added?

A plan to move the e2e test on windows job off windows-2022 before GitHub retires that runner image.

#1464 pinned the job to windows-2022 because windows-latest (Windows Server 2025) no longer ships wmic, and the kubelet in the k3s from knicknic/temp-kubernetes-ci fails to start without it:

exec: "wmic": executable file not found in %PATH%

Options, roughly from smallest to largest:

  1. Stay on windows-2025 and add WMIC back before k3s starts. It is still available as a Windows optional feature: DISM /Online /Add-Capability /CapabilityName:WMIC~~~~. This needs a check that the capability can be installed on the hosted runner, and how long it takes.
  2. Replace knicknic/temp-kubernetes-ci with a cluster setup that does not need wmic, for example kind or k3d with Docker on Windows, if that works on hosted Windows runners.
  3. Run the Windows job against a cluster started on a Linux job, so Windows only runs the kusion binary.
Why is this needed?

GitHub has not announced a retirement date for windows-2022 yet. Under its runner image policy, the oldest Windows image is deprecated once a newer one is GA, with an announcement and brownouts before removal. When that happens, the Windows nightly will go red again with the same error as #1237.

Suggested by @elliotxx in the review of #1464. I'm happy to try option 1 first on my fork's CI and report back.

Dominant language
Go
Stars
1.3k
Forks
110
Avg merge
10h 43m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KusionStack/kusion

All issues in KusionStack/kusion

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.