Skip to main content

serviceradar-build-test

Use before building, testing, linting, formatting, producing images, or validating ServiceRadar changes locally or before a PR/release.

소스 정보

저장소
carverauto/serviceradar
최근 소스 활동
2026년 9월 27일 23:22
감지된 SKILL.md 언어
영어
스타
919
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
serviceradar-build-test
description
Use before building, testing, linting, formatting, producing images, or validating ServiceRadar changes locally or before a PR/release.
user-invocable
false
metadata
{"internal":true}
# ServiceRadar Build and Test Commands ## Build & Test Commands - **Every unit test, the way CI runs them: `make test`** — an alias for `bazel test -c opt --config=remote //... --test_tag_filters=-integration_test,-acceptance_test`. `--config=remote`, not `--config=ci`: the CI profile points its caches at `/bazel-cache`, the node volume only the BuildBuddy executors mount, so it cannot run on a workstation. **Run this before opening a PR and before cutting any release.** It is the only command that covers the whole repo, because the Elixir unit shards exist ONLY as bazel targets (`//elixir/serviceradar_core:unit_tests_*`, `//elixir/web-ng:unit_tests_*`) and are invisible to `go test`, `cargo test` and `mix test`. Two broken Elixir suites reached a release tag that way. - Per-language tests + Go coverage profiles: `make test-toolchains` (go test / cargo test / vitest / `mix precommit`). Useful for a fast local loop; **not** a substitute for `make test`, and `make check-coverage` depends on it for the `cover.*.profile` files. - Lint: `make lint`. - Focused Go packages: `go test ./go/pkg/...`. - SRQL (Rust) integration tests: `cd rust/srql && cargo test`. - Bazel images: `bazel run //docker/images:<target>_push`. A worktree without `.bazelrc.remote` is not on RBE — copy the gitignored rc files first (Hard Rules). - First-party Wasm plugins: `make build_wasm_plugins`, `make push_wasm_plugins`, `make verify_wasm_plugins`. Bazel fetches the pinned TinyGo toolchain automatically; local `oras` is still required for publish/inspect workflows. `make push_all` is the container-image path; `make push_all_release` adds the Wasm publish/sign/verify path for release-style runs. Prefer Bazel targets when modifying code that already has BUILD files. Always run gofmt/cargo fmt where applicable (Go formatting handled by `gofmt`, Rust by `cargo fmt`).
GitHub에서 보기