Repository navigation
ci(test): cover internal/memory on windows-latest - #575
Merged
Merged
Conversation
The windows-test job lists only the packages verified to pass on Windows, so that the job is green on arrival. internal/memory never reached that list: it is absent from runkids#344's set of failing packages, and no commit ever added it, which leaves its 36 tests unrun on the platform whose binaries are published. Cross-compiled the package's test binary for windows/amd64 and ran it on a real Windows host: 36 top-level tests passed, 0 failed, exit code 0. The symlink call sites in store_test.go skip or drop their subcases when the privilege is missing, so a runner without Developer Mode cannot fail on them.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
|
Thanks! |
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
proposals/only — see CONTRIBUTING.md)Linked Issue
Follows #344, not
Closes— that issue tracks the wholewindows-latestcampaign and still has packages outside the allow-list.What
Adds
./internal/memoryto thewindows-testpackage list. The job's comment states the list holds the packages that already pass onwindows-latest, and that each fix adds its package back.internal/memorywas never on it at all:git log -S internal/memory -- .github/workflows/test.yamlreturns no commit, and the package is not among the 14 that #344 measured as failing there. Its 36 tests therefore never run on the platform whose binaries goreleaser publishes.Checks run
GOOS=windows GOARCH=amd64 go test -cand ran it on a real Windows host (Windows 10.0.26200, amd64, NTFS) — 36 top-level tests, 36 pass, 0 fail, exit 0. This is the method Windows ships release binaries but no job ever tests them: a windows-latest run fails 14 of 28 packages #344 describes using as a per-fix pre-flight.test.yamlparses; the allow-list is 23 entries, alphabetically ordered, no duplicates.python3 scripts/ai-context.py check→ ok.internal/memory/store_test.gothose sites degrade instead of failing::73,:78,:320and:323append their symlink subcases only whenos.Symlinksucceeds, and:252callst.Skip(err). A runner without Developer Mode covers fewer subcases but cannot fail on them.Not covered
make checkwas not run. The devcontainer is the environmentwiki/testing.mddesignates, and this machine's Docker Desktop engine cannot mount its WSL distro (Wsl/Service/CreateInstance/MountDisk/HCS/E_ACCESSDENIED). This PR adds no Go code, so there are no new tests and nothing formake checkto cover beyond what the pre-flight already exercised.go.modtoolchain (1.25.5). Thewindows-latestjob on this branch is the authoritative confirmation.Checklist
make check) — not true here:make checkneeds the devcontainer, which is unavailable (see "Not covered"). No Go code changed, so no test to add; the covering evidence is the Windows pre-flight above.