fix(tests): gate TEST_PASSWORD behind standalone to green main CI #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/saas-clippy-test-password-RUS-3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
mainis currently red: run #81 (check.ymlon push tomain) fails the saas clippy step.TEST_PASSWORDis consumed only by the standalone auth tests insrc/handlers/auth.rs; the saas build has no password-based tests, so under--no-default-features --features saasit is dead code. Gate it with#[cfg(feature = "standalone")], matching the existingTEST_JWT_SECRETconst right above it.Context
Third and final latent issue surfaced by the CI that #36 introduced: fmt (fixed #37), the
shortenclosure unused var (fixed #38), and now this saas-only dead-code const. #38 was merged before this fix could be appended, and #36 merged alongside, somainlanded withcheck.ymlpresent but this lint unresolved.Verification
Ran both passes locally in the dev container, each exit 0:
cargo clippy --all-targets --features standalone -- -D warningscargo clippy --all-targets --no-default-features --features saas -- -D warningsThis PR's own CI (check.yml now lives in
main) is the authoritative confirmation.#RUS-3