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

GrottoCenter / grottocenter-api / 25563565134
87%

Build:
DEFAULT BRANCH: develop
Ran 08 May 2026 03:18PM UTC
Jobs 1
Files 383
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

08 May 2026 03:16PM UTC coverage: 86.873% (+0.2%) from 86.702%
25563565134

push

github

ClemRz
fix(entrance): resolve permanent delete FK violations and preserve audit history

- Parallelize sub-entity deletes for ~100x performance improvement
- Make notification fire-and-forget to unblock response
- Fix FK violations: clean up exit references, junction tables, and
  history table FKs using raw SQL (Waterline silently fails on
  composite-PK models)
- Preserve h_ rows for auditability instead of deleting them
- Add SQL migration to drop h_* parent FK constraints that block
  permanent deletes (aligns dev/test with production behavior)
- Add structured audit logging with entity IDs
- Add comprehensive auditability test covering all entity types,
  junction tables, and cave cascade
- Fix cave delete: use raw SQL for junction cleanup, fire-and-forget
  notifications, parallelize operations
- Extract subEntityDelete to module scope, fix entranceId type coercion

3038 of 3628 branches covered (83.74%)

Branch coverage included in aggregate %.

34 of 37 new or added lines in 4 files covered. (91.89%)

2 existing lines in 1 file now uncovered.

6260 of 7075 relevant lines covered (88.48%)

53.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.07
20.9% api/controllers/v1/entrance/delete.js
1
90.57
-1.89% api/controllers/v1/cave/delete.js

Coverage Regressions

Lines Coverage ∆ File
2
93.81
-3.09% api/services/RecentChangeService.js
Jobs
ID Job ID Ran Files Coverage
1 25563565134.1 08 May 2026 03:18PM UTC 383
86.87
GitHub Action Run
Source Files on build 25563565134
  • Tree
  • List 383
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25563565134
  • 526727da on github
  • Prev Build on develop (#25453360432)
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