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

GrottoCenter / grottocenter-api / 26074084098
87%

Build:
DEFAULT BRANCH: develop
Ran 19 May 2026 03:21AM UTC
Jobs 1
Files 388
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 May 2026 03:19AM UTC coverage: 87.058% (+0.02%) from 87.038%
26074084098

push

github

ClemRz
fix(document): use native queries to clear junction rows on permanent delete

Waterline's collection setter (set({ [key]: [] })) via updateOne
fails silently on soft-deleted records because the default scope
excludes them. This leaves junction rows (e.g. j_document_entrance)
intact, causing FK constraint violations (23503) on the final
hard delete.

Replace with direct DELETE queries against junction tables, which
work regardless of the document's soft-delete state.

Closes #1596

3253 of 3879 branches covered (83.86%)

Branch coverage included in aggregate %.

4 of 6 new or added lines in 1 file covered. (66.67%)

6575 of 7410 relevant lines covered (88.73%)

56.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.72
-1.91% api/controllers/v1/document/delete.js
Jobs
ID Job ID Ran Files Coverage
1 26074084098.1 19 May 2026 03:21AM UTC 388
87.06
GitHub Action Run
Source Files on build 26074084098
  • Tree
  • List 388
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26074084098
  • 0a677d28 on github
  • Prev Build on develop (#26073876735)
  • Next Build on develop (#26314556947)
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