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

decentraland / comms-gatekeeper / 28373235419
85%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2026 12:51PM UTC
Jobs 1
Files 150
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

29 Jun 2026 12:49PM UTC coverage: 85.347%. Remained the same
28373235419

push

github

web-flow
fix: preserve stored IP/device on null upsert of player connection info (#275)

* fix: preserve stored IP/device on null upsert of player connection info

The player_connection_info upsert overwrote ip_address and device_id
unconditionally on conflict, so any token request arriving without an
IP/device (e.g. a path that omits the identifier, or an older client)
would erase a value a later device/IP ban relies on. Scene-comms token
requests are frequent, making this likely in practice.

COALESCE each column against the existing row so a null incoming value
keeps the stored one, while a non-null value still overwrites. Columns
are preserved independently; updated_at keeps advancing as last-seen.

Add integration coverage for preserve-on-null, preserve-on-empty, and
per-column independence (new IP, absent device).

* docs: correct upsertPlayerConnection JSDoc for preserve-on-null behavior

The interface doc said subsequent calls overwrite the IP and device id,
which is no longer accurate after switching to COALESCE. Describe that a
null incoming value preserves the stored one per-column, while updated_at
always advances.

1105 of 1419 branches covered (77.87%)

Branch coverage included in aggregate %.

3042 of 3440 relevant lines covered (88.43%)

75.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28373235419.1 29 Jun 2026 12:51PM UTC 300
86.59
GitHub Action Run
Source Files on build 28373235419
  • Tree
  • List 150
  • Changed 97
  • Source Changed 2
  • Coverage Changed 97
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28373235419
  • 0a7c4995 on github
  • Prev Build on main (#28303785699)
  • Delete
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