Skip to content

ci: add build verification step before running tests#784

Open
okwn wants to merge 8 commits into
ruvnet:mainfrom
okwn:ci/add-build-check
Open

ci: add build verification step before running tests#784
okwn wants to merge 8 commits into
ruvnet:mainfrom
okwn:ci/add-build-check

Conversation

@okwn
Copy link
Copy Markdown

@okwn okwn commented May 24, 2026

Summary

Adds a new rust-build job to the CI pipeline that runs before rust-tests to catch compilation errors early.

Changes

  • rust-build job: Compiles the full Rust workspace (cargo build --workspace --no-default-features) before tests run
  • TypeScript type-check: Runs tsc --noEmit on the dashboard package to catch type errors
  • rust-tests now needs rust-build: Tests only run if the build step succeeds

Motivation

Catching type errors, missing imports, and dependency resolution issues at the build stage — before running the full test suite — reduces CI time wasted on obviously broken commits and provides faster feedback to contributors.

okwn and others added 8 commits May 23, 2026 19:19
- Add 'may take a minute' note on pull to set expectations
- Add -it hint for interactive use
- Document fallback port suggestion when 3000 is occupied
docs: clarify docker run flags for first-time users
fix README: change '1 modules' to '1 module' (grammar fix)
fix README: clarify ESP32 port syntax for Linux/macOS
- Add rust-build job that compiles the full Rust workspace before tests run
- Add TypeScript type-check for the dashboard using tsc --noEmit
- rust-tests job now depends on rust-build to catch compile errors early
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