Repository navigation
ci: restore a minimal windows-only Actions leg - #211
Merged
Merged
Conversation
…local The make ci pipeline stays the whole gate — lint, vet (incl. windows/plan9 cross-vet), race tests, e2e, coverage, installer checks all run locally in the pre-push hook. The single thing a darwin dev box cannot do is EXECUTE the windows-only code paths (internal/stack/lock_other.go, lock_owner_windows.go, windows exec/path semantics) that vet-cross merely type-checks — so one windows-latest job runs `go vet` + the full test suite on PRs and pushes to main. No lint/coverage/release jobs came back: the Go pin resolves from go.mod, publishing stays a local `make release` flow, and the job's comments explain why it's the only remote leg. Also bumps `go test -timeout` in scripts/cover.sh to 20m: the cmd package drives real git subprocesses and already sits near the default 10m ceiling, so a loaded box tipped it into timeout panics twice in a row (a progressing suite, not a wedge — the alarm fired mid-test). 20m leaves headroom while still catching a truly stuck test. Doc claims updated to match: Makefile, CLAUDE.md, CONTRIBUTING.md now describe "local gate + one windows remote leg" instead of "no remote CI", and CONTRIBUTING's windows-lock troubleshooting note no longer says the runtime leg is gone.
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.
Summary
.github/workflows/ci.ymlas a single windows-only leg — the one thing that genuinely can't run locally: a darwin dev box canGOOS=windows go vet(compile-check) but never executelock_other.go/lock_owner_windows.go. The job runsgo vet+go test ./cmd/... ./internal/... -race+go test ./e2e/...onwindows-latest, triggered on PRs + pushes to main (+ manual dispatch).make ci(the pre-push gate): lint, fmt, vet-cross, race tests, e2e, merged coverage ≥75%, goreleaser snapshot, installer signature matrix. No lint/coverage/release jobs came back —setup-goresolves the toolchain fromgo.mod(no second pin), and publishing stays a localmake release.scripts/cover.shgets-timeout 20m: thecmdsuite sits near Go's 10m default (441–601s observed), and a loaded box tipped it into timeout panics twice consecutively — the dump shows a progressing suite, not a wedge.Changedentry.Test plan
make covergreen (88.0% total, floor holds) — first greencmdrun at 441s post-bumpmake check-installgreen (snapshot + smoke + 9-case signature matrix)make cilegs green: deps/pins/vet/vet-cross/build/lint