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

elastic / cloudbeat / 28020998157
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: 8.19
DEFAULT BRANCH: main
Ran 23 Jun 2026 11:10AM UTC
Jobs 1
Files 235
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

23 Jun 2026 09:54AM UTC coverage: 75.779% (-0.02%) from 75.802%
28020998157

push

github

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

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.1` -> `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-tri... (continued)

9727 of 12836 relevant lines covered (75.78%)

16.4 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
83.06
-0.98% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 28020998157.1 23 Jun 2026 11:10AM UTC 235
75.78
GitHub Action Run
Source Files on build 28020998157
  • Tree
  • List 235
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6d521b63 on github
  • Prev Build on gh-readonly-queue/main/pr-6865-04b9d958920f064740f417003c1ec1bc76eb5ac3 (#28020977346)
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