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

thanos / terminusdb-client-elixir / 1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16
97%
main: 93%

Build:
Build:
LAST BUILD BRANCH: v0.3.2/graphql-temporal-csv
DEFAULT BRANCH: main
Ran 24 Jun 2026 01:37PM UTC
Jobs 4
Files 12
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

24 Jun 2026 01:35PM UTC coverage: 99.209% (-0.1%) from 99.32%
1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16

Pull #16

github

thanos
Add v0.2 APIs (Document, Schema, Branch, Streaming), docs, and guides

Implement the first v0.2 slice: document CRUD with streaming, schema frame
retrieval, branch management, and an incremental concatenated-JSON decoder.
Add comprehensive documentation, guides, and a Livebook demo.

New modules:
- TerminusDB.Document: insert/get/query/replace/delete/stream (plus !/ variants)
  with graph_type, author/message commit metadata, pagination, and all document
  query params.
- TerminusDB.Schema: frame/all (plus !/ variants) for class frame retrieval
  with compress_ids and expand_abstract options.
- TerminusDB.Branch: create/delete/exists? (plus !/ variants) with :from,
  :organization, :repo overrides.
- TerminusDB.Streaming: split_concatenated/1 (bracket/depth-aware JSON splitter)
  and document_stream/1 (Stream.resource over Req async responses). Fixed a
  bug where the stream never halted on :done; added Jason decoding so the
  stream yields maps, not binaries.

Documentation:
- Added hermetic doctest examples to every public function across all modules
  (27 doctests total, all using the fake Req adapter pattern).
- Rewrote README Quick Start as a full 11-step walkthrough (create DB, insert
  schema, insert/query/replace/delete documents, schema frames, branches,
  streaming, cleanup).
- guides/introduction.md: TerminusDB concepts (documents, schema, branches,
  queries, indexes/storage).
- guides/migrating-from-sql.md: SQL-to-TerminusDB migration by example.
- guides/overview.md: feature-by-feature walkthrough with runnable examples.
- guides/terminusdb_ex_livebook.livemd: full Livebook demoing every API.
- Updated mix.exs docs extras with all guides under a "Guides" group.

Tests:
- 151 unit tests + 6 properties + 27 doctests, 0 failures (8 integration
  excluded). 99.2% coverage.
- Streaming tests mock Req.Response.Async with a custom stream_fun to test
  single-chunk, multi-chunk, split-document, error, trailer, and unknown
  message scenarios.
- ... (continued)
Pull Request #16: Add v0.2 APIs (Document, Schema, Branch, Streaming), docs, and guides

105 of 106 new or added lines in 4 files covered. (99.06%)

251 of 253 relevant lines covered (99.21%)

137.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.45
lib/terminus_db/branch.ex
Jobs
ID Job ID Ran Files Coverage
1 1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16.1 24 Jun 2026 01:37PM UTC 12
99.2
GitHub Action Run
2 1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16.2 24 Jun 2026 01:37PM UTC 12
99.2
GitHub Action Run
3 1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16.3 24 Jun 2026 01:37PM UTC 12
99.21
GitHub Action Run
4 1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16.4 24 Jun 2026 01:38PM UTC 12
99.21
GitHub Action Run
Source Files on build 1be649ba1cb7fd652c7df975b4c23794a13c60fc-PR-16
  • Tree
  • List 12
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #16
  • PR Base - main (#18849726...)
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