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

decentraland / comms-gatekeeper / 34891158967
87%
main: 86%

Build:
Build:
LAST BUILD BRANCH: feat/cluster-livekit-subscriber
DEFAULT BRANCH: main
Ran 14 Sep 2026 08:11PM UTC
Jobs 1
Files 162
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

14 Sep 2026 08:07PM UTC coverage: 87.116% (+1.0%) from 86.086%
34891158967

Pull #283

github

LautaroPetaccio
feat: drain in-flight work on shutdown instead of dropping it

Components stop in reverse creation order, so the subscriber stops before
the NATS adapter closes its connection. Nothing used that: a mint that was
mid-flight when the signal arrived reached its publish after the connection
had gone, the adapter dropped the write, and that peer waited for its next
event to get a room.

Three parts make the order count. The NATS adapter's subscribe returns a
handle: it drops the registration first, so a reconnect cannot restore it,
then cancels the live subscription when the link is up. The cluster
subscriber cancels its three subscriptions on stop, so later events go to
another replica in the queue group. The keyed queue then drains, re-checking
each round so work queued during the drain is waited on too.

The drain is bounded by KEYED_QUEUE_DRAIN_TIMEOUT_MS (5 s default, 0 to skip
the wait): the lifecycle has no stop timeout of its own, and a task stuck on
a request without one would hold shutdown until the orchestrator killed the
process. Giving up names the keys still running. Work enqueued after stop is
still accepted, since refusing it would gain nothing.
Pull Request #283: feat: mint LiveKit island rooms from Pulse cluster feed (Archipelago ⇒ Pulse, iteration 1)

1265 of 1575 branches covered (80.32%)

Branch coverage included in aggregate %.

354 of 357 new or added lines in 17 files covered. (99.16%)

4 existing lines in 2 files now uncovered.

3475 of 3866 relevant lines covered (89.89%)

82.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.04
src/logic/cluster-subscriber/component.ts
1
85.85
1.31% src/adapters/livekit.ts

Coverage Regressions

Lines Coverage ∆ File
2
20.69
-2.3% src/adapters/scene-stream-access-manager.ts
2
90.22
-2.34% src/controllers/handlers/comms-scene-handler.ts
Jobs
ID Job ID Ran Files Coverage
1 34891158967.1 14 Sep 2026 08:11PM UTC 324
88.21
GitHub Action Run
Source Files on build 34891158967
  • Tree
  • List 162
  • Changed 97
  • Source Changed 6
  • Coverage Changed 97
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34891158967
  • Pull Request #283
  • PR Base - main (#34352827071)
  • 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