testing/synctest: receive on synctest channel from outside bubble when not using synctest #73648
Labels
BugReport
Issues describing a possible bug in the Go implementation.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Go version
go version go1.24.3 windows/amd64
Output of
go env
in your module/workspace:What did you do?
I executed my project built binary. The project makes heavy usage of channels and has "hopper" strategies to collect items from many channels and output them into one (which I think is the reason for the
panic
).The "hopper" strategy (that I call
DeMultiplexer
) looks something like this:What did you see happen?
At times the runtime panics in a non repeatable manner. An example stacktrace:
What did you expect to see?
Why this, albeit being quite lousy work, snippet of code is able to generate a panic that should happen only during tests, and only by manually enabling experimental features (which I did not do) ?
The text was updated successfully, but these errors were encountered: