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

GrottoCenter / grottocenter-api / 32897665274
91%

Build:
DEFAULT BRANCH: develop
Ran 25 Aug 2026 08:53PM 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

25 Aug 2026 08:50PM UTC coverage: 87.328% (-0.02%) from 87.345%
32897665274

push

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

5197 of 6242 branches covered (83.26%)

Branch coverage included in aggregate %.

30 of 35 new or added lines in 5 files covered. (85.71%)

17 existing lines in 2 files now uncovered.

9565 of 10662 relevant lines covered (89.71%)

141.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.55
-10.45% api/controllers/v1/document/update-with-new-entities.js
2
71.25
-4.46% api/controllers/v1/document/update.js
1
82.26
0.89% api/controllers/v1/document/multiple-validate.js

Coverage Regressions

Lines Coverage ∆ File
9
88.69
1.07% api/services/DocumentService.js
8
71.25
-4.46% api/controllers/v1/document/update.js
Jobs
ID Job ID Ran Files Coverage
1 32897665274.1 25 Aug 2026 08:53PM UTC 501
87.33
GitHub Action Run
Source Files on build 32897665274
  • Tree
  • List 501
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32897665274
  • 42617c82 on github
  • Prev Build on develop (#32169663499)
  • Next Build on develop (#32897712935)
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