pingqiuandClaude Opus 5.5 daad372367 test fold: GoOwned ordering witness and a once-only Close in cleanup
The test records the owned goroutine's settlement and Close's return with
sequence numbers and requires settlement first; before releasing it gives a
Close that does not join 200 ms to return while the goroutine is held. One
Close launcher (sync.OnceFunc) serves the body and the pre-registered cleanup,
which always cancels, releases and joins, also when GoOwned or the start wait
fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 03:18:11 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%