{"record":{"id":"aebe8bde8b267eef","repo":"different-ai/openwork","slug":"must-be-http-protobuf","errorCode":null,"errorMessage":"must be http/protobuf","messagePattern":"must be http/protobuf","errorType":"validation","errorClass":"ObservabilityConfigError","httpStatus":null,"severity":"error","filePath":"ee/packages/utils/src/observability.ts","lineNumber":208,"sourceCode":"function parseUnitInterval(raw: string, envKey: string): number {\n  const value = Number(raw)\n  if (!Number.isFinite(value) || value < 0 || value > 1) {\n    throw new ObservabilityConfigError(\"must be a number from 0 through 1\", envKey)\n  }\n  return value\n}\n\nfunction parseOtelProtocol(env: ObservabilityEnv, envKey: string, fallback: OTelProtocol): OTelProtocol {\n  const protocol = envValue(env, envKey)\n  if (protocol === undefined) {\n    return fallback\n  }\n\n  if (protocol === \"http/protobuf\") {\n    return protocol\n  }\n\n  throw new ObservabilityConfigError(\"must be http/protobuf\", envKey)\n}\n\nfunction parseOtelExporter(env: ObservabilityEnv, envKey: string): OTelSignalExporter {\n  const exporter = envValue(env, envKey)\n  if (exporter === undefined) {\n    return \"otlp\"\n  }\n\n  switch (exporter) {\n    case \"otlp\":\n    case \"none\":\n      return exporter\n    default:\n      throw new ObservabilityConfigError(\"must be otlp or none\", envKey)\n  }\n}\n\nfunction parseOtelSamplerName(env: ObservabilityEnv): OTelSampler {","sourceCodeStart":190,"sourceCodeEnd":226,"githubUrl":"https://github.com/different-ai/openwork/blob/2b7df46e8ae1517d64c896c7793d2d52ec845669/ee/packages/utils/src/observability.ts#L190-L226","documentation":"Error \"must be http/protobuf\" thrown in different-ai/openwork.","triggerScenarios":"Thrown at ee/packages/utils/src/observability.ts:208 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2b7df46e8ae1517d64c896c7793d2d52ec845669","analyzedAt":"2026-09-01T07:59:23.713Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}