Skip to content

Standardize CI on the org shape - #5

Merged
nicodes merged 1 commit into
mainfrom
chore/standardize-ci
Aug 2, 2026
Merged

Standardize CI on the org shape#5
nicodes merged 1 commit into
mainfrom
chore/standardize-ci

Conversation

@nicodes

@nicodes nicodes commented Aug 2, 2026

Copy link
Copy Markdown
Member
  • go test ./... becomes .github/actions/test, called by CI and Release. It was written out in both — a small duplication, but the kind that lets the release-side copy get trimmed for speed until it no longer matches what people trust on a pull request.
  • Build before Test, job renamed clici, third-party actions SHA-pinned, both jobs bounded.

Deliberately not fixed here

The two workflows still build differently. CI runs scripts/cli_build.sh; release.yml cross-compiles inline with its own loop. Only the CI path runs on a pull request, so a break in the release cross-compile still surfaces first at release time — the exact failure the shared-action pattern exists to prevent.

Unifying them means deciding which build is the real one, which is a judgement call with its own risk. It gets its own PR. This one stops the test drifting and leaves a note in ci.yml so the build split isn't mistaken for finished work.

Verified locally: go vet and go test pass.

Phase 5 of the standardization plan.

`go test ./...` was written out in both ci.yml and release.yml. It is
.github/actions/test now, called by both -- a small duplication, but the
same kind that lets the release-side copy be trimmed for speed until it
no longer matches what people trust on a pull request.

Build runs before Test, the job is named ci rather than cli, third-party
actions are pinned by SHA, and both jobs are bounded.

NOT fixed here, and noted in ci.yml: the two workflows still BUILD
differently. CI runs scripts/cli_build.sh; release.yml cross-compiles
inline with its own loop. Only the CI path runs on a pull request, so a
break in the release cross-compile still surfaces first at release time.
Unifying them means deciding which build is the real one and deserves
its own pull request.

Verified locally: vet and tests pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nicodes
nicodes merged commit b91be97 into main Aug 2, 2026
1 check passed
@nicodes
nicodes deleted the chore/standardize-ci branch August 2, 2026 01:25
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.

1 participant