Skip to content

ci: run go + web test suites on every PR#37

Merged
frahlg merged 1 commit into
mainfrom
ci/pr-test-gate
Jun 11, 2026
Merged

ci: run go + web test suites on every PR#37
frahlg merged 1 commit into
mainfrom
ci/pr-test-gate

Conversation

@frahlg

@frahlg frahlg commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

CI only ran on tags (release.yml), so the byte-identical Go↔JS crypto gate (the testdata/ vectors) was enforced only by hand. This adds a test workflow on pull_request + push to main:

  • go — gofmt check, go vet ./..., go test ./...
  • webnpm ci, npm test

Together they are the cross-language gate: go test writes/asserts the testdata/ vectors and npm test asserts the JS side matches the same committed vectors. A drift on either side fails the build.

Also gofmt-fixes two pre-existing test files (noise/, pairing/ interop_test.go, whitespace only) so the gofmt step starts green.

Test Plan

  • gofmt -l go/ clean; go vet ./... + go test ./... green locally
  • npm test 82/82 locally
  • This PR's own test run goes green (first execution of the workflow)

🤖 Generated with Claude Code

…ate)

Until now CI only ran on tags (release.yml), so the Go↔JS vector parity invariant
was enforced only by hand. This adds a `test` workflow on pull_request + push to
main: go (gofmt, vet, go test ./...) and web (npm ci, npm test). Together they are
the cross-language gate — a drift in either testdata/ vector fails the build.

Also gofmt-fixes two pre-existing test files (noise/pairing interop_test.go,
whitespace only) so the gofmt step starts green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@frahlg frahlg merged commit 4964a46 into main Jun 11, 2026
2 checks passed
@frahlg frahlg deleted the ci/pr-test-gate branch June 11, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant