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

dal-go / dalgo / 33012140026
100%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 08:47PM UTC
Jobs 1
Files 126
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

26 Aug 2026 08:47PM UTC coverage: 99.963% (+0.001%) from 99.962%
33012140026

push

github

web-flow
feat(dalgo2memory): New(profile, ...) — the emulated backend is named at the call site (#129)

* feat(dalgo2memory): New(profile, ...) - the emulated backend is now named at the call site

Founder decision: dalgo is a platform-independent library with adapters
for Firestore, Datastore, MySQL, Postgres, SQLite and more, so the
in-memory test double must not imply any single vendor's transaction
semantics as an unnamed default. A test double is always standing in
for something, and which something changes what the tests prove.

  - Profile is a distinct type (not an Option), so the compiler
    enforces that every New call names its backend; nil panics with
    guidance rather than silently defaulting - a silent vendor
    fallback is exactly what this abolishes.
  - FirestoreProfile() and SingleWriterProfile() are the initial
    profiles; the SQL family joins when the interleaved mode's query
    support exists - profile names are never published before their
    semantics.
  - Options apply after the profile, in order, last-wins: intent-named
    options remain narrow explicit modifiers on top of a named bundle.
  - NewDB is deprecated, kept as New(FirestoreProfile(), ...) for
    compatibility; it will be removed once known consumers migrate
    (scheduled with the fleet propagation campaign). Sneat repos will
    encode their choice once via a NewInMemoryTestDB helper in
    sneat-go-core rather than each naming Firestore.

Verified: full suite green under -race, go vet clean, dalgo2memory at
100.0% statement coverage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016jHJHbnHddXPJe72gzyhsx

* chore: migrate dalgo's own call sites off deprecated NewDB

The repo's own staticcheck gate (SA1019) enforces the deprecation
immediately - correctly. 26 internal call sites across 8 test files now
name their profile via New(FirestoreProfile(), ...), leaving NewDB
itself as the only remaining reference (i... (continued)

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

8007 of 8010 relevant lines covered (99.96%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33012140026.1 26 Aug 2026 08:47PM UTC 126
99.96
GitHub Action Run
Source Files on build 33012140026
  • Tree
  • List 126
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7258ed4b on github
  • Prev Build on main (#33009551914)
  • Next Build on main (#33022921491)
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