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

moconnell / yolo / 22279386367
81%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2026 02:55PM UTC
Jobs 1
Files 58
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

22 Feb 2026 02:53PM UTC coverage: 88.228% (+2.1%) from 86.161%
22279386367

push

github

web-flow
Fix: Prevent cancellation of already-filled orders when WebSocket fill event races with tracker registration (#107)

* Initial plan

* fix: buffer early WebSocket fill events to prevent cancellation of filled orders

When a limit order fills immediately on placement, the WebSocket fill event
can arrive before AddOrderTracker registers the order in orderTrackers. This
caused the fill event to be discarded, leaving the order in 'Open' state until
the timeout monitor attempted to cancel it (failing with an error since it was
already filled).

Fix:
- Add pendingOrderUpdates dict to buffer WebSocket events for unregistered orders
- Extract HandleSingleOrderUpdate local function from the per-update loop body
- In HandleOrderStatusUpdates, buffer events for unknown orders instead of discarding
- In AddOrderTracker, replay any buffered events after registering the tracker
- After all orders placed, immediately complete the channel if orderTrackers is empty

Co-authored-by: moconnell <640958+moconnell@users.noreply.github.com>

* Changes before error encountered

Co-authored-by: moconnell <640958+moconnell@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: moconnell <640958+moconnell@users.noreply.github.com>

286 of 297 branches covered (96.3%)

Branch coverage included in aggregate %.

50 of 59 new or added lines in 1 file covered. (84.75%)

1970 of 2260 relevant lines covered (87.17%)

36.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
85.1
6.56% src/YoloBroker.Hyperliquid/HyperliquidBroker.cs
Jobs
ID Job ID Ran Files Coverage
1 22279386367.1 22 Feb 2026 02:55PM UTC 58
88.23
GitHub Action Run
Source Files on build 22279386367
  • Tree
  • List 58
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22279386367
  • c27fae13 on github
  • Prev Build on master (#22024596238)
  • Next Build on master (#22286770629)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc