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

sonirico / go-hyperliquid / 33382103020
18%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2026 10:24AM UTC
Jobs 1
Files 41
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

31 Aug 2026 10:22AM UTC coverage: 17.672% (+0.04%) from 17.629%
33382103020

push

github

web-flow
fix: don't silently use 0 when a wire price/size fails to parse (#172)

parseFloat returns 0.0 on any parse error. Two financial call sites relied
on it for values coming off the API:

- SlippagePrice (market order price): a malformed mid price became a market
  order priced at 0, with no error.
- MarketClose (position size): a malformed pos.Szi became size 0 (a no-op /
  wrong close).

Add parseFloatStrict (error-returning) and use it at both sites, which both
already return an error. parseFloat is unchanged for its display callers, so
this is non-breaking. Adds a unit test contrasting the two parsers.

6 of 14 new or added lines in 3 files covered. (42.86%)

4111 of 23263 relevant lines covered (17.67%)

330.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
23.19
-0.25% exchange_orders.go
4
6.02
-0.01% exchange_others.go
Jobs
ID Job ID Ran Files Coverage
1 33382103020.1 31 Aug 2026 10:24AM UTC 41
17.67
GitHub Action Run
Source Files on build 33382103020
  • Tree
  • List 41
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33382103020
  • cebf667d on github
  • Prev Build on master (#32712774740)
  • 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