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

decentraland / lamb2 / 25123307219
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/4.12.0
DEFAULT BRANCH: main
Ran 29 Apr 2026 05:17PM UTC
Jobs 1
Files 82
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 Apr 2026 05:16PM UTC coverage: 82.952% (+1.8%) from 81.202%
25123307219

Pull #462

github

LautaroPetaccio
refactor: use @dcl/schemas AuthChain validator in validate-signature

drops the hand-rolled isAuthLink/array.isarray checks in favor of the
ajv validator already shipped in @dcl/schemas (a direct dep, also
re-exported by @dcl/crypto so the runtime types are identical).

what stays:
- the json-object check (the body wrapping is not part of the schema).
- the length cap of 10 (cost-amplification policy, not schema-level).
- the timestamp/signedmessage type checks (these live alongside, not
  inside, the authchain).

what changes:
- the schema validator covers more than the manual guard did:
  authlinktype enum membership, the at-least-1-item rule (which
  duplicates one half of our length cap), and field-by-field type
  checks for type/payload/signature.
- it also corrects an over-strict guard: signature is optional in the
  schema (signer links legitimately have no signature). the test that
  previously rejected a missing signature is replaced by one that
  rejects a non-string signature instead, which is what the schema
  itself catches.
- the empty-authchain test now matches the schema's "must not have
  fewer than 1 items" message rather than the length-cap fallback,
  since the validator runs first.
Pull Request #462: feat: implement legacy lambdas endpoints in lamb2

727 of 972 branches covered (74.79%)

Branch coverage included in aggregate %.

209 of 212 new or added lines in 10 files covered. (98.58%)

5 existing lines in 1 file now uncovered.

2032 of 2354 relevant lines covered (86.32%)

40.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
88.71
src/controllers/handlers/wearables-catalog-handler.ts

Coverage Regressions

Lines Coverage ∆ File
5
85.58
0.0% src/components.ts
Jobs
ID Job ID Ran Files Coverage
1 25123307219.1 29 Apr 2026 05:17PM UTC 82
82.95
GitHub Action Run
Source Files on build 25123307219
  • Tree
  • List 82
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #462
  • PR Base - main (#25073724316)
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