test-go-binding

Solid

Build and test the NeMo Relay Go binding; use this for go/nemo_relay changes or Go-facing integration checks

AI & Automation 122 stars 57 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
70
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Build And Test Go Binding ## Companion Guidance Use `karpathy-guidelines` alongside this skill for implementation or review work. Keep changes scoped, surface assumptions, and define focused validation before editing. Use this skill when the change is primarily in `go/nemo_relay` or the Go binding behavior it depends on. ## Important Constraint The Go binding links against the shared FFI library. `just test-go` builds that library for you, while `just build-go` remains useful when you want an explicit build-only pass or need the artifact for other work. ## Default Path 1. Format changed Go packages with `cd go/nemo_relay && go fmt ./...`. 2. Run Go tests with `just test-go`. 3. If any Rust files changed as part of the Go work, also run `cargo fmt --all`, `just test-rust`, and `cargo clippy --workspace --all-targets -- -D warnings`. 4. Use `just build-go` when you want an explicit build-only pass. 5. Use `just ci=true test-go` when you need the CI-style coverage and JUnit path. 6. Expand to broader validation only if the change touched shared semantics. ## Common Commands ```bash # Full Go suite just test-go # Format Go files cd go/nemo_relay && go fmt ./... # Required when the Go change also touched Rust code cargo fmt --all just test-rust cargo clippy --workspace --all-targets -- -D warnings # CI-style Go suite with coverage and JUnit artifacts just ci=true test-go # Explicit shared-library build when needed separately just build-go ``` In the `test-go`...

Details

Author
NVIDIA
Repository
NVIDIA/NeMo-Relay
Created
4 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category