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

dal-go / dalgo2sql / 34448064373
100%

Build:
DEFAULT BRANCH: main
Ran 10 Sep 2026 07:04AM UTC
Jobs 1
Files 18
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

10 Sep 2026 07:03AM UTC coverage: 87.144% (-1.4%) from 88.516%
34448064373

push

github

web-flow
feat(sqlite): bounded structured queries, validated sources and bound values (layered ACL) (#178)

* feat: compile bounded SQLite queries safely and retain projected record keys

* fix(sqlite): validate structured sources and bound values

Also bumps github.com/dal-go/dalgo to v0.80.0 (the release containing PR
#158's access/ package, this chain's provider foundation) and runs `go mod
tidy` to match — no source in this repo references dalgo's new access
package directly, but the version alignment keeps the whole layered-ACL
provider chain (dalgo -> dalgo2sql/dalgo2ingitdb -> openvaultdb-go) on one
consistent dalgo release (Task 13, S106).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dd3aoE41JSShyUuUmW8sSi

* fix(lint): check test db/rows Close errors, raise coverage above the 90% floor

CI (strongo_workflow) on this branch:
- Lint (errcheck): structured_sql_test.go:44/100/119 `db.Close()` and :126
  `r.Close()` had unchecked defers. Fixed with
  `defer func() { _ = x.Close() }()`.
- Build & test: total coverage was 89.0%, below this repo's
  min_test_coverage_percent: 90 gate. Added targeted unit tests for this
  branch's own least-covered new code rather than lowering the floor or
  skipping anything:
  - TestValidateSQLValueAcceptedAndRejectedKinds: every accepted kind
    (nil, driver.Valuer, time.Time, bool/numeric, []byte) and the two
    rejected shapes (non-byte slice, unsupported struct/map).
  - TestPrimaryKeyForQueryFallbacks: non-structured query, a multi-field
    recordset key (falls through), the DbOptions.PrimaryKey fallback, and
    nothing configured.
  - TestTransaction_ExecuteQueryToRecordsReader: the dal.QueryExecutor
    entrypoint a policy wrapper (dal-go/dalgo's
    access.SecureReadSession) actually calls in production had zero
    coverage; tx.Select already covered the same underlying reader
    construction, but never through this specific interface method.
  - Tes... (continued)

215 of 261 new or added lines in 7 files covered. (82.38%)

1193 of 1369 relevant lines covered (87.14%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
43
76.63
-23.37% sqlite_emit.go
2
79.17
-0.32% reader_base.go
1
91.3
7.97% reader_records.go
Jobs
ID Job ID Ran Files Coverage
1 34448064373.1 10 Sep 2026 07:04AM UTC 18
87.14
GitHub Action Run
Source Files on build 34448064373
  • Tree
  • List 18
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a7649d1b on github
  • Prev Build on main (#34354466148)
  • Next Build on main (#34453604356)
  • 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