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

GrottoCenter / grottocenter-api / 42856018644
91%
develop: 91%

Build:
Build:
LAST BUILD BRANCH: feat/1887-audit
DEFAULT BRANCH: develop
Ran 10 Nov 2026 04:39PM UTC
Jobs 1
Files 588
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

10 Nov 2026 04:13PM UTC coverage: 90.855% (-0.08%) from 90.935%
42856018644

Pull #1999

github

tristan0x
fix(avatar): delete the avatar of a deleted or merged caver or organization (#1730)

- Add AvatarService.destroyOwner: lock the record, read its avatar path,
  destroy it and record the path for deletion in one transaction, then
  delete the image
- Use it for the caver delete and merge, and for the permanent delete and
  merge of an organization; a merge target keeps its own avatar, and a
  soft-deleted organization keeps its avatar
- An avatar update running at the same time either lands before the lock,
  and its image is the one deleted, or finds no record and deletes its own
  upload
- Test caver and organization deletion and merge, storage failure, a
  destroy that keeps the row and a destroy that fails
Pull Request #1999: feat(profile): add a caver custom message and avatars for cavers and organizations (#1730)

7655 of 8765 branches covered (87.34%)

Branch coverage included in aggregate %.

184 of 221 new or added lines in 14 files covered. (83.26%)

13864 of 14920 relevant lines covered (92.92%)

227936.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
17.39
api/services/AvatarCleanupQueueService.js
7
76.59
-1.1% api/services/FileService.js
4
76.0
api/controllers/v1/organization/update-avatar.js
4
95.18
api/services/AvatarService.js
4
7.14
-0.36% config/bootstrap.js
2
71.43
api/controllers/v1/account/delete-avatar.js
2
82.35
api/controllers/v1/account/update-avatar.js
2
86.67
api/controllers/v1/organization/delete-avatar.js
Jobs
ID Job ID Ran Files Coverage
1 42856018644.1 10 Nov 2026 04:39PM UTC 588
90.85
GitHub Action Run
Source Files on build 42856018644
  • Tree
  • List 588
  • Changed 15
  • Source Changed 12
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42856018644
  • Pull Request #1999
  • PR Base - develop (#42808842427)
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