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

decentraland / marketplace-server / 32491139107
63%
main: 62%

Build:
Build:
LAST BUILD BRANCH: feat/off-chain-marketplace-v3
DEFAULT BRANCH: main
Ran 21 Aug 2026 02:17PM UTC
Jobs 1
Files 162
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

21 Aug 2026 02:15PM UTC coverage: 62.607% (+0.2%) from 62.44%
32491139107

Pull #395

github

LautaroPetaccio
feat: migrate mv_trades to the current definition, and cover it

Migration 1739898312357 created the view and was never updated, while every
later change went into recreateTradesMaterializedView. A database that was
only ever migrated therefore computed trade status with the original rules
until an operator called the recreate endpoint.

The view definition and its indexes are now exported constants applied by
both paths, so they cannot drift again, and a migration brings an existing
database up to them. That migration is deliberately not frozen: replaying it
after a later change yields the newer definition, which is what you want for
a derived object holding no state of its own.

The view had no coverage at all. Its definition was never executed by any
test, so a syntax error, a column the indexer schema lacks or a missing role
only surfaced in production. There is now an integration test that calls the
endpoint for real and asserts the compiled definition Postgres stored -
either-identifier matching, the signer-only cancellation guard, and the
network translation on both signature index joins.

Getting it to run turned up two undeclared dependencies of the endpoint, both
added to the test fixture: it grants to a dappsdata role, and it reads squids
and indexers unqualified, which resolve in the marketplace schema because
that connection runs with search_path=marketplace.
Pull Request #395: feat: support off-chain marketplace v3 trades

1721 of 3155 branches covered (54.55%)

Branch coverage included in aggregate %.

31 of 35 new or added lines in 4 files covered. (88.57%)

25 existing lines in 2 files now uncovered.

3096 of 4539 relevant lines covered (68.21%)

27.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
64.79
5.81% src/logic/trades/materialized-view.ts
1
69.79
9.52% src/logic/trades/utils.ts

Coverage Regressions

Lines Coverage ∆ File
21
64.79
5.81% src/logic/trades/materialized-view.ts
4
72.22
1.91% src/ports/trades/queries.ts
Jobs
ID Job ID Ran Files Coverage
1 32491139107.1 21 Aug 2026 02:17PM UTC 324
64.58
GitHub Action Run
Source Files on build 32491139107
  • Tree
  • List 162
  • Changed 127
  • Source Changed 4
  • Coverage Changed 127
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32491139107
  • Pull Request #395
  • PR Base - main (#32347116777)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc