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

tarantool / go-vshard-router / 40696163055
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: bigbes/gh-no-go-tarantool-v3
DEFAULT BRANCH: master
Ran 28 Oct 2026 01:32PM UTC
Jobs 1
Files 14
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

28 Oct 2026 01:20PM UTC coverage: 74.624% (+6.1%) from 68.491%
40696163055

Pull #88

github

bigbes
api: log through *slog.Logger and stop exposing tarantool.Opts

go-tarantool v3 logs through slog, so every record that crossed into
LogfProvider had its structured attributes flattened into a formatted string
by tarantoolLogHandler. With the connector on slog and providers/slog only
existing to convert back, the interface bought nothing and cost the structure
of the logs.

Config.Loggerf becomes Config.Logger, a *slog.Logger that the pools also
receive, so router and connector events share one destination and one format.
LogfProvider, StdoutLoggerf, providers/slog and the handler go. The 35 call
sites move from Infof(ctx, format, args...) to InfoContext(ctx, msg, k, v),
which keeps the context they passed for trace ids and turns their format
arguments into attributes. An unset logger selects slog.DiscardHandler,
matching the connector, which discards logs when no logger is set.

Config.PoolOpts goes for the same reason. It was a tarantool.Opts, so it
carried four fields the v3 pool does not let a caller use: Reconnect,
MaxReconnects and Notify are rejected by pool.NewWithOpts, and Logger is
ignored now that the pool reads Config.Logger. The first three needed a
validation rule each to fail early, and the fourth was silent. Expose the six
settings the connector honours as Conn* fields instead; connOpts builds
tarantool.Opts in one place and leaves Logger unset, letting the pool copy its
own logger into each connection (pool/pool.go:887).

This is a breaking change; the module bump to /v3 is a separate change.
Pull Request #88: deps: bump go-tarantool from v2.4.2 to v3.0.2

183 of 209 new or added lines in 5 files covered. (87.56%)

4 existing lines in 2 files now uncovered.

1191 of 1596 relevant lines covered (74.62%)

12558.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
65.52
6.14% discovery.go
6
68.37
2.08% api.go
4
80.81
0.81% replicaset.go
2
71.35
-0.15% vshard.go
1
93.62
1.21% topology.go

Coverage Regressions

Lines Coverage ∆ File
2
68.37
2.08% api.go
2
65.52
6.14% discovery.go
Jobs
ID Job ID Ran Files Coverage
1 40696163055.1 28 Oct 2026 01:32PM UTC 14
74.62
GitHub Action Run
Source Files on build 40696163055
  • Tree
  • List 14
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #88
  • PR Base - master (#38695865316)
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