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

migration-script-runner / msr-core / dccc1b49-284a-4ed8-8e08-bc6d96b7353b
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/auto-envparse-2.1.1
DEFAULT BRANCH: master
Ran 19 Dec 2025 11:10PM UTC
Jobs 1
Files 104
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

19 Dec 2025 11:09PM UTC coverage: 100.0%. Remained the same
dccc1b49-284a-4ed8-8e08-bc6d96b7353b

Pull #148

circleci

vlavrynovych
#147: Add createInstance factory for async adapter initialization

Added standardized factory pattern for database adapters requiring async initialization.

Changes:
- MigrationScriptExecutor.ts: Added protected static createInstance() helper (lines 205-296)
  - Supports all 5 generics: DB, THandler, TExecutor, TConfig, TOptions
  - Reduces boilerplate from ~10 lines to 3 lines per adapter
- Added 6 comprehensive tests covering all generic parameters and error cases

Documentation (async-first approach - 9/10 adapters are async):
- getting-started.md: Restructured to show async pattern FIRST
- cli-adapter-development.md: Updated Quick Start and Complete Example with async
- api/core-classes.md: Added createInstance() method documentation
- design-patterns.md: Added async adapter factory pattern section

Benefits:
- Standardized pattern across ecosystem
- Type-safe with zero boilerplate
- Handles async connections, auth, pooling naturally
Pull Request #148: Release v0.8.2

1447 of 1447 branches covered (100.0%)

Branch coverage included in aggregate %.

27 of 27 new or added lines in 10 files covered. (100.0%)

2707 of 2707 relevant lines covered (100.0%)

244.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 dccc1b49-284a-4ed8-8e08-bc6d96b7353b.1 19 Dec 2025 11:10PM UTC 104
100.0
Source Files on build dccc1b49-284a-4ed8-8e08-bc6d96b7353b
  • Tree
  • List 104
  • Changed 10
  • Source Changed 10
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #DCCC1B49...
  • Pull Request #148
  • PR Base - master (#E2B40DB3...)
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

© 2025 Coveralls, Inc