Repository navigation
build: add the ci Makefile target that completes the ADR-0043 gate triad - #77
Merged
Merged
Conversation
Makefile gains ci: (verify + coverage + race detector + cross-arch build), matching the shape adopted by frostyard/std and frostyard/snowcat-cockpit. The Tests workflow's pull-request gate now runs make ci as a single step in a new "Repository gate" job, replacing the separate lint/verify/race-test/build jobs that duplicated its scope; security, unit-test (coverage upload), and e2e-harness-syntax are unchanged. AGENTS.md names the full verify/check/ci triad. Fixes #76. Co-Authored-By: Claude Sonnet 5 <[email protected]>
make ci already invokes make verify, which runs lint-version-check; the standalone step duplicated part of the canonical gate shape Issue #76 asks for.
bketelsen
marked this pull request as ready for review
August 24, 2026 23:19
bketelsen
marked this pull request as draft
August 24, 2026 23:19
bketelsen
marked this pull request as ready for review
August 24, 2026 23:37
4 tasks done
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
Closes #76.
Makefilehadverify:andcheck:but noci:— core ADR-0043'sfleet-conventionspresence check was failing withFAIL frostyard/firn: Makefile missing ci: target.Makefile: addsci:(added to.PHONY) — runsverifyfirst, then coverage (go test -coverprofile=coverage.out ./...), the race detector (go test -race -short ./internal/..., matching the scope the oldrace-testCI job used), and a cross-arch build (GOOS=linux GOARCH={amd64,arm64} make build, reusing the existingbuildtarget — the same invocation the oldbuildmatrix job used).cineeds no credential and writes only gitignored files (build/,coverage.out);gofmt -wstays incheck, never inci..github/workflows/test.yml: the pull-request gate job now runsmake cias its single step in a newgate("Repository gate") job, replacing the separatelint,verify,race-test, andbuildjobs whose scopemake cinow covers (mirroring the shape already used in frostyard/std and frostyard/snowcat-cockpit).security(govulncheck),unit-test(coverage + Codecov upload, which needs OIDC credentialsciintentionally avoids), ande2e-harness-syntaxare untouched — same SHA pins,permissions, and thejdx/mise-actionstep.release.yml'smake verifystep is untouched.AGENTS.md: the gate paragraph now names all three targets —make check(developer),make verify(credential-free read-only subset), andmake ci(the CI superset ofverify— coverage, race, cross-arch build).Risk tier: 2 — this touches
.github/workflows/**, which is review-required at high risk per the issue; opening as a draft for a human to review and mark ready.Verification
On a clean checkout of this branch:
make ciexits 0 (verify → 0 lint issues,go vetclean, all package tests pass; coverage run passes; race detector passes over./internal/...; cross-arch build succeeds forlinux/amd64andlinux/arm64).git status --porcelainis empty aftermake ci(only gitignoredbuild/firnandcoverage.outare written).grep -cE '^ci:' Makefile→1.grep -rc 'make ci' .github/workflows/→.github/workflows/test.yml:2(declared and invoked).🤖 Generated with Claude Code