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

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

Build:
Build:
LAST BUILD BRANCH: bigbes/gh-no-request-accounting
DEFAULT BRANCH: master
Ran 15 Sep 2026 01:38AM 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

14 Sep 2026 09:44PM UTC coverage: 76.573%. First build
34917214265

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%)

3200 of 4179 relevant lines covered (76.57%)

80334.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
83.58
connection.go
Jobs
ID Job ID Ran Files Coverage
1 34917214265.1 15 Sep 2026 01:38AM UTC 19
76.57
GitHub Action Run
Source Files on build 34917214265
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #605
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