[go] net: context aware network Dialer.Dial functions

49 views
Skip to first unread message

Michael Fraenkel (Gerrit)

unread,
May 1, 2023, 3:26:26 PM5/1/23
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Michael Fraenkel has uploaded this change for review.

View Change

net: context aware network Dialer.Dial functions

Add context aware dial functions for TCP, UDP, IP and Unix networks.

Fixes #49097
Updates #59897

Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
---
M src/net/dial.go
M src/net/dial_test.go
M src/net/iprawsock.go
M src/net/tcpsock.go
M src/net/udpsock.go
M src/net/unixsock.go
6 files changed, 159 insertions(+), 15 deletions(-)

diff --git a/src/net/dial.go b/src/net/dial.go
index 58e3b39..f1d8d06 100644
--- a/src/net/dial.go
+++ b/src/net/dial.go
@@ -7,6 +7,7 @@
import (
"context"
"internal/nettrace"
+ "net/netip"
"syscall"
"time"
)
@@ -408,6 +409,7 @@
// sysDialer contains a Dial's parameters and configuration.
type sysDialer struct {
Dialer
+ localAddr Addr
network, address string
testHookDialTCP func(ctx context.Context, net string, laddr, raddr *TCPAddr) (*TCPConn, error)
}
@@ -442,6 +444,9 @@
// See func Dial for a description of the network and address
// parameters.
func (d *Dialer) DialContext(ctx context.Context, network, address string) (Conn, error) {
+ return d.dialContext(ctx, network, d.LocalAddr, address)
+}
+func (d *Dialer) dialContext(ctx context.Context, network string, laddr Addr, address string) (Conn, error) {
if ctx == nil {
panic("nil context")
}
@@ -481,9 +486,10 @@
}

sd := &sysDialer{
- Dialer: *d,
- network: network,
- address: address,
+ Dialer: *d,
+ localAddr: laddr,
+ network: network,
+ address: address,
}

var primaries, fallbacks addrList
@@ -496,6 +502,26 @@
return sd.dialParallel(ctx, primaries, fallbacks)
}

+func (d *Dialer) DialTCP(ctx context.Context, network string, laddr netip.AddrPort, raddr netip.AddrPort) (*TCPConn, error) {
+ conn, err := d.dialContext(ctx, network, TCPAddrFromAddrPort(laddr), raddr.String())
+ return conn.(*TCPConn), err
+}
+
+func (d *Dialer) DialUDP(ctx context.Context, network string, laddr netip.AddrPort, raddr netip.AddrPort) (*UDPConn, error) {
+ conn, err := d.dialContext(ctx, network, UDPAddrFromAddrPort(laddr), raddr.String())
+ return conn.(*UDPConn), err
+}
+
+func (d *Dialer) DialIP(ctx context.Context, network string, laddr netip.Addr, raddr netip.Addr) (*IPConn, error) {
+ conn, err := d.dialContext(ctx, network, IPAddrFromAddr(laddr), raddr.String())
+ return conn.(*IPConn), err
+}
+
+func (d *Dialer) DialUnix(ctx context.Context, network string, laddr *UnixAddr, raddr *UnixAddr) (*UnixConn, error) {
+ conn, err := d.dialContext(ctx, network, laddr, raddr.Name)
+ return conn.(*UnixConn), err
+}
+
// dialParallel races two copies of dialSerial, giving the first a
// head start. It returns the first established connection and
// closes the others. Otherwise it returns an error from the first
@@ -539,7 +565,7 @@
go startRacer(primaryCtx, true)

// Start the timer for the fallback racer.
- fallbackTimer := time.NewTimer(sd.fallbackDelay())
+ fallbackTimer := time.NewTimer(sd.Dialer.fallbackDelay())
defer fallbackTimer.Stop()

