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

ingitdb / dalgo2ingitdb4github / 29040262842
84%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 06:20PM UTC
Jobs 1
Files 13
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

09 Jul 2026 06:19PM UTC coverage: 84.214% (-15.3%) from 99.484%
29040262842

push

github

trakhimenok
feat: complete read/write/query support with read-your-writes consistency

Takes the driver from read-only (v0.1.x) to a full dal.DB over the GitHub API:

- writes: batching variant (NewBatchingGitHubDB) buffers a transaction's
  Set/Insert/Update/Delete into ONE commit via the Git tree API
- Update/UpdateRecord implemented (both variants): read-modify-write with
  nested field paths, DeleteField, increment transforms, ServerTimestamp
- structured queries (ExecuteQueryToRecordsReader): scan collection files from
  the repo tree, apply WHERE (==,<,<=,>,>=,In, AND groups) / ORDER BY / LIMIT /
  keys-only; recordset reader + group-by/having/offset/cursor return ErrNotSupported
- idempotent Delete (deleting a missing record is a no-op) in both variants
- Get/GetMulti of an undeclared collection return not-found, not an error
- read-your-writes consistency: the batching variant reads through the Git
  Data API (tree/blob by SHA), and after each commit records the new head SHA
  so reads resolve the tree from that exact commit — bypassing GitHub's
  briefly-lagging ref lookup. Correct under the single-writer contract.
- tree writer sets mode+type on every entry (GitHub requires them; deletes use
  a null SHA)
- dalgo v0.62.2 → v0.62.10

Verified against the dalgo end2end suite through OpenVaultDB against a real
GitHub repository (full conformance green).

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

438 of 687 new or added lines in 10 files covered. (63.76%)

1 existing line in 1 file now uncovered.

1355 of 1609 relevant lines covered (84.21%)

0.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
159
54.7
query.go
38
61.62
updates.go
19
92.96
-6.59% batching.go
16
78.95
tree_reader.go
8
96.69
-3.31% tx_readwrite.go
4
97.74
-2.26% file_reader.go
4
93.75
-4.31% tx_readonly.go
1
95.45
0.0% scoped_collection.go

Coverage Regressions

Lines Coverage ∆ File
1
93.75
-4.31% tx_readonly.go
Jobs
ID Job ID Ran Files Coverage
1 29040262842.1 09 Jul 2026 06:20PM UTC 13
84.21
GitHub Action Run
Source Files on build 29040262842
  • Tree
  • List 13
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 22f75d18 on github
  • Prev Build on main (#28701443176)
  • Delete
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