Repository navigation
Add Buildkite CI - #6
Conversation
There was a problem hiding this comment.
This adds a credentialed tag-release path that publishes GitHub assets, so it needs human review. I found no implementation issues in this pass.
Want to dig deeper?
Paste this into your agent to explore the findings from this review's Buildkite build:
Download the buildsworth logs from build 22275, then answer my questions about the findings.
Install the reading-buildsworth-logs skill to run this.
About buildsworth
Model: gpt-5.6-sol with xhigh thinking.
How to request a review: Comment @buildsworth-bk review on the PR, or request buildsworth-bk as a reviewer.
Risk labels (how buildsworth classifies risk) — buildsworth classifies risk itself from the diff. Unless repository policy already allows L2 approval, grant it by mentioning @buildsworth-bk (see approval ceiling and L2 approval grant):
- L1 — Low risk (dep bumps, docs/copy, lockfiles, small presentational fixes). buildsworth may approve by default.
- L2 — Standard risk (new UI, additive API fields, refactors). Approved only when repository policy or a verified grant allows it; otherwise comment-only.
- L3 — High risk (auth, migrations, payments, secrets, perf-critical pipeline paths). Human review always required.
There was a problem hiding this comment.
This release path fetches a GitHub publishing credential and creates release assets, so it remains above the L2 approval ceiling. I found no implementation issues.
Want to dig deeper?
Paste this into your agent to explore the findings from this review's Buildkite build:
Download the buildsworth logs from build 22276, then answer my questions about the findings.
Install the reading-buildsworth-logs skill to run this.
There was a problem hiding this comment.
I found one blocking issue in the tag-push path; details are inline.
Want to dig deeper?
Paste this into your agent to explore the findings from this review's Buildkite build:
Download the buildsworth logs from build 22304, then answer my questions about the findings.
Install the reading-buildsworth-logs skill to run this.
Previous concerns have been addressed.
There was a problem hiding this comment.
The cleanup failure is fixed and covered by the release-path test; I found no new implementation issues. This still creates a credentialed GitHub publishing path, so it remains above the L2 approval ceiling.
Want to dig deeper?
Paste this into your agent to explore the findings from this review's Buildkite build:
Download the buildsworth logs from build 22315, then answer my questions about the findings.
Install the reading-buildsworth-logs skill to run this.
There was a problem hiding this comment.
Moving the approval and tag handoff into the release pipeline is internally consistent, and I found no implementation issues. This path assumes a privileged role, retrieves a GitHub token, pushes tags, and publishes releases, so it still requires human review.
Want to dig deeper?
Paste this into your agent to explore the findings from this review's Buildkite build:
Download the buildsworth logs from build 22328, then answer my questions about the findings.
Install the reading-buildsworth-logs skill to run this.
3dc0be0 to
52b5914
Compare
## Description Follow-up to #6. Add a `cluster-migrator-release` Buildkite pipeline for publishing versioned binaries and document installation through mise. Each `main` build pauses at a passed `Release` input. An authorized team can select patch, minor, or major; the build then pushes the calculated semantic-version tag and publishes macOS and Linux archives plus checksums to a GitHub Release through GoReleaser. Pull requests validate the GoReleaser configuration and release scripts. ## Deployment Configure the Buildkite release pipeline to: - use the name and slug `cluster-migrator-release` - upload `.buildkite/pipeline.release.yml` - build `main` branch updates automatically - not build tags or pull requests - provide the Buildkite secret `CLUSTER_MIGRATOR_GITHUB_TOKEN` to the release steps ## Rollback Disable the release pipeline, then revert this PR. Existing tags and GitHub Releases remain available. @buildsworth-bk approve up to L2 --------- Co-authored-by: Amp <amp@ampcode.com>
Description
Follow-up to #3. Add mise-managed Buildkite CI for Go formatting, linting, tests, vetting, and ShellCheck. The
cluster-migratorpipeline runs these checks for non-mainchanges and does nothing onmain.The two Go edits satisfy the new
errcheckpolicy by explicitly ignoring deferred close errors.Deployment
Configure the
cluster-migratorBuildkite pipeline to upload.buildkite/pipeline.yml.Rollback
Revert this PR and restore the previous Buildkite pipeline configuration.
@buildsworth-bk approve up to L2