for {
@@ -580,7 +606,7 @@
for i, ra := range ras {
select {
case <-ctx.Done():
- return nil, &OpError{Op: "dial", Net: sd.network, Source: sd.LocalAddr, Addr: ra, Err: mapErr(ctx.Err())}
+ return nil, &OpError{Op: "dial", Net: sd.network, Source: sd.localAddr, Addr: ra, Err: mapErr(ctx.Err())}
default:
}

@@ -590,7 +616,7 @@
if err != nil {
// Ran out of time.
if firstErr == nil {
- firstErr = &OpError{Op: "dial", Net: sd.network, Source: sd.LocalAddr, Addr: ra, Err: err}
+ firstErr = &OpError{Op: "dial", Net: sd.network, Source: sd.localAddr, Addr: ra, Err: err}
}
break
}
@@ -629,11 +655,11 @@
defer func() { trace.ConnectDone(sd.network, raStr, err) }()
}
}
- la := sd.LocalAddr
+ la := sd.localAddr
switch ra := ra.(type) {
case *TCPAddr:
la, _ := la.(*TCPAddr)
- if sd.MultipathTCP() {
+ if sd.Dialer.MultipathTCP() {
c, err = sd.dialMPTCP(ctx, la, ra)
} else {
c, err = sd.dialTCP(ctx, la, ra)
diff --git a/src/net/dial_test.go b/src/net/dial_test.go
index d4db405..2e6fc50 100644
--- a/src/net/dial_test.go
+++ b/src/net/dial_test.go
@@ -13,6 +13,7 @@
"fmt"
"internal/testenv"
"io"
+ "net/netip"
"os"
"runtime"
"strings"
@@ -262,6 +263,7 @@
startTime := time.Now()
sd := &sysDialer{
Dialer: d,
+ localAddr: d.LocalAddr,
network: "tcp",
address: "?",
testHookDialTCP: dialTCP,
@@ -458,9 +460,10 @@
FallbackDelay: fallbackDelay,
}
sd := &sysDialer{
- Dialer: d,
- network: "tcp",
- address: "?",
+ Dialer: d,
+ localAddr: d.LocalAddr,
+ network: "tcp",
+ address: "?",
}

makeAddr := func(ip string) addrList {
@@ -1000,6 +1003,97 @@
})
}

+func TestDialContext(t *testing.T) {
+ switch runtime.GOOS {
+ case "plan9":
+ t.Skipf("not supported on %s", runtime.GOOS)
+ }
+
+ t.Run("StreamDial", func(t *testing.T) {
+ var err error
+ for i, network := range []string{"tcp", "tcp4", "tcp6", "unix", "unixpacket"} {
+ if !testableNetwork(network) {
+ continue
+ }
+ ln := newLocalListener(t, network)
+ defer ln.Close()
+ var id int
+ d := Dialer{ControlContext: func(ctx context.Context, network string, address string, c syscall.RawConn) error {
+ id = ctx.Value("id").(int)
+ return controlOnConnSetup(network, address, c)
+ }}
+ var c Conn
+ switch network {
+ case "tcp", "tcp4", "tcp6":
+ raddr, err := netip.ParseAddrPort(ln.Addr().String())
+ if err != nil {
+ t.Error(err)
+ continue
+ }
+ c, err = d.DialTCP(context.WithValue(context.Background(), "id", i+1), network, (*TCPAddr)(nil).AddrPort(), raddr)
+ case "unix", "unixpacket":
+ raddr, err := ResolveUnixAddr(network, ln.Addr().String())
+ if err != nil {
+ t.Error(err)
+ continue
+ }
+ c, err = d.DialUnix(context.WithValue(context.Background(), "id", i+1), network, nil, raddr)
+ }
+ if err != nil {
+ t.Error(err)
+ continue
+ }
+ if id != i+1 {
+ t.Errorf("got id %d, want %d", id, i+1)
+ }
+ c.Close()
+ }
+ })
+ t.Run("PacketDial", func(t *testing.T) {
+ var err error
+ for i, network := range []string{"udp", "udp4", "udp6", "unixgram"} {
+ if !testableNetwork(network) {
+ continue
+ }
+ c1 := newLocalPacketListener(t, network)
+ if network == "unixgram" {
+ defer os.Remove(c1.LocalAddr().String())
+ }
+ defer c1.Close()
+ var id int
+ d := Dialer{ControlContext: func(ctx context.Context, network string, address string, c syscall.RawConn) error {
+ id = ctx.Value("id").(int)
+ return controlOnConnSetup(network, address, c)
+ }}
+ var c2 Conn
+ switch network {
+ case "udp", "udp4", "udp6":
+ raddr, err := netip.ParseAddrPort(c1.LocalAddr().String())
+ if err != nil {
+ t.Error(err)
+ continue
+ }
+ c2, err = d.DialUDP(context.WithValue(context.Background(), "id", i+1), network, (*UDPAddr)(nil).AddrPort(), raddr)
+ case "unixgram":
+ raddr, err := ResolveUnixAddr(network, c1.LocalAddr().String())
+ if err != nil {
+ t.Error(err)
+ continue
+ }
+ c2, err = d.DialUnix(context.WithValue(context.Background(), "id", i+1), network, nil, raddr)
+ }
+ if err != nil {
+ t.Error(err)
+ continue
+ }
+ if id != i+1 {
+ t.Errorf("got id %d, want %d", id, i+1)
+ }
+ c2.Close()
+ }
+ })
+}
+
// mustHaveExternalNetwork is like testenv.MustHaveExternalNetwork
// except that it won't skip testing on non-mobile builders.
func mustHaveExternalNetwork(t *testing.T) {
diff --git a/src/net/iprawsock.go b/src/net/iprawsock.go
index f18331a..a4b5823 100644
--- a/src/net/iprawsock.go
+++ b/src/net/iprawsock.go
@@ -6,6 +6,7 @@

import (
"context"
+ "net/netip"
"syscall"
)

@@ -27,6 +28,13 @@
// BUG(mikio): On Windows, the File method of IPConn is not
// implemented.

+func IPAddrFromAddr(addr netip.Addr) *IPAddr {
+ return &IPAddr{
+ IP: addr.AsSlice(),
+ Zone: addr.Zone(),
+ }
+}
+
// IPAddr represents the address of an IP end point.
type IPAddr struct {
IP IP
@@ -209,11 +217,15 @@
// If the IP field of raddr is nil or an unspecified IP address, the
// local system is assumed.
func DialIP(network string, laddr, raddr *IPAddr) (*IPConn, error) {
+ return dialIP(context.Background(), network, laddr, raddr)
+}
+
+func dialIP(ctx context.Context, network string, laddr, raddr *IPAddr) (*IPConn, error) {
if raddr == nil {
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: nil, Err: errMissingAddress}
}
sd := &sysDialer{network: network, address: raddr.String()}
- c, err := sd.dialIP(context.Background(), laddr, raddr)
+ c, err := sd.dialIP(ctx, laddr, raddr)
if err != nil {
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: err}
}
diff --git a/src/net/tcpsock.go b/src/net/tcpsock.go
index 358e487..b389ffe 100644
--- a/src/net/tcpsock.go
+++ b/src/net/tcpsock.go
@@ -258,6 +258,10 @@
// If the IP field of raddr is nil or an unspecified IP address, the
// local system is assumed.
func DialTCP(network string, laddr, raddr *TCPAddr) (*TCPConn, error) {
+ return dialTCP(context.Background(), network, laddr, raddr)
+}
+
+func dialTCP(ctx context.Context, network string, laddr, raddr *TCPAddr) (*TCPConn, error) {
switch network {
case "tcp", "tcp4", "tcp6":
default:
@@ -267,7 +271,7 @@
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: nil, Err: errMissingAddress}
}
sd := &sysDialer{network: network, address: raddr.String()}
- c, err := sd.dialTCP(context.Background(), laddr, raddr)
+ c, err := sd.dialTCP(ctx, laddr, raddr)
if err != nil {
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: err}
}
diff --git a/src/net/udpsock.go b/src/net/udpsock.go
index e30624d..aeec8ff 100644
--- a/src/net/udpsock.go
+++ b/src/net/udpsock.go
@@ -288,6 +288,10 @@
// If the IP field of raddr is nil or an unspecified IP address, the
// local system is assumed.
func DialUDP(network string, laddr, raddr *UDPAddr) (*UDPConn, error) {
+ return dialUDP(context.Background(), network, laddr, raddr)
+}
+
+func dialUDP(ctx context.Context, network string, laddr, raddr *UDPAddr) (*UDPConn, error) {
switch network {
case "udp", "udp4", "udp6":
default:
@@ -297,7 +301,7 @@
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: nil, Err: errMissingAddress}
}
sd := &sysDialer{network: network, address: raddr.String()}
- c, err := sd.dialUDP(context.Background(), laddr, raddr)
+ c, err := sd.dialUDP(ctx, laddr, raddr)
if err != nil {
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: err}
}
diff --git a/src/net/unixsock.go b/src/net/unixsock.go
index 14fbac0..000267a 100644
--- a/src/net/unixsock.go
+++ b/src/net/unixsock.go
@@ -201,13 +201,17 @@
// If laddr is non-nil, it is used as the local address for the
// connection.
func DialUnix(network string, laddr, raddr *UnixAddr) (*UnixConn, error) {
+ return dialUnix(context.Background(), network, laddr, raddr)
+}
+
+func dialUnix(ctx context.Context, network string, laddr, raddr *UnixAddr) (*UnixConn, error) {
switch network {
case "unix", "unixgram", "unixpacket":
default:
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: UnknownNetworkError(network)}
}
sd := &sysDialer{network: network, address: raddr.String()}
- c, err := sd.dialUnix(context.Background(), laddr, raddr)
+ c, err := sd.dialUnix(ctx, laddr, raddr)
if err != nil {
return nil, &OpError{Op: "dial", Net: network, Source: laddr.opAddr(), Addr: raddr.opAddr(), Err: err}
}

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>

