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

tarantool / go-tarantool / 34838107393
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: bigbes/gh-no-request-accounting
DEFAULT BRANCH: master
Ran 14 Sep 2026 11:39AM UTC
Jobs 1
Files 19
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

10 Sep 2026 02:57PM UTC coverage: 76.813% (+0.3%) from 76.523%
34838107393

Pull #605

github

bigbes
future: make Release() of an unfinished future a no-op

Release() zeroed the object and returned it to futurePool without
checking that the request had completed. The documented lifecycle is
Do -> Get -> Release, but the natural fire-and-forget reading
`fut := conn.Do(req); fut.Release()` recycled a node that was still
linked into the connection's list of pending requests. Request ids are
never 0, so the zeroed node truncated the list for findFuture() and
clear(): the response was never matched back, markDone() never ran for
it, requestCnt never dropped (so CloseGraceful() hung) and with
Opts.Timeout == 0 the owners of the futures behind it blocked forever.
The recycled node could also be linked into a second list through the
pool.

Return early when the future is not finished, leaving the object to the
garbage collector, and document the precondition on Future.Release(), on
the implementation and in the migration guide. NewFutureWithErr() and
NewFutureWithResponse() return already finished futures, so they are
unaffected.
Pull Request #605: future: make Release() of an unfinished future a no-op

20 of 23 new or added lines in 2 files covered. (86.96%)

3 existing lines in 1 file now uncovered.

3210 of 4179 relevant lines covered (76.81%)

97519.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
84.52
1.03% connection.go

Coverage Regressions

Lines Coverage ∆ File
3
84.52
1.03% connection.go
Jobs
ID Job ID Ran Files Coverage
1 34838107393.1 14 Sep 2026 11:39AM UTC 19
76.81
GitHub Action Run
Source Files on build 34838107393
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #605
  • PR Base - bigbes/gh-no-reconnect-test-hardening (#34838107451)
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