cargo clippy -p compliance-agent --tests -- -D warnings fails on expect() calls in compliance-agent/tests/common/mod.rs:65,83,86. CI lints without --tests, so this goes unnoticed.
Done when
The test helpers comply, or allow the lint explicitly, as the other test files do (#![allow(clippy::expect_used, clippy::unwrap_used)]), and clippy with --tests is clean.
## Problem
`cargo clippy -p compliance-agent --tests -- -D warnings` fails on `expect()` calls in `compliance-agent/tests/common/mod.rs:65,83,86`. CI lints without `--tests`, so this goes unnoticed.
## Done when
The test helpers comply, or allow the lint explicitly, as the other test files do (`#![allow(clippy::expect_used, clippy::unwrap_used)]`), and clippy with `--tests` is clean.
sharang
added this to the Production MVP milestone 2026-09-25 07:59:09 +00:00
Also found (2026-09-25): cargo test -p compliance-core --test models doesn't compile on main. compliance-core/tests/models.rs:381 still uses TrackedRepository, which no longer exists. CI runs only --lib tests, so the integration tests in compliance-core/tests/ never run.
Done when: the file compiles, and CI runs compliance-core's integration tests.
Also found (2026-09-25): `cargo test -p compliance-core --test models` doesn't compile on main. `compliance-core/tests/models.rs:381` still uses `TrackedRepository`, which no longer exists. CI runs only `--lib` tests, so the integration tests in `compliance-core/tests/` never run.
Done when: the file compiles, and CI runs `compliance-core`'s integration tests.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
cargo clippy -p compliance-agent --tests -- -D warningsfails onexpect()calls incompliance-agent/tests/common/mod.rs:65,83,86. CI lints without--tests, so this goes unnoticed.Done when
The test helpers comply, or allow the lint explicitly, as the other test files do (
#![allow(clippy::expect_used, clippy::unwrap_used)]), and clippy with--testsis clean.Also found (2026-09-25):
cargo test -p compliance-core --test modelsdoesn't compile on main.compliance-core/tests/models.rs:381still usesTrackedRepository, which no longer exists. CI runs only--libtests, so the integration tests incompliance-core/tests/never run.Done when: the file compiles, and CI runs
compliance-core's integration tests.