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

ilpanich / axiam-c-sdk / 29647437250
87%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 02:08PM 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

18 Jul 2026 02:07PM UTC coverage: 78.676% (+0.8%) from 77.879%
29647437250

push

github

web-flow
Resolve tenant_id/org_id from access-token claim for the refresh body (#2)

* Resolve tenant_id/org_id from access-token claim for the refresh body (D-14)

The refresh body was built from construction config only, and returned NULL
(refusing to refresh) unless both tenant_id and org_id were supplied as UUIDs.
A client built with slugs therefore could not refresh at all. The login
response body carries tenant_id/org_slug but never org_id, so — mirroring the
Rust/Go/Python/etc. reference SDKs — recover both UUIDs from the access-token
JWT claim.

- Transport: capture Set-Cookie response headers into the header list (a login
  sets several cookies) alongside the existing X-CSRF-Token capture.
- Client: after a successful login/verify_mfa, decode tenant_id/org_id out of
  the axiam_access cookie (unverified base64url decode — used only to echo the
  values the server re-derives and re-validates on refresh) into
  resolved_tenant_id/resolved_org_id, freed on client destroy.
- axiam_build_refresh_body now takes explicit (tenant_id, org_id); perform_refresh
  passes the resolved UUIDs, falling back to UUID-form config.
- Add test_refresh_org: a slug-only-configured client sends the decoded UUIDs
  (not the slug) on refresh.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0156crGuZKUBcWe2w5bzD9y1

* ci: sync stale 1.0.0-alpha8 references to alpha9

The `prepare 1.0.0-alpha9` release bumped AXIAM_VERSION, conanfile.py, vcpkg.json
and the CMake package version to 1.0.0-alpha9 but left three references at
alpha8, which failed CI on every branch:

- tests/test_sensitive.c asserted the version string was alpha8 (fails
  build & test on gcc/clang and the gcov/lcov coverage job).
- .github/workflows/sdk-ci-c.yml ran `conan create --version=1.0.0-alpha8`,
  conflicting with conanfile.py's alpha9 (fails the "package recipes" job).
- CHANGELOG.md's SemVer note still said `-alpha8`.

Bring all three up to alpha9 to... (continued)

500 of 796 branches covered (62.81%)

Branch coverage included in aggregate %.

70 of 70 new or added lines in 3 files covered. (100.0%)

1 existing line in 1 file now uncovered.

950 of 1047 relevant lines covered (90.74%)

37.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
78.63
2.8% src/json_build.c
Jobs
ID Job ID Ran Files Coverage
1 29647437250.1 18 Jul 2026 02:08PM UTC 10
78.68
GitHub Action Run
Source Files on build 29647437250
  • Tree
  • List 10
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29647437250
  • bf770186 on github
  • Prev Build on main (#29638219448)
  • Next Build on main (#29656754244)
  • 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