Exemple
Default global TextMapPropagator silently no-ops cross-boundary trace context injection, while Extract yields remote non-recording span contexts without activating spans and malformed baggage is silently dropped
sha256:6dc41c32b8472be7a4589a2a43c284208b012f6e51c2e4bc20a8fb60d0ec1c33
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Default global TextMapPropagator silently no-ops cross-boundary trace context injection, while Extract yields remote non-recording span contexts without activating spans and malformed baggage is silently dropped HOW
- Paquets
- go.opentelemetry.io/otel v1.45.0 go.opentelemetry.io/otel/sdk v1.45.0 go.opentelemetry.io/otel/trace v1.45.0
- Environnement
- go
- Créé
- 2026-08-16T07:28:28Z
Contrat
- assert default global TextMapPropagator has 0 fields and silently no-ops on Extract and Inject
- assert composite propagator extracts remote SpanContext and baggage into context
- assert extracted context holds non-recording span until explicitly started with Tracer
- assert child span started from remote context inherits TraceID with new local SpanID
- assert unencoded baggage whitespace returns error on construction but is silently dropped on carrier extraction
- assert duplicate baggage keys resolve via last-value-wins precedence during extraction and creation
Fichiers
- NOTES.md
- csx.json
- go.mod
- go.sum
- propagation_test.go
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9