Skip to content

Commit c4f506f

Browse files
[8.18] (backport #17975) Bump golang.org/x/sync to 0.16.0 to surface panic (#17992)
* Bump golang.org/x/sync to 0.16.0 to surface panic (#17975) Action item from #17967 golang.org/x/sync errgroup 0.15.0 does not propagate panics immediately which makes it very hard to detect issues. This is fixed in 0.16.0. Bump dep to 0.16.0. No changelog as there should be no change in behavior unless there is a panic. Not feasible to add unit test as panic in goroutine cannot be caught unless there is implementation code change. (cherry picked from commit fcb0471) # Conflicts: # NOTICE-fips.txt # go.mod # systemtest/go.mod # systemtest/go.sum * Remove NOTICE-fips.txt * Fix conflicts --------- Co-authored-by: Carson Ip <carsonip@users.noreply.github.com> Co-authored-by: Carson Ip <carson.ip@elastic.co>
1 parent bf25207 commit c4f506f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6166,11 +6166,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
61666166

61676167
--------------------------------------------------------------------------------
61686168
Dependency : golang.org/x/sync
6169-
Version: v0.15.0
6169+
Version: v0.16.0
61706170
Licence type (autodetected): BSD-3-Clause
61716171
--------------------------------------------------------------------------------
61726172

6173-
Contents of probable licence file $GOMODCACHE/golang.org/x/sync@v0.15.0/LICENSE:
6173+
Contents of probable licence file $GOMODCACHE/golang.org/x/sync@v0.16.0/LICENSE:
61746174

61756175
Copyright 2009 The Go Authors.
61766176

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ require (
5151
go.uber.org/zap v1.27.0
5252
go.uber.org/zap/exp v0.3.0
5353
golang.org/x/net v0.40.0
54-
golang.org/x/sync v0.15.0
54+
golang.org/x/sync v0.16.0
5555
golang.org/x/term v0.32.0
5656
golang.org/x/time v0.10.0
5757
google.golang.org/grpc v1.70.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ
775775
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
776776
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
777777
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
778-
golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8=
779-
golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
778+
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
779+
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
780780
golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
781781
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
782782
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=

systemtest/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ require (
3131
go.opentelemetry.io/otel/sdk/metric v1.34.0
3232
go.opentelemetry.io/otel/trace v1.34.0
3333
go.uber.org/zap v1.27.0
34-
golang.org/x/sync v0.11.0
34+
golang.org/x/sync v0.16.0
3535
golang.org/x/sys v0.29.0
3636
golang.org/x/time v0.10.0
3737
google.golang.org/grpc v1.70.0

systemtest/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k=
231231
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
232232
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
233233
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
234-
golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=
235-
golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
234+
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
235+
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
236236
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
237237
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
238238
golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

0 commit comments

Comments
 (0)