Repository navigation
ci: vet and test the slim builds - #452
Merged
Merged
Conversation
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]>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 / testjob:make vet-tags, right aftergo vet. It vetsnoai,nomcp,noaiandnomcp, the same asmake checkdoes locally.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-tagspasses, the slim test run passes (on macOS together with #451, which fixes two tests that fail there for an unrelated reason), andactionlintandzizmor --offlinereport nothing new onci.yml.🤖 Generated with Claude Code