• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ilpanich / axiam-rust-sdk / 30030932223
94%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 05:54PM UTC
Jobs 1
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jul 2026 05:47PM UTC coverage: 93.79% (+2.6%) from 91.161%
30030932223

push

github

web-flow
test(coverage): Rust SDK 89.3% → ≥92% + ratchet gate 89→90 (Phase C) (#26)

* test(rest/auth): cover deser_err, unresolved tenant/org, missing cookie, no-jti logout

Phase C (C1): src/rest/auth.rs was at 88.18% line coverage (35 missed).
Extends tests/rest_auth_more_test.rs with the branches the existing
wiremock-based lifecycle/more suites never reached:

- login()/verify_mfa()/refresh() malformed-200/202-body -> deser_err
  (previously never exercised for the auth endpoints at all, only for
  rest/authz.rs).
- refresh()'s "tenant_id could not be resolved" and "org_id could not be
  resolved" guards, via a token whose claims are crafted to leave one
  resolved and the other not.
- refresh()'s post-success "refresh response did not set axiam_access"
  guard, via a rotated response that actively expires the cookie
  (Max-Age=0) rather than omitting Set-Cookie (which would leave the
  jar's pre-existing login cookie untouched and not exercise this path).
- logout()'s "access token has no session id (jti)" guard.

rest/auth.rs line coverage: 88.18% -> 93.24%.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MbKy7FMMeAAXSoAzvMKKNR

* test(token/jwks): cover forced-refetch throttle, transport failure, sig/claim errors

Phase C (C2): src/token/jwks.rs was at 87.94% line coverage (24 missed).

tests/jwks_fetch_and_refetch_test.rs:
- force_refetch_if_allowed's throttle branch: a second unknown-kid verify()
  immediately following the first forced refetch must reuse the cached
  JWKS rather than firing a second network fetch (previously only the
  "no prior forced refetch" allow-arm was exercised).
- fetch_and_cache's transport-failure branch (connection refused),
  distinct from the already-covered non-2xx-status branch.
- JwksVerifier::new's own `base_url.join(JWKS_PATH)` error branch, via a
  cannot-be-a-base URL.

tests/jwks_verify_branches_test.rs:
- ErrorKind::InvalidSignature (a token signed with t... (continued)

11 of 0 new or added lines in 0 files covered. (NaN%)

2175 of 2319 relevant lines covered (93.79%)

10.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30030932223.1 23 Jul 2026 05:54PM UTC 17
93.79
GitHub Action Run
Source Files on build 30030932223
  • Tree
  • List 17
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30030932223
  • 9ab52540 on github
  • Prev Build on main (#29949610590)
  • Next Build on main (#30041542734)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc