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

ingitdb / ingitdb-cli / 25859831724
96%

Build:
DEFAULT BRANCH: main
Ran 14 May 2026 12:25PM UTC
Jobs 1
Files 117
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

14 May 2026 11:56AM UTC coverage: 76.278% (-0.2%) from 76.486%
25859831724

push

github

inGitDB Dev
feat(dalgo2ingitdb): map Decimal→Float and Bytes→String (lossy carriers)

dbschemaTypeToIngitdb previously errored on dbschema.Decimal and
dbschema.Bytes. That blocked cross-engine schema replication for sources
whose columns produce those types — e.g. SQLite NUMERIC(p,s) (after the
recent dalgo2sqlite DATETIME/NUMERIC recognition fix) is reported as
dbschema.Decimal, and replicating the Chinook fixture's Invoice / Track
tables into inGitDB failed at CreateCollection with
`unsupported dbschema.Type: decimal`.

The mappings are intentionally lossy and documented on the function:

- Decimal → ColumnTypeFloat. YAML doubles round-trip cleanly for typical
  money/measurement precisions; very high precision/scale loses bits.
- Bytes → ColumnTypeString. The string column is the carrier; callers
  base64-encode the binary value into it.

Both are pragmatic: inGitDB has no native fixed-precision decimal or raw
bytes column. The alternative — failing schema replication — is worse
than the precision-loss footnote.

Existing unit tests asserted both types should error; updated those cases
to assert the new lossy mapping with a comment pointing at the rationale.

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

6 of 6 new or added lines in 1 file covered. (100.0%)

105 existing lines in 4 files now uncovered.

8611 of 11289 relevant lines covered (76.28%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
74
64.63
-0.37% pkg/dalgo2ingitdb/schema_modifier.go
29
88.48
-9.87% pkg/ingitdb/config/root_config.go
1
37.91
-0.55% cmd/ingitdb/commands/github_helpers.go
1
97.56
-2.44% pkg/dalgo2ingitdb/type_mapping.go
Jobs
ID Job ID Ran Files Coverage
1 25859831724.1 14 May 2026 12:25PM UTC 117
76.28
GitHub Action Run
Source Files on build 25859831724
  • Tree
  • List 117
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a49e43e7 on github
  • Prev Build on main (#25855256383)
  • Next Build on main (#25864078584)
  • 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