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

tarantool / go-tarantool / 27108674847
75%

Build:
DEFAULT BRANCH: master
Ran 08 Jun 2026 12:09AM 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

07 Jun 2026 11:56PM UTC coverage: 75.446% (+0.2%) from 75.212%
27108674847

push

github

oleg-jukovec
api: redesign errors around errors.Is and errors.As

Rename tarantool.Error to ServerError, promote the seven legacy uint32
client error codes to package-level error sentinels (ErrConnectionClosed,
ErrTimeouted, ...) and expose their numeric form as iproto.Error
constants (CodeConnectionClosed, ...), the same type carried by
ServerError.Code, so client and server codes compare without
conversion. ClientError gains a Cause field plus Unwrap() []error so
errors.Is matches the sentinel and errors.As reaches the underlying net
error. Retryability is expressed as a sentinel (ErrRetryable) joined
into the chain; IsRetryableError wraps errors.Is, and each code is
documented with whether the request is safe to repeat. The deprecated
Temporary() method is removed.

Internal callers in connection.go, dial.go and response.go switched to
newClientError / ServerError detection; I/O failures now wrap the
original error instead of stringifying it. Tests and examples in box,
arrow, pool, and the root package were migrated from type assertions to
errors.As / errors.Is.

Also fixes a pre-existing %x formatting bug on iproto.Error in
ServerError.Error(); ClientError.Error() formats its code the same way.

Closes #469

63 of 97 new or added lines in 4 files covered. (64.95%)

2 existing lines in 1 file now uncovered.

3128 of 4146 relevant lines covered (75.45%)

10104.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
81.58
-0.11% connection.go
4
65.35
0.0% response.go
2
82.42
0.27% dial.go
1
97.44
47.44% errors.go

Coverage Regressions

Lines Coverage ∆ File
2
85.71
-14.29% deadline_io.go
Jobs
ID Job ID Ran Files Coverage
1 27108674847.1 08 Jun 2026 12:09AM UTC 19
75.45
GitHub Action Run
Source Files on build 27108674847
  • Tree
  • List 19
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • efa17250 on github
  • Prev Build on master (#26625014815)
  • Next Build on master (#27131627052)
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