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

ingitdb / ingitdb-cli / 25783933264
96%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 07:06AM UTC
Jobs 1
Files 102
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

13 May 2026 07:05AM UTC coverage: 80.578% (-1.7%) from 82.283%
25783933264

push

github

inGitDB Dev
chore(cleanup): remove legacy CLI commands superseded by SQL verbs

Removes the legacy commands now superseded by the new SQL-verb surface
(select, insert, update, delete, drop) shipped over the previous plan
sequence. Per the cli-sql-verbs Idea decision to remove legacy
commands alongside their successors:

Files removed (17 source + test files):
  read.go, read_record.go (+ test, github_test), read_collection.go (+ test)
  create.go, create_record.go (+ test, github_test, integration_test)
  query.go (+ test)
  update.go (UpdateLegacy parent), update_record.go (+ test, github_test, integration_test)

Files kept:
  read_record_github.go — hosts shared GitHub helpers (parseGitHubRepoSpec,
    readRemoteDefinitionForCollection, gitHubDBFactory, githubToken, etc.)
    still used by the new SQL verbs. Filename retained for now.
  query_parser.go — retained for projectRecord (used by select). The
    legacy parseFields/parseWhereExpr/parseOrderBy are dead code now;
    candidates for a follow-up trim.
  query_output.go — writeCSV/writeJSON/writeYAML/writeMarkdown/
    collectColumns are used by select.go's writeSetMode dispatcher.
  find.go — find is a distinct cross-collection text-search verb per
    the Idea decision; survives as a placeholder until implemented.

Files moved:
  editor.go — new file hosting the editor-related helpers (isFdTTY,
    runWithEditor, buildRecordTemplate, orderedColumnKeys, recordFormatExt,
    parseEditorCommand, defaultOpenEditor) that used to live in
    create_record.go. Still used by insert.go for --edit mode.
  fakes_test.go — new file consolidating fakeFileReader and
    fakeFileReaderWithError, which used to live in the deleted legacy
    test files but are still used by coverage_additions_test.go,
    list_test.go, and other surviving GitHub-flow tests.

Test migrations:
  - crud_record_integration_test.go: migrated Create+UpdateLegacy steps
    to Insert+Update with JSON-format --data (todo.tags is JSON-backed).
  -... (continued)

7248 of 8995 relevant lines covered (80.58%)

0.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
94
42.93
-47.47% cmd/ingitdb/commands/read_record_github.go
14
52.5
-35.0% cmd/ingitdb/commands/record_context.go
9
78.57
-21.43% cmd/ingitdb/commands/cobra_helpers.go
2
73.08
-3.47% cmd/ingitdb/main.go
Jobs
ID Job ID Ran Files Coverage
1 25783933264.1 13 May 2026 07:06AM UTC 102
80.58
GitHub Action Run
Source Files on build 25783933264
  • Tree
  • List 102
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f187f5fb on github
  • Prev Build on main (#25781708246)
  • Next Build on main (#25784834508)
  • 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