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

decentraland / lamb2 / 28469095931
62%

Build:
DEFAULT BRANCH: main
Ran 30 Jun 2026 07:05PM UTC
Jobs 1
Files 81
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

30 Jun 2026 07:04PM UTC coverage: 62.172% (-20.9%) from 83.077%
28469095931

push

github

web-flow
chore: migrate @well-known-components/test-helpers and tracer-component to @dcl (#469)

* chore: migrate @well-known-components/test-helpers and tracer-component to @dcl

Swap the two remaining @well-known-components packages for their @dcl
core-components equivalents:

- @well-known-components/test-helpers -> @dcl/test-helpers@^0.2.0. The
  @dcl package declares jest/ts-jest/@types/jest and sinon/@types/sinon
  as peers (the wkc package bundled them), so add them as devDeps; it
  returns jest mocks from stubComponents (port .resolves() ->
  .mockResolvedValue()) and fixes the createLocalFetchCompoment typo
  export to createLocalFetchComponent.
- @well-known-components/tracer-component -> @dcl/tracer-component@^1.0.0.

Build, lint and the full jest suite (561 tests) pass locally.

* test: retry local fetch on transient connection errors

The native fetch (undici) that backs @dcl/test-helpers' createLocalFetchComponent
pools keep-alive connections, unlike the old node-fetch-based helper. Because every
suite reuses the same fixed HTTP_SERVER_PORT and tears its server down in afterAll,
the first request of a suite could land on a stale socket from the previous suite's
closed server and fail intermittently with "fetch failed" / ECONNRESET. Retry such
transient connection errors once so the integration suites are deterministic.

* test: retry transient local-fetch errors with backoff, not just once

The single immediate retry was not enough under CI timing: with all suites
sharing a fixed HTTP_SERVER_PORT, undici's pooled keep-alive socket to a
previous suite's torn-down server is reused and fails with 'other side
closed', and the immediate retry can race the socket eviction. Retry a few
times with a short backoff so undici drops the dead socket and reconnects.
Verified with 3 consecutive full runs (561 tests, 0 connection failures) in
a CI-equivalent environment (no local .env pinning the port).

* test: scope the default `yarn test` to unit tests only; ... (continued)

456 of 962 branches covered (47.4%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

429 existing lines in 29 files now uncovered.

1605 of 2353 relevant lines covered (68.21%)

10.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
63
20.0
-65.33% src/adapters/profiles.ts
61
9.09
-73.48% src/controllers/handlers/explorer-handler.ts
41
45.54
-51.98% src/logic/sorting.ts
36
13.11
-80.33% src/controllers/handlers/explorer-emotes-handler.ts
24
10.96
-45.21% src/controllers/handlers/third-party-wearables-handler.ts
23
45.36
-31.96% src/adapters/entities-fetcher.ts
21
14.0
-70.0% src/controllers/handlers/utils.ts
17
57.14
-42.86% src/adapters/elements-fetcher.ts
17
61.54
-29.67% src/logic/fetch-elements/fetch-items.ts
14
13.64
-77.27% src/controllers/handlers/errorHandler.ts
14
7.69
-92.31% src/controllers/handlers/items-commons.ts
14
16.0
-84.0% src/controllers/handlers/wearables-handler.ts
13
16.0
-76.0% src/controllers/handlers/emotes-handler.ts
10
21.43
-78.57% src/controllers/handlers/parcel-operators-handler.ts
7
7.69
-92.31% src/controllers/handlers/name-owner-handler.ts
7
25.0
-66.67% src/controllers/handlers/names-handler.ts
7
22.22
-77.78% src/controllers/handlers/user-lands-permissions-handler.ts
7
44.04
-11.93% src/logic/fetch-elements/graph-pagination.ts
5
28.57
-71.43% src/controllers/handlers/lands-handler.ts
5
60.0
-30.0% src/logic/linked-wearables-mapper.ts
5
44.44
-25.0% src/logic/pagination.ts
4
87.18
-12.82% src/controllers/handlers/profiles-handler.ts
3
76.92
-23.08% src/adapters/lowercase-keys-cache.ts
3
37.5
-37.5% src/controllers/handlers/outfits-handler.ts
3
75.0
-11.54% src/ports/ownership-checker/contract-helpers.ts
2
84.68
-1.8% src/components.ts
1
78.57
-14.29% src/logic/fetch-elements/fetch-base-items.ts
1
91.84
-4.08% src/logic/utils.ts
1
84.62
-3.85% src/ports/ownership-checker/tpw-ownership-checker.ts
Jobs
ID Job ID Ran Files Coverage
1 28469095931.1 30 Jun 2026 07:05PM UTC 81
62.17
GitHub Action Run
Source Files on build 28469095931
  • Tree
  • List 81
  • Changed 33
  • Source Changed 1
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28469095931
  • 81bef3f5 on github
  • Prev Build on main (#28123678469)
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