Testing
Local test gate
The Makefile and Go CI job use the same command:
go test -v -race ./...
make test is an equivalent wrapper. The command compiles every package, runs the repository's Go tests with verbose output, and enables the race detector. It does not prove that a live Linear API key, workspace permissions, or every remote GraphQL response works.
At the time of this documentation audit, the repository has no tracked *_test.go files, so the command is primarily a compile and race-enabled package check until Go tests are added.
Other CI checks
The CI workflow has three jobs:
| Job | Evidence | Scope |
|---|---|---|
| Test | go test -v -race ./... | Package compilation and Go tests. |
| Build | go build -ldflags "-s -w" | Cross-builds Linux, macOS, and Windows for amd64 and arm64 with CGO_ENABLED=0. |
| Lint | golangci/golangci-lint-action@v7, version v2.11.4 | Static analysis using .golangci.yml. |
The CI workflow currently provisions Go 1.23, while go.mod declares 1.26.2; treat that as a repository configuration gap when diagnosing a CI failure.
Documentation checks
Documentation changes are built by the main-branch Pages workflow with Node.js 22:
npm ci --prefix website
node scripts/validate-docs.mjs --root .
npm run build --prefix website
The validator checks metadata, required pages, audit claims, sidebar references, and forbidden template markers or secret material.