{"record":{"id":"82a0912b7dec3953","repo":"deepseek-ai/deepseek-harness","slug":"client-modules-bundle-url-loaded-without-regis","errorCode":null,"errorMessage":"client-modules: bundle ${url} loaded without registering \"${id}\" via __ModuleLoader__.load","messagePattern":"client-modules: bundle (.+?) loaded without registering \"(.+?)\" via __ModuleLoader__\\.load","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/client/modules/src/client/system.ts","lineNumber":120,"sourceCode":"\n  /** Register one bundle factory, rejecting a script that executes twice without invalidation. */\n  private register(registration: ClientBundleRegistration): void {\n    const id = stripClientSuffix(registration.id)\n    if (this.bootstrapIds.has(id) || this.factories.has(id)) {\n      throw new Error(`client-modules: duplicate factory registration for \"${registration.id}\" (bundle executed twice without invalidate?)`)\n    }\n    this.factories.set(id, registration.factory)\n  }\n\n  /** Load one graph row so its factory is registered (idempotent per in-flight arrival). */\n  private arrive(row: BootModuleRow): Promise<void> {\n    const { id, url } = row\n    const pending = this.pendingArrival.get(id)\n    if (pending !== undefined) return pending\n    if (this.loadCache.has(id) || this.factories.has(id)) return Promise.resolve()\n    const task = this.loadBundle(url).then(() => {\n      if (!this.factories.has(id)) {\n        throw new Error(`client-modules: bundle ${url} loaded without registering \"${id}\" via __ModuleLoader__.load`)\n      }\n    }).finally(() => { this.pendingArrival.delete(id) })\n    this.pendingArrival.set(id, task)\n    return task\n  }\n\n  /** Register each unresolved dynamic request before registering its consumer. */\n  private async arriveGraphRow(row: BootModuleRow, open: readonly string[] = []): Promise<void> {\n    const cycleStart = open.indexOf(row.id)\n    if (cycleStart !== -1) {\n      throw new Error(\n        `client-modules: module arrival cycle ${[...open.slice(cycleStart), row.id].join(' -> ')} `\n        + '(the host must reject this graph before serving it)',\n      )\n    }\n    const next = [...open, row.id]\n    for (const request of row.external) {\n      const id = stripClientSuffix(request)","sourceCodeStart":102,"sourceCodeEnd":138,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/modules/src/client/system.ts#L102-L138","documentation":"Error \"client-modules: bundle ${url} loaded without registering \"${id}\" via __ModuleLoader__.load\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/modules/src/client/system.ts:120 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the module id via __ModuleLoader__.load inside the bundle."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}