Sample
BatchSpanProcessor and TracerProvider with batcher propagate underlying SpanExporter shutdown errors to callers instead of masking them via variable shadowing
sha256:d25bd601d549d614584eb776397ae0f119d6cd45b2ca17ce98a44e31cda91223
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- BatchSpanProcessor and TracerProvider with batcher propagate underlying SpanExporter shutdown errors to callers instead of masking them via variable shadowing HOW
- Packages
- go.opentelemetry.io/otel/sdk v1.45.0
- Environment
- go
- Created
- 2026-08-16T07:28:30Z
Contract
- assert BatchSpanProcessor.Shutdown returns the underlying SpanExporter shutdown error
- assert TracerProvider.Shutdown with batcher returns the underlying SpanExporter shutdown error
- assert BatchSpanProcessor.Shutdown returns nil on clean exporter shutdown
Files
- NOTES.md
- batch_processor_test.go
- csx.json
- go.mod
- go.sum
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9