-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(go.mod): bump grafana/pyroscope-go deps #3849
Conversation
WalkthroughWalkthroughThis pull request updates the Changes
Possibly related PRs
Suggested labels
Tip New featuresWalkthrough comment now includes:
Notes:
Recent review detailsConfiguration used: .coderabbit.yaml Files ignored due to path filters (1)
Files selected for processing (1)
Files skipped from review due to trivial changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! IMO we can backport to v1.x and 2.x branches
github.com/grafana/pyroscope-go v1.1.1 // indirect | ||
github.com/grafana/pyroscope-go/godeltaprof v0.1.6 // indirect | ||
github.com/grafana/pyroscope-go v1.1.2 // indirect | ||
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, how did you bump this indirect deps? I also noticed this issue with godeltaprof v0.1.6 and Go 1.23 but I fixed it via a replace
directive.
[no change needed] I think we could also fix by bumping the appropriate dep in celestia-core
$ go mod why github.com/grafana/pyroscope-go/godeltaprof
# github.com/grafana/pyroscope-go/godeltaprof
github.com/celestiaorg/celestia-app/v3/cmd/celestia-appd/cmd
github.com/tendermint/tendermint/node
github.com/grafana/pyroscope-go
github.com/grafana/pyroscope-go/godeltaprof
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did you bump this indirect deps?
Manually! 😂 No, really. Bumping non-major releases is cool due to backward-compatibility assumption in Go modules.
Yeah, this can be also achieved via replace
but I don't see a huge reason for that here, more noise than the help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I can also send the same patch to celestia-core
🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, manual bump works for me.
Based on suggestion here celestiaorg/celestia-app#3849 (comment) On Go 1.23 I got such failures: ``` % make build --> Updating go.mod --> Updating go.mod in ./test/interchain # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame make: *** [build] Error 1 ``` Due to recent change in Go 1.23 where Go team removed some internal things. Simple bump works fine.
On Go 1.23 I got such failures: ``` % make build --> Updating go.mod --> Updating go.mod in ./test/interchain # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame make: *** [build] Error 1 ``` Due to recent change in Go 1.23 where Go team removed some internal things. Simple bump works fine. (cherry picked from commit 2c74ea5) # Conflicts: # go.mod # go.sum
On Go 1.23 I got such failures: ``` % make build --> Updating go.mod --> Updating go.mod in ./test/interchain # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame make: *** [build] Error 1 ``` Due to recent change in Go 1.23 where Go team removed some internal things. Simple bump works fine. (cherry picked from commit 2c74ea5)
On Go 1.23 I got such failures: ``` % make build --> Updating go.mod --> Updating go.mod in ./test/interchain # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame make: *** [build] Error 1 ``` Due to recent change in Go 1.23 where Go team removed some internal things. Simple bump works fine.<hr>This is an automatic backport of pull request #3849 done by [Mergify](https://mergify.com). Co-authored-by: Oleg Kovalov <[email protected]>
Backporting fix as suggested in #3849 (review)
Based on suggestion here celestiaorg/celestia-app#3849 (comment) On Go 1.23 I got such failures: ``` % make build --> Updating go.mod --> Updating go.mod in ./test/interchain # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame make: *** [build] Error 1 ``` Due to recent change in Go 1.23 where Go team removed some internal things. Simple bump works fine.
On Go 1.23 I got such failures:
Due to recent change in Go 1.23 where Go team removed some internal things. Simple bump works fine.