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

ingitdb / ingitdb-cli / 22143360668
96%

Build:
DEFAULT BRANCH: main
Ran 18 Feb 2026 02:18PM UTC
Jobs 1
Files 31
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

18 Feb 2026 02:16PM UTC coverage: 54.42% (+13.1%) from 41.292%
22143360668

push

github

trakhimenok
feat: add CRUD CLI commands for single-record collections

Implement ingitdb create, read, update, and delete record commands backed
by pkg/dalgo2ingitdb. Adds DirPath to CollectionDef so transactions can
resolve file paths without re-reading the definition, and introduces
NewLocalDBWithDef to carry the schema into transactions.

- pkg/ingitdb: add DirPath field to CollectionDef (yaml/json excluded)
- pkg/ingitdb/validator: set DirPath during definition loading
- pkg/dalgo2ingitdb: new record_file.go helpers (CollectionForKey,
  resolveRecordPath, readRecordFromFile, writeRecordToFile, deleteRecordFile)
- pkg/dalgo2ingitdb: implement Get, Insert, Set, Delete on transactions
- cmd/ingitdb/commands: add create, read, update, delete record commands
- cmd/ingitdb: register new commands; inject NewLocalDBWithDef

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

279 of 399 new or added lines in 11 files covered. (69.92%)

708 of 1301 relevant lines covered (54.42%)

0.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
45
43.04
pkg/dalgo2ingitdb/record_file.go
20
71.43
cmd/ingitdb/commands/record_read.go
16
78.08
-21.92% pkg/dalgo2ingitdb/tx_readwrite.go
12
79.31
cmd/ingitdb/commands/record_update.go
8
87.16
87.16% cmd/ingitdb/commands/delete.go
8
81.4
-18.6% pkg/dalgo2ingitdb/tx_readonly.go
5
14.12
3.59% cmd/ingitdb/commands/validate.go
4
92.16
cmd/ingitdb/commands/record_create.go
2
86.0
-2.64% cmd/ingitdb/main.go
Jobs
ID Job ID Ran Files Coverage
1 22143360668.1 18 Feb 2026 02:18PM UTC 31
54.42
GitHub Action Run
Source Files on build 22143360668
  • Tree
  • List 31
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e80566d8 on github
  • Prev Build on main (#22140817787)
  • Next Build on main (#22146330115)
  • 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