샘플
Handle errgroup derived context cancellation on successful Wait, first-completion error selection, cooperative sibling cancellation, and TryGo dropping semantics
sha256:470295d48f5f7621a26432793d4dd80d928dcb80ee6db8a57a43a16edbc4a5c6
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Handle errgroup derived context cancellation on successful Wait, first-completion error selection, cooperative sibling cancellation, and TryGo dropping semantics HOW
- 패키지
- golang.org/x/sync 0.22.0
- 환경
- go
- 생성일
- 2026-08-15T17:11:03Z
컨트랙트
- assert errgroup.WithContext cancels its derived context on Wait() return even when all tasks return nil
- assert Wait returns the error of the first completed task and discards later errors without joining
- assert sibling cancellation requires explicit select on ctx.Done and sibling ctx.Err does not mask the root cause
- assert SetLimit with TryGo drops work immediately when saturated and SetLimit panics if modified while tasks run
파일
- NOTES.md
- contract_test.go
- csx.json
- go.mod
- go.sum
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-15 · ed25519:d91480838ac982c9