Damien Neil (Gerrit)

unread,
May 1, 2023, 4:14:51 PM5/1/23
to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com

Attention is currently required from: Ian Lance Taylor, Michael Fraenkel.

View Change

4 comments:

  • Patchset:

  • File src/net/dial.go:

    • Patch Set #1, Line 412: localAddr Addr

      This is confusing, because there's now sysDialer.LocalAddr (by way of the embedded Dialer), and sysDialer.localAddr. I don't have any confidence we'll pick the right one in any future code that touches this.

      The Dialer.DialTCP (etc.) functions in the accepted proposal are a bit weird, because they take a laddr parameter that presumably overrides Dialer.LocalAddr. I'd say that this is a mistake, but the parameter is a netip.AddrPort rather than a LocalAddr, so there's perhaps a good reason for the inconsistency.

      Assuming Dialer.DialTCP takes a laddr parameter, I think we should pass it down the call stack as a parameter rather than adding a field here.

    • Patch Set #1, Line 449: func (d *Dialer) dialContext(ctx context.Context, network string, laddr Addr, address string) (Conn, error) {

      I think this is the wrong place to hook in DialTCP (etc.). DialContext resolves am address and dials it, handling the possibility of the address string resolving to multiple IP addresses.

      DialTCP doesn't need to resolve any addresses; it's working on an already resolved IP address. It doesn't need to handle multiple targets.

      I think Dialer.DialTCP should call Dialer.dialSingle, or possibly we should factor out a version of net.DialTCP that takes a Context parameter.

    • Patch Set #1, Line 523: }

      These all need doc comments.

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
Gerrit-Comment-Date: Mon, 01 May 2023 20:14:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Michael Fraenkel (Gerrit)

unread,
May 2, 2023, 3:16:45 PM5/2/23
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Attention is currently required from: Ian Lance Taylor, Michael Fraenkel.

Michael Fraenkel uploaded patch set #2 to this change.

View Change

net: context aware network Dialer.Dial functions

Add context aware dial functions for TCP, UDP, IP and Unix networks.

Fixes #49097
Updates #59897

Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
---
M src/net/dial.go
M src/net/dial_test.go
M src/net/iprawsock.go
M src/net/tcpsock.go
M src/net/udpsock.go
M src/net/unixsock.go
6 files changed, 226 insertions(+), 27 deletions(-)

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 2

Andy Pan (Gerrit)

unread,
Aug 19, 2023, 10:56:55 PM8/19/23
to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ian Lance Taylor, Damien Neil, Gopher Robot, golang-co...@googlegroups.com

Attention is currently required from: Ian Lance Taylor, Michael Fraenkel.

View Change

1 comment:

  • Patchset:

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Andy Pan <panj...@gmail.com>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
Gerrit-Comment-Date: Sun, 20 Aug 2023 02:56:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Michael Fraenkel (Gerrit)

unread,
Aug 19, 2023, 11:45:19 PM8/19/23
to goph...@pubsubhelper.golang.org, Andy Pan, Ian Lance Taylor, Damien Neil, Gopher Robot, golang-co...@googlegroups.com

Attention is currently required from: Andy Pan, Damien Neil, Ian Lance Taylor.

View Change

4 comments:

  • Patchset:

    • All comments are addressed.

  • File src/net/dial.go:

    • This is confusing, because there's now sysDialer. […]

      Acknowledged

    • Patch Set #1, Line 449: func (d *Dialer) dialContext(ctx context.Context, network string, laddr Addr, address string) (Conn, error) {

    • I think this is the wrong place to hook in DialTCP (etc.). […]

      Acknowledged

    • Acknowledged

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Andy Pan <panj...@gmail.com>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Andy Pan <panj...@gmail.com>
Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
Gerrit-Comment-Date: Sun, 20 Aug 2023 03:45:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Damien Neil <dn...@google.com>
Comment-In-Reply-To: Andy Pan <panj...@gmail.com>

Andy Pan (Gerrit)

unread,
Aug 19, 2023, 11:46:27 PM8/19/23
to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ian Lance Taylor, Damien Neil, Gopher Robot, golang-co...@googlegroups.com

Attention is currently required from: Damien Neil, Ian Lance Taylor, Michael Fraenkel.

Patch set 2:Run-TryBot +1

View Change

1 comment:

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
Gerrit-Comment-Date: Sun, 20 Aug 2023 03:46:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Andy Pan <panj...@gmail.com>
Comment-In-Reply-To: Michael Fraenkel <michael....@gmail.com>

Ian Lance Taylor (Gerrit)

unread,
Aug 20, 2023, 12:48:54 PM8/20/23
to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Andy Pan, Ian Lance Taylor, Damien Neil, golang-co...@googlegroups.com

Attention is currently required from: Damien Neil, Michael Fraenkel.

View Change

1 comment:

To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
Gerrit-Change-Number: 490975
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
Gerrit-Comment-Date: Sun, 20 Aug 2023 16:48:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Andy Pan (Gerrit)

