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

ingitdb / ingitdb-cli / 22601348689
96%

Build:
DEFAULT BRANCH: main
Ran 02 Mar 2026 11:55PM UTC
Jobs 1
Files 80
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

02 Mar 2026 11:54PM UTC coverage: 84.286% (+0.4%) from 83.925%
22601348689

push

github

trakhimenok
feat(materializer): auto-materialize FK-filtered views (P1-6)

For every collection that has both a default_view block and one or more
columns with foreign_key, generate one filtered output file per unique
FK value found in the records.

Path pattern:
  $ingitdb/{relColPath}/$fk_{colName}/{fkCollection}/{fkValue}.{ext}

Example:
  $ingitdb/demo-dbs/test-db/companies/$fk_country/countries/gb.ingr

Key behaviours:
- Multiple FK columns → independent $fk_{colName}/ subtrees
- Records with nil/empty FK value are skipped
- Same column set, format and INGR type annotations as default_view
- Same RecordsDelimiter / IncludeHash cascade as buildDefaultView
- No max_batch_size (single file per FK value)
- Idempotent writes; errors accumulated, not abort-on-first
- Regular default view still generated unchanged

Coverage: buildFKViews 96.9%

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

89 of 97 new or added lines in 1 file covered. (91.75%)

4806 of 5702 relevant lines covered (84.29%)

0.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
66.74
10.31% pkg/ingitdb/materializer/view_builder.go
Jobs
ID Job ID Ran Files Coverage
1 22601348689.1 02 Mar 2026 11:55PM UTC 80
84.29
GitHub Action Run
Source Files on build 22601348689
  • Tree
  • List 80
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 38c22ea2 on github
  • Prev Build on main (#22595388145)
  • Next Build on main (#22602513335)
  • 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