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

topfreegames / pitaya / 27219158685
58%
master: 69%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 09 Jun 2026 04:06PM 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

09 Jun 2026 04:03PM UTC coverage: 58.456% (-0.3%) from 58.772%
27219158685

push

github

web-flow
fix(cluster): guard against nil Msg in NATS rpc server + bump nats.go to v1.52.0 (#503)

* fix(cluster): guard against nil Msg in NATS rpc server handleMessages

A payload delivered to a server's RPC subject that unmarshals into a
protos.Request without error but with a nil Msg caused handleMessages to
nil-panic at `req.Msg.Reply = msg.Reply`, crashing the whole process
(the goroutine has no recover). A well-formed pitaya RPC always sets Msg
(see buildRequest), so a nil Msg means the payload is malformed at the
source: an empty publish, a non-Request proto, or a schema-skewed sender
such as an older libpitaya client built against a different request.proto.

Drop such messages and log the surviving Request fields, the reply inbox,
and a capped hex prefix of the payload so the sender/route can be traced.

* chore(deps): bump nats.go to v1.52.0 (latest)

Updates github.com/nats-io/nats.go v1.47.0 => v1.52.0, with transitive
golang.org/x/* deps updated to match. The module already targets go 1.25,
so no go directive change is needed.

1 of 13 new or added lines in 1 file covered. (7.69%)

222 existing lines in 6 files now uncovered.

5105 of 8733 relevant lines covered (58.46%)

0.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
69.11
-0.99% pkg/cluster/nats_rpc_server.go

Coverage Regressions

Lines Coverage ∆ File
55
69.11
-0.99% pkg/cluster/nats_rpc_server.go
53
68.6
-1.68% pkg/service/handler.go
50
62.33
0.77% pkg/app.go
36
0.0
0.0% pkg/metrics/prometheus_reporter.go
26
54.02
-14.09% pkg/metrics/report.go
2
73.91
-4.35% pkg/modules/binary.go
Jobs
ID Job ID Ran Files Coverage
1 27219158685.1 09 Jun 2026 04:06PM UTC 91
58.46
GitHub Action Run
Source Files on build 27219158685
  • Tree
  • List 91
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • eaacc47f on github
  • Prev Build on main (#25187910487)
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