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

ingitdb / ingitdb-cli / 22140817787
96%

Build:
DEFAULT BRANCH: main
Ran 18 Feb 2026 01:03PM UTC
Jobs 1
Files 27
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 01:02PM UTC coverage: 41.292% (-6.0%) from 47.243%
22140817787

push

github

trakhimenok
feat: add interface layer for validator, materializer, dispatcher, and TUI

Introduce clean Go interface definitions across new sub-packages to make
every component independently mockable and composable for full/incremental
validation, view materialisation, progress reporting, and TUI rendering.

New shared types in pkg/ingitdb/:
- ValidationError, ValidationResult (goroutine-safe), Severity
- RecordEntry, ChangedFile/ChangeKind, ProgressEvent/ProgressKind
- MaterializeResult, CollectionsReader, RecordsReader, Scanner

New packages (interfaces only, no implementations):
- pkg/ingitdb/gitdiff: GitDiffer
- pkg/ingitdb/datavalidator: ForeignKeyIndex, RecordValidator,
  DataValidator, AffectedRecord, ChangeSetResolver, IncrementalValidator
- pkg/ingitdb/materializer: ViewDefReader, ViewRenderer, ViewWriter,
  ViewBuilder, ViewAffectedChecker, IncrementalMaterializer
- pkg/ingitdb/progress: ProgressReporter, Signal, Steerer, Task, Dispatcher
- pkg/ingitdb/tui: Screen, TUI, NewNoOpTUI (concrete no-op impl)
- pkg/watcher: EventType, FieldChange, RecordEvent, Watcher, Trigger

Modified:
- validator: add NewCollectionsReader() constructor wrapping ReadDefinition
- commands/validate: inject DataValidator + IncrementalValidator;
  incremental path activates on --from-commit/--to-commit flags
- commands/materialize: inject ViewBuilder; iterates all collections
- main: pass nil for new injectable dependencies (not yet implemented)

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

2 of 123 new or added lines in 6 files covered. (1.63%)

1 existing line in 1 file now uncovered.

377 of 913 relevant lines covered (41.29%)

0.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
38
0.0
pkg/ingitdb/validation_error.go
35
0.0
0.0% cmd/ingitdb/commands/materialize.go
33
10.53
-7.25% cmd/ingitdb/commands/validate.go
11
0.0
pkg/ingitdb/tui/tui.go
4
94.12
-4.65% pkg/ingitdb/validator/def_validator.go

Coverage Regressions

Lines Coverage ∆ File
1
10.53
-7.25% cmd/ingitdb/commands/validate.go
Jobs
ID Job ID Ran Files Coverage
1 22140817787.1 18 Feb 2026 01:03PM UTC 27
41.29
GitHub Action Run
Source Files on build 22140817787
  • Tree
  • List 27
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2c796611 on github
  • Prev Build on main (#22135349272)
  • Next Build on main (#22143360668)
  • 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