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

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

Build:
Build:
LAST BUILD BRANCH: bigbes/gh-147-fix-invalid-startup-panics
DEFAULT BRANCH: master
Ran 05 May 2026 10:11AM 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 May 2026 10:05AM UTC coverage: 75.668% (+0.2%) from 75.435%
25370127328

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 a typed
ClientErrorCode (CodeConnectionClosed, ...). 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; IsRetryable wraps
errors.Is. The deprecated Temporary() method is removed.

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

Also fixes a pre-existing %x formatting bug on iproto.Error in
ServerError.Error().

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

8 existing lines in 1 file now uncovered.

3144 of 4155 relevant lines covered (75.67%)

9896.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
82.26
-0.29% 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
8
82.26
-0.29% connection.go
Jobs
ID Job ID Ran Files Coverage
1 25370127328.1 05 May 2026 10:11AM UTC 19
75.67
GitHub Action Run
Source Files on build 25370127328
  • Tree
  • List 19
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #589
  • PR Base - master (#25362054985)
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