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

decentraland / worlds-content-server / 29271316681
89%
main: 91%

Build:
Build:
LAST BUILD BRANCH: fix/undeployment-event-base-parcel
DEFAULT BRANCH: main
Ran 13 Jul 2026 05:42PM UTC
Jobs 1
Files 112
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

13 Jul 2026 05:39PM UTC coverage: 88.844% (-0.2%) from 89.074%
29271316681

Pull #504

github

LautaroPetaccio
fix: make deployment ordering and the per-deployer cap atomic

Addresses two races and a doc gap from review:

- Newest-wins was not atomic: the partial finalize checked for a newer scene and
  then deployed in a separate transaction, so a newer vanilla deploy landing in
  between was silently undeployed. Enforce ordering inside deployScene (the write
  shared by vanilla and partial finalize): a per-world advisory lock + a reject
  when a strictly-newer overlapping scene already holds the parcels, then replace
  only older ones. Drop the now-redundant, racy pre-deploy re-check in the partial
  component (the early new-upload check is kept as a fast-fail only).
- The per-deployer concurrent-pending cap was counted separately from the insert
  and the upsert's lock is per-world, so a deployer's concurrent uploads to
  different worlds could all pass the count and insert. Enforce the cap inside
  upsert's transaction under a per-deployer advisory lock (taken before the
  per-world lock, a deadlock-free order).
- Document the partial protocol in docs/openapi.yaml: the optional partial=true
  field and the 202 { missing } response, and correct the description.
Pull Request #504: feat: support partial (multi-request) scene uploads

1468 of 1764 branches covered (83.22%)

Branch coverage included in aggregate %.

163 of 181 new or added lines in 10 files covered. (90.06%)

4 existing lines in 3 files now uncovered.

3135 of 3417 relevant lines covered (91.75%)

92.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
71.64
src/adapters/pending-scenes-manager.ts
3
89.87
-5.25% src/controllers/handlers/deploy-entity-handler.ts
3
85.71
-1.79% src/controllers/handlers/garbage-collection.ts
2
88.04
src/logic/partial-deployments/component.ts

Coverage Regressions

Lines Coverage ∆ File
2
87.5
-10.17% src/adapters/name-deny-list-checker.ts
1
38.46
2.75% src/adapters/fetch.ts
1
28.57
1.3% src/adapters/notifications-service.ts
Jobs
ID Job ID Ran Files Coverage
1 29271316681.1 13 Jul 2026 05:42PM UTC 223
89.98
GitHub Action Run
Source Files on build 29271316681
  • Tree
  • List 112
  • Changed 75
  • Source Changed 13
  • Coverage Changed 74
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29271316681
  • Pull Request #504
  • PR Base - main (#28820665786)
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