chore: address high-severity dependabot alerts in pg-startup-profiler#2136
Merged
chore: address high-severity dependabot alerts in pg-startup-profiler#2136
Conversation
PostgreSQL Extension Dependency Analysis: PR #2136
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2136
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
deepthi
approved these changes
May 6, 2026
deepthi
left a comment
There was a problem hiding this comment.
It will be nice to fix the links to the dependabot alerts in the PR description. Right now they point to old PRs because GH automatically interprets anything starting with # as an issue or PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses the three open high-severity Dependabot alerts on the
pg-startup-profilerGo module:go.opentelemetry.io/otel/sdkgo.opentelemetry.io/otel/sdkkenvPATH hijackinggithub.com/docker/dockergithub.com/moby/moby/{client,api}(the only patched module path)Why the docker import migration
The
github.com/docker/dockerimport path has no patched version for this advisory — Moby v29+ tags use thedocker-vX.Y.Zformat and the project reorganized into separate Go modules (github.com/moby/moby/client,github.com/moby/moby/api, etc.). Switching imports is the upstream-recommended path.Changes
nix/packages/pg-startup-profiler/go.modgodirective: 1.23.0 → 1.25.0 (required byotel/sdk≥ 1.42.0)github.com/docker/dockerwithgithub.com/moby/moby/clientv0.4.1,github.com/moby/moby/apiv1.54.2, andgithub.com/containerd/errdefsgo.opentelemetry.io/otel/*1.24.0 → 1.43.0nix/packages/pg-startup-profiler/go.sum— regenerated bygo mod tidynix/packages/pg-startup-profiler/internal/docker/client.go— adapt to the new client API:ImageInspectWithRaw→ImageInspectclient.IsErrNotFound→cerrdefs.IsNotFoundContainerCreateOptions,ContainerStartOptions,ContainerStopOptions,ContainerRemoveOptions,ContainerInspectOptions,ContainerLogsOptions) and return(Result, error)tuplestypes.ImagePullOptions→client.ImagePullOptionsstdcopyimport moved togithub.com/moby/moby/api/pkg/stdcopynix/packages/pg-startup-profiler.nix— refreshvendorHashfor the new dependency setTest plan
go build ./...— succeedsgo test ./...— all tests passnix build .#pg-startup-profiler— succeeds locally