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

topfreegames / pitaya / 12893711962
59%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feat/add-isready-function-v2
DEFAULT BRANCH: master
Ran 21 Jan 2025 06:46PM UTC
Jobs 1
Files 91
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

21 Jan 2025 06:44PM UTC coverage: 59.611% (+0.3%) from 59.337%
12893711962

push

github

web-flow
V3 ports (#438)

* feat(agent): add timeout on write calls (#426)

* feat(agent): add timeout on write calls

When sending a message via agent, the write connection does not have
a default timeout, leading to blocking calls if the connections is
unhealthy or simply a bad route to it. Thus, adding a write timeout
to the writes so we fail but don't block. If deadline is exceeded then
we log an error but don't close a connection, since it might fail due
to bad route but not a broken pipe per-se. The new configuration can
be found under: `pitaya.buffer.agent.writetimeout`, with 10s by deafult.

The timeout is set using `SetWriteDeadline` function from go net pkg:
https://pkg.go.dev/net#Conn

* fix(agent): wrap panic error in broken pipe

* debug(agent): add error messages on send failures

* Nats connection options (#437)

* Replace deprecated DisconnectHandler with DisconnectErrHandler and provide output of the underlying disconnection error

* Add additional nats configuration options

* Bump nats client from 1.25.0 to 1.38.0

* Update docs with new nats options

* fix duplicate config option

* remove initial connection retry for now

---------

Co-authored-by: Pedro Soares <pedro.soares@wildlifestudios.com>

81 of 89 new or added lines in 7 files covered. (91.01%)

5002 of 8391 relevant lines covered (59.61%)

0.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
82.02
-0.57% pkg/agent/agent.go
Jobs
ID Job ID Ran Files Coverage
1 12893711962.1 21 Jan 2025 06:46PM UTC 91
59.61
GitHub Action Run
Source Files on build 12893711962
  • Tree
  • List 91
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 33421b13 on github
  • Prev Build on main (#12889903508)
  • Next Build on main (#13163385413)
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

© 2025 Coveralls, Inc