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

elastic / cloudbeat / 28095713783
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: 9.3
DEFAULT BRANCH: main
Ran 24 Jun 2026 11:53AM UTC
Jobs 1
Files 230
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

24 Jun 2026 11:16AM UTC coverage: 76.26% (+0.02%) from 76.236%
28095713783

push

github

web-flow
chore(deps): update module github.com/redis/go-redis/v9 to v9.21.0 (9.3) (#6795)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/redis/go-redis/v9](https://redirect.github.com/redis/go-redis)
| indirect | minor | `v9.20.0` -> `v9.21.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>redis/go-redis (github.com/redis/go-redis/v9)</summary>

###
[`v9.21.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.21.0):
9.21.0

[Compare
Source](https://redirect.github.com/redis/go-redis/compare/v9.20.1...v9.21.0)

This is a minor release adding new features and bug fixes. There are no
breaking changes; upgrading from 9.20.x is a drop-in replacement.

#### 🚀 Highlights

##### Zero-copy `GetToBuffer` / `SetFromBuffer`

Two new `StringCmdable` methods let callers read and write Redis string
values directly into and from pre-allocated byte buffers, eliminating
the per-call payload allocation that `Get`/`Set` incur:

```go
GetToBuffer(ctx, key, buf) *ZeroCopyStringCmd   // reads into buf; ZeroCopyStringCmd { Val() int; Bytes() []byte; Result() (int, error) }
SetFromBuffer(ctx, key, buf) *StatusCmd
```

`GetToBuffer` decodes the bulk reply straight into the caller-owned
`buf` (no intermediate allocation); a buffer that is too small returns
an error after draining the payload, so the connection stays aligned for
the next reply. `SetFromBuffer` is provided for API symmetry — it
dispatches to the same `[]byte` writer path as `Set(ctx, key, buf, 0)`
and produces byte-identical output on the wire. Available on `*Client`,
`*ClusterClient`, `*Ring`, `*Conn` and `Pipeliner`.

([#&#8203;3834](https://redirect.github.com/redis/go-redis/pull/3834))
by [@&#8203;ndyakov](https://redirect.github.com/ndyakov)

##### Explicit `LIMIT 0` for stream trimming

Redis treats `XTRIM`/`XADD` approximate-trim... (continued)

9653 of 12658 relevant lines covered (76.26%)

16.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28095713783.1 24 Jun 2026 11:53AM UTC 230
76.26
GitHub Action Run
Source Files on build 28095713783
  • Tree
  • List 230
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 55cc9763 on github
  • Prev Build on 9.3 (#28038235271)
  • Next Build on 9.3 (#28159970981)
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