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

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

Build:
Build:
LAST BUILD BRANCH: feat/1887-audit
DEFAULT BRANCH: develop
Ran 25 Aug 2026 07:52PM 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 07:49PM UTC coverage: 87.334% (-0.01%) from 87.345%
32891860245

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

5198 of 6242 branches covered (83.27%)

Branch coverage included in aggregate %.

41 of 47 new or added lines in 5 files covered. (87.23%)

9565 of 10662 relevant lines covered (89.71%)

141.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
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
1
82.26
0.89% api/controllers/v1/document/multiple-validate.js
Jobs
ID Job ID Ran Files Coverage
1 32891860245.1 25 Aug 2026 07:52PM UTC 501
87.33
GitHub Action Run
Source Files on build 32891860245
  • Tree
  • List 501
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32891860245
  • 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