Proposal Details

See https://github.com/golang/go/issues/74304#issue-3160794178 and https://github.com/golang/go/issues/53757#issuecomment-2988592157 , Sometimes we need to restore the old behavior of errgroup, and I suggest adding a new field Propagate to achieve this, turning the new behavior into an option to join.

Don't use GODEBUG because don't know what to set its default value and what to enable new behavior when the go line in go.mod changes to.

I can send CL implement this proposal.

open-ended question: Do we also need to adopt https://go.dev/cl/682335 or #74275 for faster panic when using new behaviors?

Comment From: gabyhelp

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)