Repository navigation
ci(test): test the packages that already pass on windows-latest - #351
Merged
Merged
Conversation
Releases publish windows_amd64 and windows_arm64 archives, and `_windows.go` files compile only on Windows, yet every job in this workflow runs on Linux or macOS: a Windows-only regression reaches users at release time instead of at review. Start the coverage with the 15 packages that pass on windows-latest today, so the job is green on arrival rather than a permanent red check. The 14 packages that fail there are listed in runkids#344 with the failures behind them, and each fix adds its package back to this list. -race stays off because the race detector needs a C toolchain on Windows; ubuntu and macOS already run the raced suite. -count=1 keeps a cached result from reporting a pass for a package that never ran.
Owner
|
Thanks! Two follow-ups for a later PR:
|
runkids
approved these changes
Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Linked Issue
Part of #344
What
Adds a
windows-testjob totest.yamlthat runs the 15 packages which already pass onwindows-latest. One file, +42 lines.Why
Releases publish
windows_amd64andwindows_arm64archives and seven_windows.gofiles compileonly on Windows, but every job in this workflow runs on Linux or macOS, so a Windows-only regression
reaches users through release binaries with no signal in CI. Both Windows fixes I have landed so far
(#330, #335) were found by using the tool on Windows, not by a pipeline.
Why an allow-list rather than the whole suite
Adding
./cmd/skillshare/... ./internal/...today would land a permanently red check: #344 measures14 of the 32 packages the unit-test pattern selects failing on
windows-latest. This job starts fromthe packages that are green today, so it is green on arrival, and every later fix grows the list
instead of having to unlock the job.
Deliberately out of scope here, all tracked in #344:
cmd/skillshare, andinternal/{audit,config,devcontainer,git,hooks,install,mcp,oplog,plugin,server,sync,theme,trash}. Four of them already have fixes in flight (fix(audit): skip absolute metadata keys on Windows too #345–test(doctor): assert target paths in the OS separator form #348); when one of those lands, its package should be added to this list.-race: the detector needs a C toolchain on Windows, and the raced suite already runs on ubuntu and macOS../tests/integration/...: never measured on this platform. In every run I made, the unit step fails before the integration step is reached, so I have no Windows result to report for it and I am not claiming one.-count=1is deliberate: a cached result must not be able to report a pass for a package that never ran.Evidence
Both runs are
windows-latestat upstream7043ca3a, triggered from my fork.ok, 0FAIL, 0(cached); 802--- PASS:lines over 314 distinct top-level tests, 5 skipped; job wall time 86 s../internal/audit(known red at this commit) to the list. The job went red onTestScanSkill_ContentIntegrity_PathTraversal— the same test fix(audit): skip absolute metadata keys on Windows too #345 turns green, so this also confirms fix(audit): skip absolute metadata keys on Windows too #345's regression test fails on a real runner, not just in my local cross-compiled run. A job nobody has watched fail is not evidence of coverage.This PR's own checks will be the third sample of run 1.
Checklist
make check) — not applicable to behaviour: this changes no Go code. The job itself is validated on a realwindows-latestrunner, in both directions, as above..github/workflows/test.yaml)