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

ilpanich / axiam-c-sdk / 30024340260
92%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 04:16PM UTC
Jobs 1
Files 10
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 04:15PM UTC coverage: 86.706% (+7.9%) from 78.839%
30024340260

push

github

web-flow
test(coverage): C SDK 90% → 98.8% + add gcovr regression gate (Phase D) (#6)

* test(c-sdk): D1 — src/client.c mock-transport failure sweep

Adds tests/test_client_failing_transport.c with a shared failing_transport
(rc=1, resp->status=0) that drives the network-failure branches of
raw_get, perform_refresh (via axiam_refresh), verify_mfa and logout in one
place, plus: NULL-arg guards on raw_get/login/refresh/logout/check_access/
batch_check, the slug-only axiam_refresh AUTH error (no UUIDs resolved,
never logged in), single-flight follower error propagation under N
concurrent refreshes, the post-refresh authz retry transport-failure
branch, json_get_long's non-number fallback to 0, and raw_get's non-2xx
status-mapping branch.

Raises src/client.c from 88% to 98% line coverage (950 -> 385/393 lines);
remaining gaps are OOM/malloc-interposition paths, intentionally skipped
per the coverage plan.

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

* test(c-sdk): D2 — error.c/jwks.c/guard.c small-S sweep

error.c: an unmapped 3xx (302) status falling through the switch and the
500-range check to the catch-all; axiam_error_set() with a NULL message;
axiam_error_kind_str()'s default arm for an out-of-range kind.

jwks.c: a JWKS entry with a missing/non-string "x" (skip-continue), an
entry whose alg is present but not EdDSA (skip-continue), two valid
Ed25519 keys in one document (exercises the non-empty-list tail-append),
a non-JSON JWKS document (AXIAM_ERR_NETWORK "invalid JWKS document"),
axiam_jwt_verify() NULL-client/NULL-token guards, and a forced cache
refetch that frees the previously-cached key list (via the internal.h
test hook already used by other tests to poke at struct axiam_client).

guard.c: CONTRACT §11.2 fail-closed mappings — a JWKS network failure
while verifying a present token maps to AXIAM_GUARD_UNAVAILABLE (not a
silent allow or a plain 401); an invalid-but-pr... (continued)

564 of 796 branches covered (70.85%)

Branch coverage included in aggregate %.

1034 of 1047 relevant lines covered (98.76%)

53.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30024340260.1 23 Jul 2026 04:16PM UTC 10
86.71
GitHub Action Run
Source Files on build 30024340260
  • Tree
  • List 10
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30024340260
  • 854d0f7e on github
  • Prev Build on main (#29943785116)
  • Next Build on main (#30049005468)
  • 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