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

dal-go / dalgo / 33000904053
100%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 06:40PM 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 06:39PM UTC coverage: 99.962%. Remained the same
33000904053

push

github

web-flow
fix(dalgo2memory): poison commit when a read-after-write rejection is swallowed (#122)

The real Firestore Go client (cloud.google.com/go/firestore, transaction.go's
readAfterWrite field) records a rejected read-after-write and fails the
transaction's commit even when the callback ignores the read's error and
returns nil. dalgo2memory previously only surfaced the violation through the
read call's own return value, so a callback that swallowed it got its
buffered writes committed anyway — a divergence a real Firestore-backed
caller could never observe.

transactionState now carries readAfterWriteRejected, set by allowRead at the
point it rejects a read. Both runLockedReadwriteTransaction and
runOptimisticReadwriteTransaction check the flag after a nil callback return
and refuse to commit (returning ErrReadAfterWriteInTransaction) instead of
calling tx.commit(), discarding the buffered writes.

Two existing database_test.go subtests exercised exactly this swallow
pattern and asserted the transaction succeeded; they now assert the
poisoned-commit outcome instead. atomicity_test.go gains a table-driven
regression test across both transaction modes.

13 of 13 new or added lines in 2 files covered. (100.0%)

7870 of 7873 relevant lines covered (99.96%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33000904053.1 26 Aug 2026 06:40PM UTC 126
99.96
GitHub Action Run
Source Files on build 33000904053
  • Tree
  • List 126
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c8d937a1 on github
  • Prev Build on main (#32996384041)
  • Next Build on main (#33001407299)
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