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

dal-go / dalgo / 33009551914
100%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 08:17PM 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:16PM UTC coverage: 99.962%. Remained the same
33009551914

push

github

web-flow
feat(dalgo2memory): contention is the default — a plain NewDB() is the Firestore profile (#128)

* feat(dalgo2memory): contention is the default - a plain NewDB() is the Firestore profile

THE FLIP, final PR of the 6-PR plan. A plain NewDB() now runs read-write
transactions on the optimistic machinery: genuine contention, snapshot
reads (abort-and-retry on a fractured view), transactional queries with
collection-grained phantom protection, atomic buffered commits, and
bounded auto-retry of conflicts (5 attempts, matching the Firestore
SDK). Every one of those capabilities landed and was proven separately
(#121, #122, #123, #124, #125, #126); this commit only changes which
bundle a bare constructor selects.

Why the default and not an option: a concurrency test passing against a
serialized double proves nothing about production. Real Firestore
transactions contend; a test double that cannot contend converts every
"exactly one wins" test into a statement about the double. An opt-in
safeguard protects only people who already know they need it.

API surface (all additive - no symbol removed or changed in signature;
the behavioral default changes, with the same rollout treatment as the
v0.67.0 of dal-go/dalgo ordering flip):
  - WithSingleWriterTransactions() is the new intent-named opt-out,
    restoring the whole-database-lock single-writer mode (SQLite-style),
    for backends that genuinely serialize writers and for
    step-choreographed tests. Its doc comment forbids using it to
    silence contention failures.
  - WithOptimisticConcurrency() becomes a deprecated affirming no-op,
    following the exact precedent of WithNoReadsAfterWritesInTransaction
    when strict ordering became the default.
  - WithFirestoreProfile() names the backend the default emulates, per
    the founder decision to expose named backend profiles: an affirming
    reset useful as in-test documentation and as a last-wins override.
    The SQL profile family (per-transaction i... (continued)

45 of 45 new or added lines in 3 files covered. (100.0%)

7996 of 7999 relevant lines covered (99.96%)

1.0 hits per line

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