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

decentraland / worlds-content-server / 29527244710
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: fix/undeployment-event-base-parcel
DEFAULT BRANCH: main
Ran 16 Jul 2026 07:18PM UTC
Jobs 1
Files 113
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

16 Jul 2026 07:14PM UTC coverage: 90.906% (+0.02%) from 90.884%
29527244710

Pull #509

github

LautaroPetaccio
feat: add ?singleWorldScene deploy option that preserves the world place

A default (non-multi-scene) world deploy today deletes every scene first via the
world-wide undeploy, which publishes a WorldUndeploymentEvent. Downstream (the
places service) reacts by disabling ALL of the world's places, so the redeploy
mints a brand-new placeId — and anything bound to the old placeId (notably the
world's env variables in world-storage-service) is orphaned.

Add a `?singleWorldScene=true` query flag to POST /entities. When set on a world
deploy, after the new scene lands the handler removes every OTHER scene in the
world via the per-scene undeploy path (undeployOtherWorldScenes ->
undeployWorldScenes), which publishes a WorldScenesUndeploymentEvent — never a
WorldUndeploymentEvent. The world is never emptied, so the deployed scene's place
stays enabled and keeps its placeId; env vars bound to it survive the redeploy.

Because it removes scenes beyond the deployed parcels, the flag requires world
ownership or world-wide deployment permission (checked up front, fail fast),
mirroring the world-wide undeploy endpoint. The cleanup itself is best-effort:
the deploy is already committed and the place is preserved regardless, so a
cleanup failure only leaves stale scenes, never a 5xx.

Adds unit coverage for undeployOtherWorldScenes and the handler's authorize/cleanup branches.
Pull Request #509: feat: add ?singleWorldScene deploy option that preserves the world place

1463 of 1713 branches covered (85.41%)

Branch coverage included in aggregate %.

20 of 21 new or added lines in 2 files covered. (95.24%)

3145 of 3356 relevant lines covered (93.71%)

67.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.03
-1.09% src/controllers/handlers/deploy-entity-handler.ts
Jobs
ID Job ID Ran Files Coverage
1 29527244710.1 16 Jul 2026 07:18PM UTC 225
91.99
GitHub Action Run
Source Files on build 29527244710
  • Tree
  • List 113
  • Changed 76
  • Source Changed 2
  • Coverage Changed 76
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29527244710
  • Pull Request #509
  • PR Base - main (#28950868727)
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