{"record":{"id":"02229a1fe01987b5","repo":"different-ai/openwork","slug":"github-discovery-response-was-incomplete","errorCode":null,"errorMessage":"GitHub discovery response was incomplete.","messagePattern":"GitHub discovery response was incomplete\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"ee/apps/den-web/app/(den)/dashboard/_components/integration-data.tsx","lineNumber":773,"sourceCode":"        : [];\n      const treeSummary = item && isRecord(item.treeSummary)\n        ? {\n            scannedEntryCount: typeof item.treeSummary.scannedEntryCount === \"number\" ? item.treeSummary.scannedEntryCount : 0,\n            strategy: asString(item.treeSummary.strategy) ?? \"git-tree-recursive\",\n            truncated: Boolean(item.treeSummary.truncated),\n          }\n        : { scannedEntryCount: 0, strategy: \"git-tree-recursive\", truncated: false };\n      const warnings = item && Array.isArray(item.warnings)\n        ? item.warnings.flatMap((entry) => {\n            const normalized = asString(entry);\n            return normalized ? [normalized] : [];\n          })\n        : [];\n\n      const autoImportNewPlugins = item ? Boolean(item.autoImportNewPlugins) : false;\n\n      if (!connectorInstanceIdValue || !connectorTargetId || !repositoryFullName || !sourceRevisionRef || !classification) {\n        throw new Error(\"GitHub discovery response was incomplete.\");\n      }\n\n      return {\n        autoImportNewPlugins,\n        classification,\n        connectorInstanceId: connectorInstanceIdValue,\n        connectorTargetId,\n        discoveredPlugins,\n        repositoryFullName,\n        sourceRevisionRef,\n        steps,\n        treeSummary,\n        warnings,\n      };\n    },\n  });\n}\n","sourceCodeStart":755,"sourceCodeEnd":791,"githubUrl":"https://github.com/different-ai/openwork/blob/2b7df46e8ae1517d64c896c7793d2d52ec845669/ee/apps/den-web/app/(den)/dashboard/_components/integration-data.tsx#L755-L791","documentation":"Error \"GitHub discovery response was incomplete.\" thrown in different-ai/openwork.","triggerScenarios":"Thrown at ee/apps/den-web/app/(den)/dashboard/_components/integration-data.tsx:773 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"}