You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: split lint into parallel jobs and remove redundant checks
Split the monolithic lint job into two parallel CI jobs for faster
feedback:
- `lint`: format check, workspace-wide clippy, and multi-feature
combination checks (~1-2 min)
- `lint-feature-matrix`: per-feature clippy via cargo hack (~5-6 min)
Previously, all 150 clippy invocations ran sequentially in a single
job. The most common CI failure on PRs is the per-feature matrix
catching dead code or unused warnings that only surface when
individual features are tested in isolation. By splitting these into
parallel jobs, contributors get fast feedback on the common checks
while the thorough feature matrix runs alongside.
Also removes 6 redundant cargo_feature checks from lint.sh that are
already covered by `cargo hack --each-feature`:
- opentelemetry-otlp "default", "http-proto", "metrics"
- opentelemetry-jaeger-propagator "default"
- opentelemetry-proto "default", "full"
Updates CONTRIBUTING.md to document the cargo hack lint command so
contributors can catch per-feature issues locally before pushing.
0 commit comments