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

decentraland / social-service-ea / 23319900821
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 1.11.0
DEFAULT BRANCH: main
Ran 19 Mar 2026 10:32PM UTC
Jobs 1
Files 192
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

19 Mar 2026 10:27PM UTC coverage: 90.194% (+0.01%) from 90.181%
23319900821

Pull #405

github

root
fix: walk full referral chain to detect banned ancestors

The previous ban chain detection only checked 1 level up (the immediate
parent referrer). If an intermediate referrer was not in the DB, or
the banned wallet was 2+ hops away, the check would pass.

Changes:
- Walk up the referral chain up to MAX_CHAIN_DEPTH (5) levels
- Check each ancestor against the deny list
- Detect and break out of circular referral chains
- Gracefully handle missing intermediate records (chain ends at gap)

This prevents the bypass scenario where:
  Banned → A (not in DB) → B → C would pass the old 1-level check

Test cases added for:
- Multi-hop banned chain detection (3 hops)
- Missing intermediate record (chain breaks, referral allowed)
- Circular chain detection (loop broken, referral allowed)

Closes #401
Pull Request #405: fix: walk full referral chain to detect banned ancestors

2213 of 2592 branches covered (85.38%)

Branch coverage included in aggregate %.

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

5440 of 5893 relevant lines covered (92.31%)

71.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23319900821.1 19 Mar 2026 10:32PM UTC 384
91.12
GitHub Action Run
Source Files on build 23319900821
  • Tree
  • List 192
  • Changed 148
  • Source Changed 1
  • Coverage Changed 148
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23319900821
  • Pull Request #405
  • PR Base - main (#23197635987)
  • Delete
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