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

GrottoCenter / grottocenter-api / 24866109923
86%
develop: 87%

Build:
Build:
LAST BUILD BRANCH: feat/admin-security-hardening
DEFAULT BRANCH: develop
Ran 24 Apr 2026 12:39AM UTC
Jobs 1
Files 374
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

24 Apr 2026 12:37AM UTC coverage: 86.342% (+0.02%) from 86.325%
24866109923

Pull #1537

github

ClemRz
test(perf): parallelize test suite and fix stability (5x speedup)

Replace HTTP-hitting property tests with conventional integration tests
to eliminate socket hang ups and connection corruption. Add a parallel
test runner that shards by domain folder, each shard against its own
database cloned from a pre-seeded PostgreSQL template. The template
rebuilds automatically when fixtures, models, or SQL migrations change.

Stability:
- Replace 33 HTTP property tests with ~70 conventional it() tests
- Set Connection: close in parallel mode to prevent TCP reuse corruption
- Fix Cave update after hook (broken Waterline association restore)
- Fix rate limiter tests to reuse connections via supertest.agent()
- Fix blacklist property test clock skew tolerance
- Set global Mocha timeout to 10s (was 2s default)

Performance:
- Parallel test runner with folder-based sharding (auto-detected CPUs)
- Template database snapshot with mtime-based staleness detection
- Move auth brute-force delay and argon2 cost to Sails config
- config/env/test.js overrides: delay=0, minimal argon2 cost
- Batch 4 sequential bootstrap SQL queries into one round-trip
- Extract shared fixture order to test/fixtureOrder.js

New commands:
- npm run test              — parallel with auto-snapshot (default)
- npm run test:sequential   — single-process fallback
- npm run test:snapshot     — manually rebuild the template
Pull Request #1537: test(perf): parallelize test suite and fix stability (5x speedup)

2876 of 3472 branches covered (82.83%)

Branch coverage included in aggregate %.

4 of 5 new or added lines in 2 files covered. (80.0%)

5968 of 6771 relevant lines covered (88.14%)

50.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.96
-3.52% api/services/AuthService.js
Jobs
ID Job ID Ran Files Coverage
1 24866109923.1 24 Apr 2026 12:39AM UTC 374
86.34
GitHub Action Run
Source Files on build 24866109923
  • Tree
  • List 374
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24866109923
  • Pull Request #1537
  • PR Base - develop (#24857667445)
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