{
  "schemaVersion": 1,
  "capturedAt": "2026-07-15T14:01:42.156Z",
  "evidenceLevel": "reproduced",
  "environment": {
    "node": "v22.23.1",
    "platform": "darwin",
    "arch": "arm64",
    "docker": {
      "clientVersion": "29.6.1",
      "serverVersion": "29.6.1",
      "serverOs": "linux",
      "serverArch": "arm64"
    },
    "images": {
      "collector": {
        "reference": "otel/opentelemetry-collector-contrib@sha256:125bdbeb7590cc1952c5b3430ecf14063568980c2c93d5b38676cc0446ed8108",
        "imageId": "sha256:125bdbeb7590cc1952c5b3430ecf14063568980c2c93d5b38676cc0446ed8108",
        "architecture": "arm64",
        "os": "linux",
        "sizeBytes": 101953079,
        "user": "10001:10001"
      },
      "jaeger": {
        "reference": "jaegertracing/jaeger@sha256:ede4864215be4cd85bd8c3129a2fea6c5713c5653c7282c429dba123014bc68b",
        "imageId": "sha256:ede4864215be4cd85bd8c3129a2fea6c5713c5653c7282c429dba123014bc68b",
        "architecture": "arm64",
        "os": "linux",
        "sizeBytes": 52823229,
        "user": "10001"
      },
      "storageInit": {
        "reference": "busybox@sha256:39e0df8c4d65953b55c344f017e1ff2e0031a7454b3c24e6b76d402f207e315a",
        "imageId": "sha256:39e0df8c4d65953b55c344f017e1ff2e0031a7454b3c24e6b76d402f207e315a",
        "architecture": "arm64",
        "os": "linux",
        "sizeBytes": 821624,
        "user": null
      }
    }
  },
  "inputIdentity": [
    {
      "path": "compose.yaml",
      "bytes": 1484,
      "sha256": "d2807ed5639515d9398667989e67d5fda00c6db475f523e246c018169a5a2e34"
    },
    {
      "path": "config/otel-collector.yaml",
      "bytes": 1009,
      "sha256": "dd67b504fab2e76557f78446c5e89188d0e87034dae6f98b486ec0ffac90fd85"
    },
    {
      "path": "config/jaeger-badger.yaml",
      "bytes": 1089,
      "sha256": "acfb16f2ad31e387af639d18e2419119d723caf5c403f2203402edb4f0e5d1eb"
    },
    {
      "path": "src/partial-proxy.mjs",
      "bytes": 3804,
      "sha256": "fa6a893ac48e94bb343e3506c88e1672dfb1ad7ea62157e0afc210431522920d"
    },
    {
      "path": "src/send-trace.mjs",
      "bytes": 1786,
      "sha256": "b798e381c1f3cb533891895c161a9de657e948cbe6a76a2eba38f7c32cd1fde5"
    },
    {
      "path": "src/run-experiment.mjs",
      "bytes": 11529,
      "sha256": "1b96a920a4df7ea86b9c34256db9efcfd965bbabbbc429d31b85643dc32e8047"
    }
  ],
  "contract": {
    "failureMode": "otlp-http-200-partial-success-after-two-of-four-spans-forwarded",
    "inputSpanCount": 4,
    "forwardedSpanLimit": 2,
    "applicationRequests": 1,
    "applicationAutomaticRetries": 0,
    "retryObservationWindowMs": 2500,
    "stableTraceId": "f2000000000000000000000000000001",
    "exporterEncoding": "json",
    "exporterCompression": "none"
  },
  "application": {
    "sender": {
      "traceId": "f2000000000000000000000000000001",
      "spanIds": [
        "9100000000000001",
        "9200000000000001",
        "9300000000000001",
        "9400000000000001"
      ],
      "spanCount": 4,
      "automaticRetries": 0,
      "response": {
        "status": 200,
        "ok": true,
        "body": "{\"partialSuccess\":{}}"
      }
    }
  },
  "partialCommit": {
    "firstEvent": {
      "attempt": 1,
      "requestBytes": 2059,
      "requestSha256": "084257640ecf85799e491e0327953187f0191088dae8d3cf7d4a6ae719136c3c",
      "contentType": "application/json",
      "contentEncoding": null,
      "inputSpanCount": 4,
      "inputSpanIds": [
        "9100000000000001",
        "9200000000000001",
        "9300000000000001",
        "9400000000000001"
      ],
      "forwardedSpanCount": 2,
      "forwardedSpanIds": [
        "9100000000000001",
        "9200000000000001"
      ],
      "rejectedSpanCount": 2,
      "rejectedSpanIds": [
        "9300000000000001",
        "9400000000000001"
      ],
      "backendStatus": 200,
      "backendResponseBytes": 21,
      "collectorResponse": {
        "partialSuccess": {
          "rejectedSpans": "2",
          "errorMessage": "lab rejected two spans after partial commit"
        }
      }
    },
    "traceAfterPartialCommit": {
      "traceId": "f2000000000000000000000000000001",
      "spans": [
        {
          "spanId": "9100000000000001",
          "operationName": "partial root",
          "parentSpanIds": [],
          "tags": {
            "otel.scope.name": "younis-ai-lab.otel-partial-success",
            "otel.scope.version": "1.0.0",
            "app.partial.case": "two-accepted-two-rejected",
            "app.partial.stable_key": "f2000000000000000000000000000001",
            "span.kind": "server",
            "otel.status_code": "OK"
          }
        },
        {
          "spanId": "9200000000000001",
          "operationName": "accepted child",
          "parentSpanIds": [
            "9100000000000001"
          ],
          "tags": {
            "otel.scope.name": "younis-ai-lab.otel-partial-success",
            "otel.scope.version": "1.0.0",
            "app.partial.case": "two-accepted-two-rejected",
            "app.partial.stable_key": "f2000000000000000000000000000001",
            "span.kind": "server",
            "otel.status_code": "OK"
          }
        }
      ]
    }
  },
  "observation": {
    "proxyAttempts": [
      {
        "attempt": 1,
        "requestBytes": 2059,
        "requestSha256": "084257640ecf85799e491e0327953187f0191088dae8d3cf7d4a6ae719136c3c",
        "contentType": "application/json",
        "contentEncoding": null,
        "inputSpanCount": 4,
        "inputSpanIds": [
          "9100000000000001",
          "9200000000000001",
          "9300000000000001",
          "9400000000000001"
        ],
        "forwardedSpanCount": 2,
        "forwardedSpanIds": [
          "9100000000000001",
          "9200000000000001"
        ],
        "rejectedSpanCount": 2,
        "rejectedSpanIds": [
          "9300000000000001",
          "9400000000000001"
        ],
        "backendStatus": 200,
        "backendResponseBytes": 21,
        "collectorResponse": {
          "partialSuccess": {
            "rejectedSpans": "2",
            "errorMessage": "lab rejected two spans after partial commit"
          }
        }
      }
    ],
    "attemptCount": 1,
    "collectorFinalMetrics": {
      "acceptedSpans": 4,
      "refusedSpans": 0,
      "sentSpans": 4,
      "failedSpans": 0,
      "queueSizeBatches": 0,
      "queueCapacityBatches": 10,
      "enqueueFailedSpans": 0
    },
    "collectorPartialSuccessLog": {
      "observed": true,
      "droppedSpans": 2,
      "mentionsLabMessage": true
    }
  },
  "backend": {
    "jaegerFinalMetrics": {
      "acceptedSpans": 2,
      "refusedSpans": 0,
      "sentSpans": 2,
      "failedSpans": 0,
      "queueSizeBatches": 0,
      "queueCapacityBatches": 0,
      "enqueueFailedSpans": 0
    },
    "finalTrace": {
      "traceId": "f2000000000000000000000000000001",
      "spans": [
        {
          "spanId": "9100000000000001",
          "operationName": "partial root",
          "parentSpanIds": [],
          "tags": {
            "otel.scope.name": "younis-ai-lab.otel-partial-success",
            "otel.scope.version": "1.0.0",
            "app.partial.case": "two-accepted-two-rejected",
            "app.partial.stable_key": "f2000000000000000000000000000001",
            "span.kind": "server",
            "otel.status_code": "OK"
          }
        },
        {
          "spanId": "9200000000000001",
          "operationName": "accepted child",
          "parentSpanIds": [
            "9100000000000001"
          ],
          "tags": {
            "otel.scope.name": "younis-ai-lab.otel-partial-success",
            "otel.scope.version": "1.0.0",
            "app.partial.case": "two-accepted-two-rejected",
            "app.partial.stable_key": "f2000000000000000000000000000001",
            "span.kind": "server",
            "otel.status_code": "OK"
          }
        }
      ]
    },
    "finalSpanCount": 2,
    "finalSpanIds": [
      "9100000000000001",
      "9200000000000001"
    ],
    "missingSpanIds": [
      "9300000000000001",
      "9400000000000001"
    ]
  },
  "payloadSha256": "23c428a64b9313641ee1eb1d824b0a328303b511f55959d21275dd7d3219bf06"
}
