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

codenotary / immudb / 24837869959
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/issue-2100-sql-panics
DEFAULT BRANCH: master
Ran 23 Apr 2026 01:33PM UTC
Jobs 1
Files 310
Run time 24s
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

pending completion
24837869959

Pull #2090

gh-ci

vchaindz
database: detach OngoingTx stored ctx from NewTx RPC context

NewSQLTx derived txCtx via context.WithCancel(ctx) where ctx traced back
to the NewTx RPC's srv.Context(). OngoingTx stores txCtx and reuses it
for snapshot creation on *later* RPCs (TxSQLQuery, TxSQLExec, etc.) that
arrive for the same session. gRPC cancels srv.Context() as soon as the
NewTx handler returns, which propagated through context.WithCancel and
poisoned the stored tx.ctx. Any follow-up snapshot read on a slow runner
then failed with 'context canceled' — e.g. TestTransaction_SQLReader and
TestTransaction_HandlingReadConflict flaked intermittently in CI while
passing 100/100 locally.

Fix: derive txCtx from context.Background() instead. Transaction lifetime
is governed by explicit Commit/Rollback, not by the RPC that created it.
The caller's ctx.Done() select branch still calls txCancel() to interrupt
an in-progress NewTx goroutine, so short-circuit on client cancellation
during creation remains intact.
Pull Request #2090: v1.11.0: PostgreSQL compatibility and SQL feature expansion

44596 of 52291 relevant lines covered (85.28%)

127464.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24837869959.1 23 Apr 2026 01:33PM UTC 310
85.28
Source Files on build 24837869959
  • Tree
  • List 310
  • Changed 67
  • Source Changed 0
  • Coverage Changed 67
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2090
  • PR Base - master (#24401624429)
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