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

decentraland / social-service-ea / 28071497370
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: chore/migrate-to-core-components
DEFAULT BRANCH: main
Ran 24 Jun 2026 02:48AM UTC
Jobs 1
Files 193
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

24 Jun 2026 02:43AM UTC coverage: 89.689% (+0.09%) from 89.6%
28071497370

Pull #420

github

LautaroPetaccio
fix: harden multipart parsing against oversized and malformed bodies

- Cap the multipart body at 1MB: reject an oversized declared Content-Length up
  front and re-check the limit while draining, so a large (or chunked) upload
  cannot buffer unbounded into memory. The 500KB thumbnail check previously ran
  only after the entire body was already materialized.
- Return 400 (InvalidRequestError) instead of a 500 when the body is not valid
  multipart/form-data, by parsing inside a try/catch (the parse runs in the
  wrapper, before the handler's own error handling).
- Sanitize uploaded filenames down to their basename, so a client-supplied name
  can never be used to traverse the filesystem if a caller later derives a path.
- Validate that placeIds elements are strings (was only checked for being an array).
- Add a unit test for the multipart wrapper, and make the oversized-thumbnail
  integration fixture deterministic (~600KB) so it exercises the 500KB validator
  rule under the new body cap instead of generating a multi-MB image.
Pull Request #420: chore: migrate from @well-known-components to @dcl core-components

2240 of 2639 branches covered (84.88%)

Branch coverage included in aggregate %.

96 of 101 new or added lines in 55 files covered. (95.05%)

5510 of 6002 relevant lines covered (91.8%)

73.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
0.0
0.0% src/components.ts
1
88.24
src/utils/multipart.ts
Jobs
ID Job ID Ran Files Coverage
1 28071497370.1 24 Jun 2026 02:48AM UTC 386
90.61
GitHub Action Run
Source Files on build 28071497370
  • Tree
  • List 193
  • Changed 151
  • Source Changed 57
  • Coverage Changed 148
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28071497370
  • Pull Request #420
  • PR Base - main (#27786424734)
  • 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