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

decentraland / notifications-workers / 32861356087
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: 3.12.2
DEFAULT BRANCH: main
Ran 25 Aug 2026 02:45PM UTC
Jobs 1
Files 52
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

25 Aug 2026 02:44PM UTC coverage: 80.402% (+0.06%) from 80.346%
32861356087

Pull #185

github

LautaroPetaccio
refactor(auth): scope the legacy payload fallback to the read route

The declared key list was on the single shared middleware instance, so
it relaxed every signed route in the service. Only one of them needs it.

Checking what each caller actually sends: decentraland-dapps adds
`notificationIds` to the metadata on `PUT /notifications/read` and sends
an all-lowercase `{ signer, intent }` everywhere else, which folds to
itself; godot-explorer signs the request *body* as its metadata, which
is `{"notificationIds":[…]}` on that route and `{}` on its only other
call. unity-explorer and `sites` sign `{}` throughout.

So the read route is the only one where the two payload formats disagree,
and the only one that would have 401ed.

A second instance carries the fallback and serves that route alone.
Everything else stays on the current format only, which is what stops the
relaxation from becoming service-wide by default and makes moving a route
onto it a deliberate edit.

A test pins the boundary rather than leaving it to the wiring: the same
folded payload that the read route now accepts is still a 401 on
`GET /notifications`.
Pull Request #185: fix(auth): accept the pre-6.0.0 signed payload

239 of 377 branches covered (63.4%)

Branch coverage included in aggregate %.

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

881 of 1016 relevant lines covered (86.71%)

20.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32861356087.1 25 Aug 2026 02:45PM UTC 104
82.96
GitHub Action Run
Source Files on build 32861356087
  • Tree
  • List 52
  • Changed 30
  • Source Changed 1
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32861356087
  • Pull Request #185
  • PR Base - main (#32369365562)
  • 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