Add CI, drop private-repo install instructions - #1
Conversation
- Add .github/workflows/ci.yml (build, vet, test, govulncheck on push to main and PRs) - Pin release.yml to Go 1.26.5 and add a build/vet/test gate before goreleaser publishes; drop the unused Homebrew tap token, since this repo's goreleaser config has no brews section Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The repo is being made public, so `GOPRIVATE` and Git-auth setup are no longer prerequisites for `go install`. - README.md: replace the GOPRIVATE install with plain `go install`, add pre-built binary and from-source sections - SKILL.md, AGENTS.md, CLAUDE.md: same, minus the private-repo caveats - Ignore /bin/ so `make build` output stays untracked Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 47 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
CI's new govulncheck step failed on this repo. - Upgrade golang.org/x/text v0.38.0 -> v0.39.0 (GO-2026-5970, infinite loop on invalid input). Reachable from cliutil.ProbeReachable and store.UpsertBatch, so this was a live path, not just a required module. - Pin toolchain go1.26.5. go.mod had no toolchain directive, so building from source picked up crypto/tls from whatever was installed — GO-2026-5856 (ECH privacy leak) is fixed in 1.26.5 and CI already pinned it, but source builds did not. govulncheck now reports "No vulnerabilities found." Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Why
Two things blocked this repo from being usable publicly: there was no build/test workflow (only a release workflow), and all install instructions required
GOPRIVATEplus Git auth for a private module.Includes both commits from
ci/add-build-test-workflow, which this branch is stacked on — that branch needs no separate PR.What changed
ci.yml— build, vet, test, govulncheck on push to main and PRs.release.yml— pinned to Go 1.26.5 (matching CI) and added a build/vet/test gate before goreleaser publishes. Dropped the unused Homebrew tap token; this repo's goreleaser config has nobrewssection.GOPRIVATEand private-repo instructions from README.md, SKILL.md, AGENTS.md and CLAUDE.md.go installnow works plainly./bin/.Verification
goreleaser ldflags were already correct here (this repo always had the right module path) — verified by building with a fake version:
programmapper-cli 9.9.9-ldflagtest.Ordering note
Tagging
v1.0.0while the repo is still private produces a private release. Flip visibility to public first, then tag.🤖 Generated with Claude Code