Skip to content

build: add the ci Makefile target that completes the ADR-0043 gate triad - #85

Merged
bketelsen merged 1 commit into
mainfrom
cockpit/worker-46132774238b25ca
Aug 24, 2026
Merged

bketelsen merged 1 commit into
mainfrom
cockpit/worker-46132774238b25ca

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

  • Add make ci to Makefile: runs verify first, then this repo's test-coverage-check and coverage-check (no test-race or cross-build target exists here to include). Credential-free and non-mutating (no gofmt -w).
  • .github/workflows/ci.yml: the test job now installs the pinned golangci-lint (same jdx/mise-action step the lint job uses — make ci's verify step needs it) and runs make ci in one step, replacing the separate coverage-generation/self-test/enforce-floor steps.
  • AGENTS.md: documents the make verify / make check / make ci gate triad (core ADR-0043).

Closes #84.

Risk tier

High — touches .github/workflows/**. Expect a human to mark this ready for review.

Verification

  • grep -cE '^ci:' Makefile → 1
  • grep -c 'make ci' .github/workflows/ci.yml → 3 (comment, step name, run command)
  • grep -cE 'make (test-coverage-check|coverage-check)$' .github/workflows/ci.yml → 0
  • make ci on a clean checkout exits 0; git status --porcelain is empty afterward (coverage.out is gitignored)
  • go vet ./..., go test -race ./..., node scripts/check-docs.mjs, gofmt -l . all pass
  • This PR's own CI will show the gate job running make ci on this head

Test plan

  • CI's gate job (test) is green on this PR's head, showing make ci running

Adds `make ci` (verify, then this repo's test-coverage-check and
coverage-check) so core's fleet-conventions presence check stops
failing on clix, wires CI's gate job to call it in one step, and
installs the pinned golangci-lint there since verify's lint step needs
it. Documents the verify/check/ci triad in AGENTS.md.

Closes #84.
@bketelsen
bketelsen marked this pull request as ready for review August 24, 2026 23:35
@bketelsen
bketelsen added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 3d77788 Aug 24, 2026
7 checks passed
@bketelsen
bketelsen deleted the cockpit/worker-46132774238b25ca branch August 24, 2026 23:37
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.

build: add the ci Makefile target that completes the ADR-0043 gate triad

1 participant