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

orangehill / driftgate / 42046165948
77%
main: 84%

Build:
Build:
LAST BUILD BRANCH: development
DEFAULT BRANCH: main
Ran 05 Nov 2026 02:46PM UTC
Jobs 1
Files 181
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

05 Nov 2026 02:31PM UTC coverage: 77.001% (-6.6%) from 83.6%
42046165948

push

github

slavenkobozic-ohd
SQLite and SQL Server state support (#15)

* CI: report the binary size against the latest release instead of capping it

* CI: comments name the size report

* config: accept the sqlite and sqlserver drivers

sqlserver (also mssql) is a database server like MySQL: a DSN, working
and pristine databases, pristine differing from working also in letter
case. sqlite names the application's database file, relative to the
project root and inside it; the DSN is optional, the pristine copy, when
set, is another file than working and its sidecars, and has no default
here (the capture keeps it in the store). ReadDSN compares SQL Server
names in any letter case and SQLite files by identity.

* state, dbdsn: SQLite and SQL Server placeholders

dbdsn dispatches Hosts and Server to SQL Server's own parser, a stub
for now, and refuses both for SQLite, which is a file and has no
server. state gets SQLite and SQL Server components that implement the
Component contract and report that they are not implemented yet; the
drivers replace them.

* capture: open SQLite and SQL Server components

serverOf names a component's server: dbdsn.Server, or for SQLite file:
and the real path of the working file, which must exist inside the
project. openServers and Seeded use it; an SQLite component skips the
host checks and gets absolute paths of its working file and pristine
copy, by default a file of the store next to its record. The pristine
copy is never the working file, whatever links lead there.
appconf.LocalPath exports the project-file resolution this needs.

* appconf: hooks for SQLite and SQL Server settings

The drivers sqlite and sqlserver get constants, a Database.Path for
SQLite's file, and a default port for SQL Server. driverName and
csprojDriver give them only once appconf reads their settings
(sqliteReady, sqlServerReady); until then a setting that names either is
noted as before. fromValue, fromURL, fromConnString, the Laravel .env,
the compose image and parts.dsn... (continued)

4374 of 8349 new or added lines in 58 files covered. (52.39%)

367 existing lines in 10 files now uncovered.

30035 of 39006 relevant lines covered (77.0%)

176940.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
759
0.0
internal/state/sqlserver_restore.go
682
0.15
internal/state/sqlserver_database.go
458
0.0
internal/state/sqlserver_inventory.go
276
5.8
internal/state/sqlserver_reuse.go
269
2.18
internal/state/sqlserver_seed.go
253
0.0
internal/state/sqlserver_fingerprint.go
231
14.44
internal/state/sqlserver.go
117
84.9
internal/appconf/sqlserver.go
116
0.0
internal/state/sqlserver_rows.go
109
81.14
internal/state/sqlite_fingerprint.go
100
9.91
internal/state/sqlserver_encode.go
92
86.06
internal/appconf/sqlite.go
72
75.68
internal/state/sqlite_restore.go
66
67.16
internal/state/sqlite_seed.go
59
80.2
internal/state/sqlserver_conn.go
54
85.48
internal/state/sqlite.go
34
91.26
internal/procx/line.go
33
78.43
internal/state/sqlserver_query.go
30
77.44
internal/state/sqlite_pages.go
26
79.2
internal/cli/setup_sqlite.go
23
74.57
0.53% internal/capture/state.go
23
75.27
internal/state/sqlite_rows.go
20
82.55
-3.7% internal/cli/reviewcmd.go
12
94.92
0.88% internal/infer/infer.go
10
77.78
internal/appconf/sqlserver_compose.go
9
79.73
0.62% internal/cli/setupcmd.go
6
91.67
internal/capture/resend.go
6
89.26
-3.95% internal/demo/demo.go
5
83.42
0.7% internal/cli/compare.go
4
88.56
2.28% internal/appconf/dsn.go
4
93.94
internal/config/sqlite.go
3
85.79
4.12% internal/appconf/appconf.go
2
93.55
internal/capture/sqlite.go
2
92.09
1.3% internal/cli/newproject.go
2
93.1
internal/cli/setup_sqlserver.go
2
67.55
1.61% internal/cli/setupworktree.go
2
87.91
2.98% internal/config/secret.go
1
89.94
0.23% internal/appconf/find.go
1
84.7
0.47% internal/appconf/literal.go
1
80.06
0.8% internal/capture/capture.go
1
78.6
1.35% internal/config/config.go

Coverage Regressions

Lines Coverage ∆ File
177
73.63
-0.71% internal/state/mysql.go
76
74.52
-0.9% internal/state/mysqlcopy.go
44
74.57
0.53% internal/capture/state.go
40
78.49
-0.9% internal/state/postgres.go
23
83.11
1.35% internal/state/state.go
2
89.94
0.23% internal/appconf/find.go
2
84.4
3.37% internal/dbx/dbx.go
1
88.56
2.28% internal/appconf/dsn.go
1
79.73
0.62% internal/cli/setupcmd.go
1
94.92
0.88% internal/infer/infer.go
Jobs
ID Job ID Ran Files Coverage
1 42046165948.1 05 Nov 2026 02:46PM UTC 181
77.0
GitHub Action Run
Source Files on build 42046165948
  • Tree
  • List 181
  • Changed 39
  • Source Changed 37
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42046165948
  • b80b339a on github
  • Prev Build on development (#41615144581)
  • Delete
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