When to use
Use this skill for transport, plugin, feature-gating, or dependency-version changes that can affect CI matrix behavior.
Workflow
- Run from repo root.
- Prepare environment:
source build/envsetup.sh highest
- Base matrix (no transport features):
cargo buildcargo clippy --all-targets -- -W warnings -D warningscargo fmt -- --check
- Bundled transport matrix:
cargo build --features vsomeip-transport,bundled-vsomeip,zenoh-transport,mqtt-transportcargo clippy --features vsomeip-transport,bundled-vsomeip,zenoh-transport,mqtt-transport --all-targets -- -W warnings -D warnings
- Unbundled transport matrix (when transport/plugin code changed):
- Set
VSOMEIP_INSTALL_PATHto a valid vsomeip install tree. cargo build --features vsomeip-transport,zenoh-transport,mqtt-transportcargo clippy --features vsomeip-transport,zenoh-transport,mqtt-transport --all-targets -- -W warnings -D warnings
- Set
- Workspace sanity:
cargo check --workspace --all-targetscargo test --workspace
Guardrails
- Treat no-feature clippy and feature-enabled clippy as separate gates; passing one does not imply passing the other.
- If CI fails after local green, diff local command set against workflow YAML and rerun with exact flags.
Report template
Always capture:
- Commands run
- Pass/fail outcomes
- Any environment variables used (
VSOMEIP_INSTALL_PATH, stdlib paths) - If skipped, why skipped