Skip to content

fix(auth): keep jwt.rs under the 500-line limit - #9

Merged
vheins merged 1 commit into
masterfrom
fix/jwt-lines
Nov 18, 2026
Merged

vheins merged 1 commit into
masterfrom
fix/jwt-lines

Conversation

@vheins

@vheins vheins commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

explains the master Format, lint & cycles failure was crates/rustasea-auth/src/jwt.rs:513 exceeds the 500-line limit; the fix moves the test module to jwt/tests.rs following the repo's session/tests.rs/config/tests.rs convention; production code unchanged; 7 tests + helpers moved verbatim; static verification only (local cargo unavailable), CI is the verifier

- Move the JWT guard test module to jwt/tests.rs
  Splits jwt.rs (513 -> 298 lines) the same way session.rs and
  config.rs split their tests; restores lines:check in cargo xtask ci
  after the T03 empty-secret test pushed the file over the limit.
@vheins
vheins merged commit a24d077 into master Nov 18, 2026
6 checks passed
@vheins
vheins deleted the fix/jwt-lines branch November 18, 2026 23:59
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.

1 participant