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

codenotary / immudb / 24840434322
85%
master: 85%

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

Pull #2090

gh-ci

vchaindz
test(pgsql): fix closure-capture race in TestSession_MessageReader

The test declared a single c1/c2 pair at the top of the function and
reused it across three independent sub-scenarios. Each block spawned a
goroutine that wrote/closed c2, but the goroutines captured c2 by
*reference* through the enclosing closure, not by value. When the main
goroutine reassigned c2 via 'c1, c2 = net.Pipe()' for the next block
before a previous goroutine had finished executing its trailing
c2.Close(), that Close would hit the freshly-assigned pipe — closing the
new pipe before the new goroutine had written anything. The reader then
surfaced io.EOF where the test expected ErrMalformedMessage. The race
was benign locally but reproducible on ubuntu CI runners.

Fix: put each block in its own scope with its own c1/c2, and pass the
peer connection into the goroutine as a function parameter so the
capture is by value. No behaviour change to the production code under
test — only test hygiene.
Pull Request #2090: v1.11.0: PostgreSQL compatibility and SQL feature expansion

44604 of 52298 relevant lines covered (85.29%)

127532.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24840434322.1 23 Apr 2026 02:24PM UTC 310
85.29
Source Files on build 24840434322
  • 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