Skip to content

go.mod: bump cockroachdb/errors to v1.13.0#6121

Open
mvanhorn wants to merge 1 commit into
cockroachdb:masterfrom
mvanhorn:fix/6092-bump-cockroachdb-errors
Open

go.mod: bump cockroachdb/errors to v1.13.0#6121
mvanhorn wants to merge 1 commit into
cockroachdb:masterfrom
mvanhorn:fix/6092-bump-cockroachdb-errors

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Jul 5, 2026

Copy link
Copy Markdown

Summary

Bump github.com/cockroachdb/errors from v1.11.3 to v1.13.0 so that downstream projects pairing pebble with a newer getsentry/sentry-go compile cleanly. go mod tidy pulls sentry-go from v0.27.0 to v0.46.0 as a transitive indirect update; no pebble source changes are needed.

Why this matters

As reported in #6092, pebble pins cockroachdb/errors v1.11.3, which transitively requires getsentry/sentry-go v0.27.0. Newer sentry-go releases removed Event.Extra, so any downstream that combines pebble with a newer sentry-go fails to compile:

event.Extra undefined (type *sentry.Event has no field or method Extra)

inside errors@v1.11.3/report/report.go. cockroachdb/errors v1.13.0 migrated Event.Extra to Event.Contexts and moved its sentry-go requirement to v0.46.0, resolving the break. Pebble uses only the stable errors.* wrapping APIs and never imports errors/report or touches sentry.Event, so the migration is internal to the errors package and requires no code changes here. This adoption follows CockroachDB's own upstream direction, since the errors team shipped v1.13.0 specifically for this sentry compatibility fix.

Testing

  • go build ./... passes (the previously-failing report path now compiles against sentry-go v0.46.0).
  • go mod tidy produces no further diff to go.mod or go.sum.
  • go mod verify reports all modules verified.
  • go test ./... compiles and passes.

Fixes #6092

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compile error "event.Extra undefined (type *sentry.Event has no field or method Extra)"

1 participant