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

ingitdb / ingitdb-cli / 26415374914
98%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 06:55PM UTC
Jobs 1
Files 121
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

25 May 2026 06:54PM UTC coverage: 94.455% (+0.7%) from 93.739%
26415374914

push

github

inGitDB Dev
test(cli): push cmd/ingitdb/commands coverage to 98.4%

Remove dead-code error checks that can never fire:
- yaml.Marshal/json.MarshalIndent on map[string]string and []map[string]any
- yaml.Node.Encode on valid CollectionDef/ViewDef structs
- Defensive nil checks after functions that always populate the field
- filepath.Abs error after expandHome (can't fail on valid input)
- csv.Writer.Write error checks (buffered; errors surface at Flush)

Restructure for coverage:
- Replace switch/case-1/fall-through with if/else guards in describe.go
  (Go instrumenter marks empty case bodies as uncovered)
- Inline SelectIntoRecord record-key factory to avoid closure coverage gap
- Remove redundant type assertions (Data() always returns map[string]any
  for the dalgo2fsingitdb backend)

Add coverage_full_test.go with 20 tests covering:
- Remote branch success/error paths for select, delete, update
- MCP tool handler paths (readRecord, listRecords, createRecord)
- Editor ReadFile-after-delete path
- Batch rollback with staged git files
- docs_update conflict resolution paths
- Rebase git operations

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

37 of 40 new or added lines in 14 files covered. (92.5%)

10988 of 11633 relevant lines covered (94.46%)

1.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.48
4.42% cmd/ingitdb/commands/delete.go
1
99.04
4.18% cmd/ingitdb/commands/select.go
1
95.96
5.27% cmd/ingitdb/commands/update_new.go
Jobs
ID Job ID Ran Files Coverage
1 26415374914.1 25 May 2026 06:55PM UTC 121
94.46
GitHub Action Run
Source Files on build 26415374914
  • Tree
  • List 121
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd39a766 on github
  • Prev Build on main (#26413959225)
  • Next Build on main (#26415465266)
  • 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