Skip to content

ci: vet and test the slim builds - #452

Merged
M0Rf30 merged 1 commit into
openartifact:mainfrom
orcamedia:ci/slim-build-checks
Nov 9, 2026
Merged

M0Rf30 merged 1 commit into
openartifact:mainfrom
orcamedia:ci/slim-build-checks

Conversation

@orcamedia

Copy link
Copy Markdown
Contributor

Follow-up to #448, as agreed there: CI now checks the slim builds, so a test or file that only compiles in the full build fails the PR instead of reaching main.

Two steps in the build / vet / test job:

  • go vet (slim builds): make vet-tags, right after go vet. It vets noai,nomcp, noai and nomcp, the same as make check does locally.
  • go test (slim build, noai+nomcp): go test -short -tags noai,nomcp ./..., after the race run. No race detector or coverage, since the run before it has both, which keeps the extra time down (about 1.5 minutes on an M-series Mac).

Checked locally on main: make vet-tags passes, the slim test run passes (on macOS together with #451, which fixes two tests that fail there for an unrelated reason), and actionlint and zizmor --offline report nothing new on ci.yml.

🤖 Generated with Claude Code

The slim builds (-tags noai, nomcp) were only vetted by `make check`, so
code that compiles in the full build but not in a slim one reached main
(openartifact#448). Run `make vet-tags` after go vet, and the unit tests with
-tags noai,nomcp after the race run, in the build / vet / test job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@M0Rf30
M0Rf30 merged commit 9a2fb39 into openartifact:main Nov 9, 2026
22 checks passed
@orcamedia
orcamedia deleted the ci/slim-build-checks branch November 9, 2026 18:26
@M0Rf30 M0Rf30 mentioned this pull request Nov 9, 2026
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.

2 participants