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

decentraland / marketplace-server / 31034531692
62%
main: 62%

Build:
Build:
LAST BUILD BRANCH: fix/shop-newest-sort-listing-date
DEFAULT BRANCH: main
Ran 05 Aug 2026 06:26PM 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

05 Aug 2026 06:23PM UTC coverage: 61.667%. Remained the same
31034531692

Pull #385

github

RocioCM
fix: date an item by its first listing, not its most recent one

The item-unified grid hides resales (the Shop sends listingType=primary while
the secondary-sales flag is off), and listingType is applied per branch, before
the union — so the per-item window only ever sees primary rows. Taking MAX there
was justified by a resale case that cannot occur, and it left the two halves of
the sort inconsistent: store rows carry first_listed_at, which never bumps,
while trade rows moved every time a new listing was signed.

MIN makes the whole key mean one thing — when the item first became buyable —
matching both the store branch and the marketplace's CatalogSortBy.NEWEST, whose
item_first_listed_at is likewise a MIN over primary trades. Taking the latest is
RECENTLY_LISTED there, a separate sort, and would let an item that has been
minting for months jump to the front of the grid on a second listing. Renamed to
item_first_listed_at to match that vocabulary.

Cancelled and sold-out listings leave mv_trades' open set, so a plain re-list
still surfaces as new under either aggregate; the two differ only for an item
with several concurrently-open primary offers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #385: fix: sort the shop item feed by listing date, not item creation

1657 of 3104 branches covered (53.38%)

Branch coverage included in aggregate %.

3018 of 4477 relevant lines covered (67.41%)

26.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31034531692.1 05 Aug 2026 06:26PM UTC 324
63.66
GitHub Action Run
Source Files on build 31034531692
  • Tree
  • List 162
  • Changed 128
  • Source Changed 2
  • Coverage Changed 127
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31034531692
  • Pull Request #385
  • PR Base - main (#30992053071)
  • 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