cockroachdb / cockroachdb/pebble

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

Open
#6,092 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6k
Forks
584
Avg merge
16h 35m
Merged PRs (30d)
5

Description

Compile error

```
Error: /home/runner/go/pkg/mod/github.com/cockroachdb/errors@v1.11.3/report/report.go:369:9: event.Extra undefined (type *sentry.Event has no field or method Extra)
```

In pebble v2, it is importing an older version of `github.com/cockroachdb/errors` which uses a field removed in a newer minor version of sentry. Not pebble's fault here given a breaking change was introduced in a minor version on sentry's end. This is a problem when the project that uses pebble is also using sentry but a newer version of it.

This can be resolved by pebble bumping `github.com/cockroachdb/errors` v1.13.0. See https://github.com/cockroachdb/errors/issues/158

Jira issue: PEBBLE-1449

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.