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

sgerrand / ex_teya / 38748630557
100%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 02:08PM UTC
Jobs 1
Files 25
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

15 Oct 2026 02:07PM UTC coverage: 100.0%. Remained the same
38748630557

push

github

web-flow
refactor(client): build the path and pick credentials in one place (#67)

* refactor(client): build the path and pick credentials in one place

Client picked a set of credentials from the path, while SSE hard-coded
:poslink. SSE also built each stream's path twice: once in the caller to
check it, and again in the task.

Client.target/2 now builds the path and picks the set, in the calling
process, for requests and streams alike. Streams hand the built path to
their task, and Client.session_url/2 only joins it to the token's host.

The one difference: a stream given both a bad id and an unknown
:credentials name now reports the bad id first, as a request does.

* refactor(client): name Client.target/2 where stream paths are checked

- The comments in POSLink.Payment and POSLink.Receipt say the stream
  path is built and checked by Client.target/2, not by SSE.
- A test pins that a bad id raises before an unknown :credentials name,
  for streams as for requests.

* docs(client): say which requests start at Client.target/2

The target/2 comment and CLAUDE.md said every request starts there, but
request_with_token/4, used for ePOS registration, carries a token no set
holds and builds its path with path/1 alone. Both now say so.

11 of 11 new or added lines in 2 files covered. (100.0%)

504 of 504 relevant lines covered (100.0%)

55.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38748630557.1 15 Oct 2026 02:08PM UTC 25
100.0
GitHub Action Run
Source Files on build 38748630557
  • Tree
  • List 25
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38748630557
  • d240e72d on github
  • Prev Build on main (#38627605913)
  • Next Build on main (#40596811494)
  • 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