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

tarantool / go-tarantool / 27026007049
76%
master: 75%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v3.0.0
DEFAULT BRANCH: master
Ran 05 Jun 2026 04:19PM 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

05 Jun 2026 04:08PM UTC coverage: 75.519% (+0.3%) from 75.212%
27026007049

Pull #589

github

bigbes
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
Pull Request #589: api: redesign errors around errors.Is and errors.As

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

2 existing lines in 1 file now uncovered.

3131 of 4146 relevant lines covered (75.52%)

9892.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
81.87
0.18% 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 27026007049.1 05 Jun 2026 04:19PM UTC 19
75.52
GitHub Action Run
Source Files on build 27026007049
  • Tree
  • List 19
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #589
  • PR Base - master (#26625014815)
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