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

GrottoCenter / grottocenter-api / 32528685580
87%
develop: 91%

Build:
Build:
LAST BUILD BRANCH: feat/1887-audit
DEFAULT BRANCH: develop
Ran 21 Aug 2026 09:31PM UTC
Jobs 1
Files 501
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

21 Aug 2026 09:28PM UTC coverage: 87.241% (-0.1%) from 87.345%
32528685580

Pull #1779

github

ClemRz
fix(document): address code review findings

- P1: add DocumentService.clearParentIfTypeDisallows() helper and call
  it in update-with-new-entities.js so both update paths enforce the
  same type-vs-parent policy (stale parent cleared on type change)
- P2: migration now uses DROP CONSTRAINT IF EXISTS + ADD NOT VALID +
  VALIDATE CONSTRAINT for idempotency and safe application over
  pre-existing corrupt rows
- P2: guard checkParentCycle() call sites with Number.isFinite() to
  prevent a NaN false-negative when ids are non-numeric
- P3: TYPES_REQUIRING_PARENT is now an alias of TYPES_ALLOWING_PARENT
  with a comment explaining the equivalence
- P3: rename misleading test title to reflect actual assertion
Pull Request #1779: fix(document): prevent cyclic parent relationships

5184 of 6234 branches covered (83.16%)

Branch coverage included in aggregate %.

19 of 32 new or added lines in 4 files covered. (59.38%)

8 existing lines in 1 file now uncovered.

9544 of 10648 relevant lines covered (89.63%)

141.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
84.52
-3.1% api/services/DocumentService.js
3
71.25
-4.46% api/controllers/v1/document/update.js
2
89.55
-10.45% api/controllers/v1/document/update-with-new-entities.js

Coverage Regressions

Lines Coverage ∆ File
8
81.37
0.0% api/controllers/v1/document/multiple-validate.js
Jobs
ID Job ID Ran Files Coverage
1 32528685580.1 21 Aug 2026 09:31PM UTC 501
87.24
GitHub Action Run
Source Files on build 32528685580
  • Tree
  • List 501
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32528685580
  • Pull Request #1779
  • PR Base - develop (#32169663499)
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