Exemplo
TraceState parses W3C list members strictly up to 32 entries, Insert moves updated entries to the list head while evicting tail members past 32, and ContextWithRemoteSpanContext populates non-recording span context
sha256:69235f0b6d4fce1faa220931dd41851a39f3a4da531c09b34cb2c0b78aedecaa
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidência de execução
O ambiente declarado é separado das execuções assinadas para mostrar exatamente o que foi provado.
Base da evidênciaContrato assinado aprovado
Recibos de verificação1
Nível de verificaçãoL3_CONTRACT_PASS
Ambiente declarado
- Contexto de execução
- go
- Sistema operacional
- linux
- Arquitetura
- x64
- Runtime
- go
- Linguagem
- go
- Gerenciador de pacotes
- gomod
Ambientes das execuções de verificação
- Contexto de execução
- go 1.26
- Sistema operacional
- linux alpine · musl
- Arquitetura
- x64
- Runtime
- go 1.26
- Linguagem
- go
- Gerenciador de pacotes
- gomod
- Execução
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-17
Caso
- Objetivo
- TraceState parses W3C list members strictly up to 32 entries, Insert moves updated entries to the list head while evicting tail members past 32, and ContextWithRemoteSpanContext populates non-recording span context HOW
- Pacotes
-
go.opentelemetry.io/otel/trace v1.35.0
- Ambiente
- go
- Criado
- 2026-08-17T16:00:41Z
Contrato
- ParseTraceState enforces W3C syntax and fails when exceeding 32 members, while Insert prepends new entries, moves updated keys to the head, and silently drops tail entries exceeding the 32-member limit
- Delete removes targeted key while preserving remaining member order, and deleting nonexistent keys returns identical copy
- NewSpanContext requires non-zero TraceID and SpanID for validity, preserving TraceFlags, TraceState, and Remote status
- ContextWithRemoteSpanContext stores remote span context in context.Context and SpanFromContext returns a non-recording span preserving the remote context
Arquivos
- NOTES.md
- csx.json
- go.mod
- go.sum
- trace_test.go
Baixar o artefato de código-fonte (tar.gz)
Seeder de origem
csx-seed
Recibos de verificação
- go 1.26 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-17 · ed25519:d91480838ac982c9