unread,
Aug 20, 2023, 6:28:14 PM8/20/23
to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Damien Neil, golang-co...@googlegroups.com

Attention is currently required from: Damien Neil, Michael Fraenkel.

Patch set 3:Run-TryBot +1

View Change

    To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
    Gerrit-Change-Number: 490975
    Gerrit-PatchSet: 3
    Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
    Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
    Gerrit-Reviewer: Damien Neil <dn...@google.com>
    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
    Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
    Gerrit-Attention: Damien Neil <dn...@google.com>
    Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
    Gerrit-Comment-Date: Sun, 20 Aug 2023 22:28:07 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes

    Andy Pan (Gerrit)

    unread,
    Aug 20, 2023, 11:00:30 PM8/20/23
    to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Damien Neil, golang-co...@googlegroups.com

    Attention is currently required from: Damien Neil, Michael Fraenkel.

    Patch set 3:-Run-TryBot

    View Change

    1 comment:

    • Patchset:

      • Patch Set #3:

        1 of 46 TryBots failed. […]

        Adding new APIs requires a new text file in `go/api/next/` to declare them, otherwise the try-bots will fail.

    To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
    Gerrit-Change-Number: 490975
    Gerrit-PatchSet: 3
    Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
    Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
    Gerrit-Reviewer: Damien Neil <dn...@google.com>
    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
    Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
    Gerrit-Attention: Damien Neil <dn...@google.com>
    Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
    Gerrit-Comment-Date: Mon, 21 Aug 2023 03:00:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Gopher Robot <go...@golang.org>

    Michael Fraenkel (Gerrit)

    unread,
    Aug 21, 2023, 9:01:18 AM8/21/23
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

    Attention is currently required from: Damien Neil, Michael Fraenkel.

    Michael Fraenkel uploaded patch set #4 to this change.

    View Change

    The following approvals got outdated and were removed: TryBot-Result-1 by Gopher Robot

    net: context aware network Dialer.Dial functions

    Add context aware dial functions for TCP, UDP, IP and Unix networks.

    Fixes #49097
    Updates #59897

    Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
    ---
    A api/next/49097.txt

    M src/net/dial.go
    M src/net/dial_test.go
    M src/net/iprawsock.go
    M src/net/tcpsock.go
    M src/net/udpsock.go
    M src/net/unixsock.go
    7 files changed, 231 insertions(+), 27 deletions(-)

    To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: newpatchset
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
    Gerrit-Change-Number: 490975
    Gerrit-PatchSet: 4

    Michael Fraenkel (Gerrit)

    unread,
    Aug 21, 2023, 9:01:34 AM8/21/23
    to goph...@pubsubhelper.golang.org, Gopher Robot, Andy Pan, Ian Lance Taylor, Damien Neil, golang-co...@googlegroups.com

    Attention is currently required from: Andy Pan, Damien Neil.

    View Change

    1 comment:

    • Patchset:

      • Patch Set #3:

        Adding new APIs requires a new text file in `go/api/next/` to declare them, otherwise the try-bots w […]

        Acknowledged

    To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
    Gerrit-Change-Number: 490975
    Gerrit-PatchSet: 4
    Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
    Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
    Gerrit-Reviewer: Damien Neil <dn...@google.com>
    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
    Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
    Gerrit-Attention: Damien Neil <dn...@google.com>
    Gerrit-Attention: Andy Pan <panj...@gmail.com>
    Gerrit-Comment-Date: Mon, 21 Aug 2023 13:01:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Gopher Robot <go...@golang.org>
    Comment-In-Reply-To: Andy Pan <panj...@gmail.com>

    Ian Lance Taylor (Gerrit)

    unread,
    Aug 21, 2023, 6:59:40 PM8/21/23
    to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ian Lance Taylor, Gopher Robot, Andy Pan, Damien Neil, golang-co...@googlegroups.com

    Attention is currently required from: Andy Pan, Damien Neil, Michael Fraenkel.

    Patch set 4:Run-TryBot +1

    View Change

      To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 4
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Mon, 21 Aug 2023 22:59:35 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes

      Damien Neil (Gerrit)

      unread,
      Aug 22, 2023, 6:22:06 PM8/22/23
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Andy Pan, golang-co...@googlegroups.com

      Attention is currently required from: Andy Pan, Michael Fraenkel.

      View Change

      3 comments:

      • File api/next/49097.txt:

        • Patch Set #4, Line 1: pkg net, func IPAddrFromAddr(netip.Addr) *IPAddr

          This does not appear to be part of #49097.

        • Patch Set #4, Line 2: netp.Addr

          typo: `s/netp.Addr/netip.Addr/`

          (See test failure.)

        • Patch Set #4, Line 5: pkg net, method (*Dialer) DialUnix(context.Context, string, *UnixAddr, *UnixAddr) (*UnixConn, error)

          These should all be suffixed with the proposal number (see test failure):

          ```
          pkg net, method (*Dialer) DialUnix(context.Context, string, *UnixAddr, *UnixAddr) (*UnixConn, error) #49097
          ```

      To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 4
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Tue, 22 Aug 2023 22:22:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No

      Michael Fraenkel (Gerrit)

      unread,
      Aug 22, 2023, 6:52:03 PM8/22/23
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

      Attention is currently required from: Andy Pan, Ian Lance Taylor, Michael Fraenkel.

      Michael Fraenkel uploaded patch set #5 to this change.

      View Change

      The following approvals got outdated and were removed: Run-TryBot+1 by Ian Lance Taylor, TryBot-Result-1 by Gopher Robot

      net: context aware network Dialer.Dial functions

      Add context aware dial functions for TCP, UDP, IP and Unix networks.

      Fixes #49097
      Updates #59897

      Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      ---
      A api/next/49097.txt
      M src/net/dial.go
      M src/net/dial_test.go
      M src/net/iprawsock.go
      M src/net/tcpsock.go
      M src/net/udpsock.go
      M src/net/unixsock.go
      7 files changed, 230 insertions(+), 27 deletions(-)

      To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: newpatchset
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 5
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>

      Michael Fraenkel (Gerrit)

      unread,
      Aug 22, 2023, 6:52:07 PM8/22/23
      to goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Andy Pan, Damien Neil, golang-co...@googlegroups.com

      Attention is currently required from: Andy Pan, Damien Neil, Ian Lance Taylor.

      View Change

      3 comments:

      • File api/next/49097.txt:

        • Patch Set #4, Line 1: pkg net, func IPAddrFromAddr(netip.Addr) *IPAddr

          This does not appear to be part of #49097.

        • I just copied the error listing the diff. I have removed it.

        • typo: `s/netp.Addr/netip.Addr/` […]

          Acknowledged

        • Patch Set #4, Line 5: pkg net, method (*Dialer) DialUnix(context.Context, string, *UnixAddr, *UnixAddr) (*UnixConn, error)

        • These should all be suffixed with the proposal number (see test failure): […]

          Acknowledged

      To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 4
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Comment-Date: Tue, 22 Aug 2023 22:52:02 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Damien Neil <dn...@google.com>

      Damien Neil (Gerrit)

      unread,
      Aug 23, 2023, 12:35:48 PM8/23/23
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Andy Pan, golang-co...@googlegroups.com

      Attention is currently required from: Andy Pan, Ian Lance Taylor, Michael Fraenkel.

      View Change

      2 comments:

      • File api/next/49097.txt:

        • I just copied the error listing the diff. I have removed it.

          Acknowledged

      • File src/net/iprawsock.go:

        • Patch Set #5, Line 31: func IPAddrFromAddr(addr netip.Addr) *IPAddr {

          This function isn't part of the proposal, so it needs to be unexported: `ipAddrFromAddr`. (Or just inline it into `dialIP`, since it's used in only one place.)

      To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 5
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Wed, 23 Aug 2023 16:35:42 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Damien Neil <dn...@google.com>
      Comment-In-Reply-To: Michael Fraenkel <michael....@gmail.com>

      Michael Fraenkel (Gerrit)

      unread,
      Aug 23, 2023, 12:44:09 PM8/23/23
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

      Attention is currently required from: Andy Pan, Ian Lance Taylor, Michael Fraenkel.

      Michael Fraenkel uploaded patch set #6 to this change.

      View Change

      net: context aware network Dialer.Dial functions


      Add context aware dial functions for TCP, UDP, IP and Unix networks.

      Fixes #49097
      Updates #59897

      Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      ---
      A api/next/49097.txt
      M src/net/dial.go
      M src/net/dial_test.go
      M src/net/iprawsock.go
      M src/net/tcpsock.go
      M src/net/udpsock.go
      M src/net/unixsock.go
      7 files changed, 230 insertions(+), 27 deletions(-)

      To view, visit change 490975. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: newpatchset
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 6

      Andy Pan (Gerrit)

      unread,
      Jan 31, 2024, 4:41:22 AM1/31/24
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Damien Neil, golang-co...@googlegroups.com
      Attention needed from Ian Lance Taylor and Michael Fraenkel

      Andy Pan added 1 comment

      Patchset-level comments
      File-level comment, Patchset 6 (Latest):
      Andy Pan . resolved

      Hi @michael....@gmail.com, there have been some new requirements for API changes while this CL was sitting idle. If you're still interested in working on it, please check [this](https://groups.google.com/g/golang-dev/c/Ia9VoYBTRoI/m/kucsvi0iBQAJ) out and update this CL accordingly, thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 6
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Wed, 31 Jan 2024 09:41:16 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      open
      diffy

      Michael Fraenkel (Gerrit)

      unread,
      Jan 31, 2024, 11:23:42 PM1/31/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Ian Lance Taylor and Michael Fraenkel

      Michael Fraenkel uploaded new patchset

      Michael Fraenkel uploaded patch set #7 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 7
      unsatisfied_requirement
      open
      diffy

      Michael Fraenkel (Gerrit)

      unread,
      Jan 31, 2024, 11:25:49 PM1/31/24
      to goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Andy Pan, Damien Neil, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Damien Neil and Ian Lance Taylor

      Michael Fraenkel added 2 comments

      Patchset-level comments
      Andy Pan . resolved

      Hi @michael....@gmail.com, there have been some new requirements for API changes while this CL was sitting idle. If you're still interested in working on it, please check [this](https://groups.google.com/g/golang-dev/c/Ia9VoYBTRoI/m/kucsvi0iBQAJ) out and update this CL accordingly, thanks!

      Michael Fraenkel

      Added a relnote.

      File src/net/iprawsock.go
      Line 31, Patchset 5:func IPAddrFromAddr(addr netip.Addr) *IPAddr {
      Damien Neil . resolved

      This function isn't part of the proposal, so it needs to be unexported: `ipAddrFromAddr`. (Or just inline it into `dialIP`, since it's used in only one place.)

      Michael Fraenkel

      Acknowledged

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Damien Neil
      • Ian Lance Taylor
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 7
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Comment-Date: Thu, 01 Feb 2024 04:25:44 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Damien Neil <dn...@google.com>
      Comment-In-Reply-To: Andy Pan <panj...@gmail.com>
      unsatisfied_requirement
      open
      diffy

      Andy Pan (Gerrit)

      unread,
      Feb 1, 2024, 12:18:04 AM2/1/24
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Gopher Robot, Ian Lance Taylor, Damien Neil, golang-co...@googlegroups.com
      Attention needed from Damien Neil, Ian Lance Taylor and Michael Fraenkel

      Andy Pan voted Run-TryBot+1

      Run-TryBot+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Damien Neil
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 7
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Thu, 01 Feb 2024 05:17:58 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      open
      diffy

      Michael Fraenkel (Gerrit)

      unread,
      Feb 1, 2024, 9:11:29 AM2/1/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Damien Neil, Ian Lance Taylor and Michael Fraenkel

      Michael Fraenkel uploaded new patchset

      Michael Fraenkel uploaded patch set #8 to this change.
      Following approvals got outdated and were removed:
      • TryBots-Pass: TryBot-Result-1 by Gopher Robot
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Damien Neil
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 8
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      unsatisfied_requirement
      open
      diffy

      Ian Lance Taylor (Gerrit)

      unread,
      Feb 5, 2024, 6:34:40 PM2/5/24
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ian Lance Taylor, Gopher Robot, Andy Pan, Damien Neil, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Damien Neil and Michael Fraenkel

      Ian Lance Taylor voted and added 1 comment

      Votes added by Ian Lance Taylor

      Commit-Queue+1

      1 comment

      Commit Message
      Line 7, Patchset 8 (Latest):et: context aware network Dialer.Dial functions
      Ian Lance Taylor . unresolved

      s/et/net/

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Damien Neil
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 8
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Mon, 05 Feb 2024 23:34:35 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      open
      diffy

      Michael Fraenkel (Gerrit)

      unread,
      Feb 5, 2024, 11:03:35 PM2/5/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Damien Neil, Ian Lance Taylor and Michael Fraenkel

      Michael Fraenkel uploaded new patchset

      Michael Fraenkel uploaded patch set #9 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Damien Neil
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 9
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      unsatisfied_requirement
      open
      diffy

      Michael Fraenkel (Gerrit)

      unread,
      Feb 5, 2024, 11:03:58 PM2/5/24
      to goph...@pubsubhelper.golang.org, Go LUCI, Ian Lance Taylor, Gopher Robot, Andy Pan, Damien Neil, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Damien Neil and Ian Lance Taylor

      Michael Fraenkel added 1 comment

      Commit Message
      Line 7, Patchset 8:et: context aware network Dialer.Dial functions
      Ian Lance Taylor . resolved

      s/et/net/

      Michael Fraenkel

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Damien Neil
      • Ian Lance Taylor
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 9
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Damien Neil <dn...@google.com>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Comment-Date: Tue, 06 Feb 2024 04:03:53 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Ian Lance Taylor <ia...@golang.org>
      unsatisfied_requirement
      open
      diffy

      Damien Neil (Gerrit)

      unread,
      Feb 14, 2024, 7:45:08 PM2/14/24
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Go LUCI, Ian Lance Taylor, Gopher Robot, Andy Pan, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Ian Lance Taylor and Michael Fraenkel

      Damien Neil voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
      Gerrit-Change-Number: 490975
      Gerrit-PatchSet: 10
      Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Andy Pan <panj...@gmail.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
      Gerrit-Comment-Date: Thu, 15 Feb 2024 00:45:03 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      open
      diffy

      Ingo Oeser (Gerrit)

      unread,
      Feb 15, 2024, 5:48:58 PM2/15/24
      to Michael Fraenkel, goph...@pubsubhelper.golang.org, Go LUCI, Damien Neil, Ian Lance Taylor, Gopher Robot, Andy Pan, golang-co...@googlegroups.com
      Attention needed from Andy Pan, Ian Lance Taylor and Michael Fraenkel

      Ingo Oeser added 2 comments

      Patchset-level comments
      File-level comment, Patchset 10 (Latest):
      Ingo Oeser . resolved

      Identified possible copy'n'paste bug.

      File src/net/dial.go
      Line 561, Patchset 10 (Latest):// The network must be a UDP network name; see func Dial for details.
      Ingo Oeser . unresolved

      does this really have to be an UDP network name for DialIP?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Pan
      • Ian Lance Taylor
      • Michael Fraenkel
      Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: go
        Gerrit-Branch: master
        Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
        Gerrit-Change-Number: 490975
        Gerrit-PatchSet: 10
        Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
        Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
        Gerrit-Reviewer: Damien Neil <dn...@google.com>
        Gerrit-Reviewer: Gopher Robot <go...@golang.org>
        Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
        Gerrit-CC: Ingo Oeser <night...@googlemail.com>
        Gerrit-Attention: Andy Pan <panj...@gmail.com>
        Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
        Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
        Gerrit-Comment-Date: Thu, 15 Feb 2024 22:48:52 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Michael Fraenkel (Gerrit)

        unread,
        Feb 15, 2024, 11:45:06 PM2/15/24
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
        Attention needed from Andy Pan, Ian Lance Taylor and Michael Fraenkel

        Michael Fraenkel uploaded new patchset

        Michael Fraenkel uploaded patch set #11 to this change.
        Following approvals got outdated and were removed:
        • TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Andy Pan
        • Ian Lance Taylor
        • Michael Fraenkel
        Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement is not satisfiedTryBots-Pass
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: newpatchset
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
          Gerrit-Change-Number: 490975
          Gerrit-PatchSet: 11
          unsatisfied_requirement
          open
          diffy

          Michael Fraenkel (Gerrit)

          unread,
          Feb 15, 2024, 11:45:46 PM2/15/24
          to goph...@pubsubhelper.golang.org, Ingo Oeser, Go LUCI, Damien Neil, Ian Lance Taylor, Gopher Robot, Andy Pan, golang-co...@googlegroups.com
          Attention needed from Andy Pan, Ian Lance Taylor and Ingo Oeser

          Michael Fraenkel added 1 comment

          File src/net/dial.go
          Line 561, Patchset 10:// The network must be a UDP network name; see func Dial for details.
          Ingo Oeser . resolved

          does this really have to be an UDP network name for DialIP?

          Michael Fraenkel

          Acknowledged

          fix the two places that were incorrect.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andy Pan
          • Ian Lance Taylor
          • Ingo Oeser
          Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement is not satisfiedTryBots-Pass
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
          Gerrit-Change-Number: 490975
          Gerrit-PatchSet: 11
          Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
          Gerrit-Reviewer: Andy Pan <panj...@gmail.com>
          Gerrit-Reviewer: Damien Neil <dn...@google.com>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
          Gerrit-CC: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Andy Pan <panj...@gmail.com>
          Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
          Gerrit-Comment-Date: Fri, 16 Feb 2024 04:45:41 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Ingo Oeser <night...@googlemail.com>
          unsatisfied_requirement
          open
          diffy

          Sean Liao (Gerrit)

          unread,
          Aug 8, 2025, 2:16:49 PMAug 8
          to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ingo Oeser, Go LUCI, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
          Attention needed from Ian Lance Taylor, Ingo Oeser and Michael Fraenkel

          Sean Liao voted and added 3 comments

          Votes added by Sean Liao

          Code-Review+1

          3 comments

          Patchset-level comments
          File-level comment, Patchset 7:
          Gopher Robot . resolved

          TryBots beginning. Status page: https://farmer.golang.org/try?commit=67f78788

          Gopher Robot

          2 of 47 TryBots failed.
          Failed on js-wasm-node18: https://storage.googleapis.com/go-build-log/67f78788/js-wasm-node18_52dd567e.log
          Failed on wasip1-wasm-wasmtime: https://storage.googleapis.com/go-build-log/67f78788/wasip1-wasm-wasmtime_1525d42e.log

          Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test *exactly* your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.

          Sean Liao

          Acknowledged

          File-level comment, Patchset 11 (Latest):
          Sean Liao . resolved

          Please resolve the merge conflict

          File src/net/dial.go
          Line 12, Patchset 11 (Latest):
          Sean Liao . unresolved

          Why is this reordered / split?

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Lance Taylor
          • Ingo Oeser
          • Michael Fraenkel
          Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement is not satisfiedTryBots-Pass
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
          Gerrit-Change-Number: 490975
          Gerrit-PatchSet: 11
          Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
          Gerrit-Reviewer: Damien Neil <dn...@google.com>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
          Gerrit-Reviewer: Sean Liao <se...@liao.dev>
          Gerrit-CC: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
          Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
          Gerrit-Comment-Date: Fri, 08 Aug 2025 18:16:40 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          Comment-In-Reply-To: Gopher Robot <go...@golang.org>
          unsatisfied_requirement
          open
          diffy

          Michael Fraenkel (Gerrit)

          unread,
          Aug 8, 2025, 8:18:01 PMAug 8
          to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
          Attention needed from Ian Lance Taylor, Ingo Oeser, Michael Fraenkel and Sean Liao

          Michael Fraenkel uploaded new patchset

          Michael Fraenkel uploaded patch set #12 to this change.
          Following approvals got outdated and were removed:
          • Code-Review: +1 by Sean Liao
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Lance Taylor
          • Ingo Oeser
          • Michael Fraenkel
          • Sean Liao
          Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement is not satisfiedTryBots-Pass
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: newpatchset
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
          Gerrit-Change-Number: 490975
          Gerrit-PatchSet: 12
          Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
          Gerrit-Reviewer: Damien Neil <dn...@google.com>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
          Gerrit-Reviewer: Sean Liao <se...@liao.dev>
          Gerrit-CC: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Sean Liao <se...@liao.dev>
          unsatisfied_requirement
          open
          diffy

          Michael Fraenkel (Gerrit)

          unread,
          Aug 8, 2025, 8:18:20 PMAug 8
          to goph...@pubsubhelper.golang.org, Ingo Oeser, Go LUCI, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
          Attention needed from Ian Lance Taylor, Ingo Oeser and Sean Liao

          Michael Fraenkel added 2 comments

          Patchset-level comments
          File-level comment, Patchset 11:
          Michael Fraenkel . resolved

          Rebased

          File src/net/dial.go
          Sean Liao . unresolved

          Why is this reordered / split?

          Michael Fraenkel

          Not sure how it happened but it will be reverted.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Lance Taylor
          • Ingo Oeser
          • Sean Liao
          Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement is not satisfiedTryBots-Pass
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
          Gerrit-Change-Number: 490975
          Gerrit-PatchSet: 11
          Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
          Gerrit-Reviewer: Damien Neil <dn...@google.com>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
          Gerrit-Reviewer: Sean Liao <se...@liao.dev>
          Gerrit-CC: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
          Gerrit-Attention: Sean Liao <se...@liao.dev>
          Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
          Gerrit-Comment-Date: Sat, 09 Aug 2025 00:18:15 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Sean Liao <se...@liao.dev>
          unsatisfied_requirement
          open
          diffy

          Michael Fraenkel (Gerrit)

          unread,
          Aug 8, 2025, 8:19:17 PMAug 8
          to goph...@pubsubhelper.golang.org, Ingo Oeser, Go LUCI, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
          Attention needed from Ian Lance Taylor, Ingo Oeser and Sean Liao

          Michael Fraenkel added 1 comment

          File src/net/dial.go
          Line 12, Patchset 11:
          Sean Liao . resolved

          Why is this reordered / split?

          Michael Fraenkel

          Not sure how it happened but it will be reverted.

          Michael Fraenkel

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Ian Lance Taylor
          • Ingo Oeser
          • Sean Liao
          Submit Requirements:
            • requirement is not satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement is not satisfiedTryBots-Pass
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: go
            Gerrit-Branch: master
            Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
            Gerrit-Change-Number: 490975
            Gerrit-PatchSet: 12
            Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Reviewer: Damien Neil <dn...@google.com>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Reviewer: Sean Liao <se...@liao.dev>
            Gerrit-CC: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Sean Liao <se...@liao.dev>
            Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Comment-Date: Sat, 09 Aug 2025 00:19:13 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Sean Liao <se...@liao.dev>
            Comment-In-Reply-To: Michael Fraenkel <michael....@gmail.com>
            unsatisfied_requirement
            satisfied_requirement
            open
            diffy

            Sean Liao (Gerrit)

            unread,
            Aug 9, 2025, 3:41:15 AMAug 9
            to Michael Fraenkel, goph...@pubsubhelper.golang.org, Ingo Oeser, Go LUCI, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
            Attention needed from Ian Lance Taylor, Ingo Oeser and Michael Fraenkel

            Sean Liao voted Commit-Queue+1

            Commit-Queue+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Lance Taylor
            • Ingo Oeser
            • Michael Fraenkel
            Submit Requirements:
            • requirement is not satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement is not satisfiedTryBots-Pass
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: go
            Gerrit-Branch: master
            Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
            Gerrit-Change-Number: 490975
            Gerrit-PatchSet: 12
            Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Reviewer: Damien Neil <dn...@google.com>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Reviewer: Sean Liao <se...@liao.dev>
            Gerrit-CC: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Comment-Date: Sat, 09 Aug 2025 07:41:06 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            unsatisfied_requirement
            satisfied_requirement
            open
            diffy

            Sean Liao (Gerrit)

            unread,
            Aug 9, 2025, 5:13:35 AMAug 9
            to Michael Fraenkel, goph...@pubsubhelper.golang.org, Go LUCI, Ingo Oeser, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
            Attention needed from Ian Lance Taylor, Ingo Oeser and Michael Fraenkel

            Sean Liao voted and added 1 comment

            Votes added by Sean Liao

            Code-Review+2

            1 comment

            Commit Message
            Line 7, Patchset 12 (Latest):net: context aware network Dialer.Dial functions
            Sean Liao . unresolved

            "network" seems a bit redundant here?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Lance Taylor
            • Ingo Oeser
            • Michael Fraenkel
            Submit Requirements:
            • requirement satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement satisfiedTryBots-Pass
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: go
            Gerrit-Branch: master
            Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
            Gerrit-Change-Number: 490975
            Gerrit-PatchSet: 12
            Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Reviewer: Damien Neil <dn...@google.com>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Reviewer: Sean Liao <se...@liao.dev>
            Gerrit-CC: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Comment-Date: Sat, 09 Aug 2025 09:13:26 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Michael Fraenkel (Gerrit)

            unread,
            Aug 9, 2025, 9:03:29 AMAug 9
            to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
            Attention needed from Ian Lance Taylor, Ingo Oeser and Michael Fraenkel

            Michael Fraenkel uploaded new patchset

            Michael Fraenkel uploaded patch set #13 to this change.
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Lance Taylor
            • Ingo Oeser
            • Michael Fraenkel
            Submit Requirements:
            • requirement satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement satisfiedTryBots-Pass
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: newpatchset
            Gerrit-Project: go
            Gerrit-Branch: master
            Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
            Gerrit-Change-Number: 490975
            Gerrit-PatchSet: 13
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Michael Fraenkel (Gerrit)

            unread,
            Aug 9, 2025, 9:03:47 AMAug 9
            to goph...@pubsubhelper.golang.org, Go LUCI, Ingo Oeser, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
            Attention needed from Ian Lance Taylor and Ingo Oeser

            Michael Fraenkel added 1 comment

            Commit Message
            Line 7, Patchset 12:net: context aware network Dialer.Dial functions
            Sean Liao . resolved

            "network" seems a bit redundant here?

            Michael Fraenkel

            Acknowledged

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Lance Taylor
            • Ingo Oeser
            Submit Requirements:
            • requirement satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement satisfiedTryBots-Pass
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: go
            Gerrit-Branch: master
            Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
            Gerrit-Change-Number: 490975
            Gerrit-PatchSet: 13
            Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Reviewer: Damien Neil <dn...@google.com>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Reviewer: Sean Liao <se...@liao.dev>
            Gerrit-CC: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Comment-Date: Sat, 09 Aug 2025 13:03:43 +0000
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            David Chase (Gerrit)

            unread,
            Aug 11, 2025, 3:21:35 PMAug 11
            to Michael Fraenkel, goph...@pubsubhelper.golang.org, Go LUCI, Ingo Oeser, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
            Attention needed from Ian Lance Taylor, Ingo Oeser and Michael Fraenkel

            David Chase voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Lance Taylor
            • Ingo Oeser
            • Michael Fraenkel
            Submit Requirements:
            • requirement satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement satisfiedTryBots-Pass
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: go
            Gerrit-Branch: master
            Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
            Gerrit-Change-Number: 490975
            Gerrit-PatchSet: 13
            Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Reviewer: Damien Neil <dn...@google.com>
            Gerrit-Reviewer: David Chase <drc...@google.com>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Reviewer: Sean Liao <se...@liao.dev>
            Gerrit-CC: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
            Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
            Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
            Gerrit-Comment-Date: Mon, 11 Aug 2025 19:21:31 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Dmitri Shuralyov (Gerrit)

            unread,
            Aug 11, 2025, 3:25:10 PMAug 11
            to Michael Fraenkel, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, David Chase, Go LUCI, Ingo Oeser, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
            Attention needed from Ian Lance Taylor, Ingo Oeser and Michael Fraenkel

            Dmitri Shuralyov voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Lance Taylor
            • Ingo Oeser
            • Michael Fraenkel
            Submit Requirements:
              • requirement satisfiedCode-Review
              • requirement satisfiedNo-Unresolved-Comments
              • requirement satisfiedReview-Enforcement
              • requirement satisfiedTryBots-Pass
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: go
              Gerrit-Branch: master
              Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
              Gerrit-Change-Number: 490975
              Gerrit-PatchSet: 13
              Gerrit-Owner: Michael Fraenkel <michael....@gmail.com>
              Gerrit-Reviewer: Damien Neil <dn...@google.com>
              Gerrit-Reviewer: David Chase <drc...@google.com>
              Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
              Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
              Gerrit-Reviewer: Sean Liao <se...@liao.dev>
              Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
              Gerrit-CC: Ingo Oeser <night...@googlemail.com>
              Gerrit-Attention: Ingo Oeser <night...@googlemail.com>
              Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
              Gerrit-Attention: Michael Fraenkel <michael....@gmail.com>
              Gerrit-Comment-Date: Mon, 11 Aug 2025 19:25:04 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Sean Liao (Gerrit)

              unread,
              Aug 11, 2025, 5:26:19 PMAug 11
              to Michael Fraenkel, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Dmitri Shuralyov, David Chase, Go LUCI, Ingo Oeser, Damien Neil, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com

              Sean Liao submitted the change

              Unreviewed changes

              12 is the latest approved patch-set.
              No files were changed between the latest approved patch-set and the submitted one.

              Change information

              Commit message:
              net: context aware Dialer.Dial functions


              Add context aware dial functions for TCP, UDP, IP and Unix networks.

              Fixes #49097
              Updates #59897
              Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
              Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
              Reviewed-by: David Chase <drc...@google.com>
              Reviewed-by: Sean Liao <se...@liao.dev>
              Files:
              • A api/next/49097.txt
              • A doc/next/6-stdlib/99-minor/net/49097.md
              • M src/net/dial.go
              • M src/net/dial_test.go
              • M src/net/iprawsock.go
              • M src/net/tcpsock.go
              • M src/net/udpsock.go
              • M src/net/unixsock.go
                Change size: L
                Delta: 8 files changed, 234 insertions(+), 29 deletions(-)
                Branch: refs/heads/master
                Submit Requirements:
                • requirement satisfiedCode-Review: +2 by Sean Liao, +1 by David Chase, +1 by Dmitri Shuralyov
                • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
                Open in Gerrit
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: merged
                Gerrit-Project: go
                Gerrit-Branch: master
                Gerrit-Change-Id: I7523452e8e463a587a852e0555cec822d8dcb3dd
                Gerrit-Change-Number: 490975
                Gerrit-PatchSet: 14
                open
                diffy
                satisfied_requirement
                Reply all
                Reply to author
                Forward
                0 new messages