Skip to content

feat: add CGo build/vet checks to healthcheck for inference#41

Merged
jeanmachuca merged 7 commits into
developmentfrom
fix/cgo-build-check
Jul 6, 2026
Merged

feat: add CGo build/vet checks to healthcheck for inference#41
jeanmachuca merged 7 commits into
developmentfrom
fix/cgo-build-check

Conversation

@jeanmachuca

Copy link
Copy Markdown
Member

Adds bulletproof CGo testing coverage:

  • check_go_build_cgo — clones llama.cpp, cmake-builds it, runs CGO_ENABLED=1 go build -tags=cgo ./cmd/cograw
  • check_go_vet_cgo — runs CGO_ENABLED=1 go vet -tags=cgo ./... against the same llama.cpp build
  • Both checks skip gracefully if cmake or gcc is unavailable
  • cmake added to tool availability section
  • Non-CGo build/vet checks remain unchanged (test stub backend separately)

@jeanmachuca jeanmachuca merged commit 5aaaeda into development Jul 6, 2026
1 check passed
jeanmachuca added a commit that referenced this pull request Jul 6, 2026
* feat: add CGo build/vet checks for inference in healthcheck

* fix: add ggml lib discovery and -lgomp to CGo build/vet checks

* fix: correct cmake version flag and remove unused cmake variables

* chore: remove stale report files from branch

* fix: suppress cmake build output in JSON mode

* chore: remove stale report files

* chore: ignore reports/ directory
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