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

panates / sqb / 39406427540
95%
master: 96%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 20 Oct 2026 10:16AM UTC
Jobs 1
Files 202
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

20 Oct 2026 10:13AM UTC coverage: 94.485%. First build
39406427540

Pull #113

github

erayhanoglu
fix(migrator): scan scripts for non-transactional statements in linear time

The check for statements that cannot run inside a transaction block
scrubbed comments, literals and dollar-quoted bodies with regular
expressions that backtrack polynomially on adversarial input (CodeQL
js/polynomial-redos, three high alerts on the pull request). Replace them
with a one-pass scanner, `splitSqlStatements()`, and match each pattern
against one whole statement from its start.

Matching whole statements also drops two false positives: a column or
object named `vacuum`, or `create database` appearing mid-statement, no
longer fail a run; and `END` is no longer taken for transaction control,
since it also closes a SQLite trigger body or a PostgreSQL `BEGIN ATOMIC`
function body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #113: feat(migrator): transactional runs and dry runs

2700 of 3200 branches covered (84.38%)

429 of 483 new or added lines in 8 files covered. (88.82%)

20216 of 21396 relevant lines covered (94.48%)

237.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
89.01
packages/migrator/src/migration-adapter.ts
16
89.86
packages/migrator/src/adapters/sqljs-migration-adapter.ts
14
93.91
packages/migrator/src/db-migrator.ts
2
94.08
packages/migrator/src/adapters/sqlite-migration-adapter.ts
1
93.36
packages/connect/src/orm/model/entity-metadata.ts
Jobs
ID Job ID Ran Files Coverage
1 39406427540.1 20 Oct 2026 10:16AM UTC 202
94.48
GitHub Action Run
Source Files on build 39406427540
  • Tree
  • List 202
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39406427540
  • Pull Request #113
  • Next Build on dev (#39956312589)
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