{"record":{"id":"037bf0a366d3982e","repo":"ruvnet/ruflo","slug":"result-broadcast-failed","errorCode":null,"errorMessage":"Result broadcast failed","messagePattern":"Result broadcast failed","errorType":"exception","errorClass":"QEHiveError","httpStatus":null,"severity":"error","filePath":"v3/plugins/agentic-qe/src/bridges/QEHiveBridge.ts","lineNumber":409,"sourceCode":"      await this.hiveMind.broadcast({\n        message: JSON.stringify({\n          type: 'qe-result',\n          taskId,\n          result: {\n            success: result.success,\n            completedAgents: result.completedAgents,\n            totalAgents: result.totalAgents,\n            aggregatedOutput: result.aggregatedOutput,\n          },\n        }),\n        priority: result.success ? 'normal' : 'high',\n        fromId: this.queenId,\n      });\n\n      this.logger.debug(`Result broadcast complete for task: ${taskId}`);\n    } catch (error) {\n      this.logger.error(`Failed to broadcast result: ${taskId}`, error);\n      throw new QEHiveError('Result broadcast failed', error as Error);\n    }\n  }\n\n  /**\n   * Store QE state in hive memory\n   */\n  async storeQEState(key: string, value: unknown): Promise<void> {\n    this.ensureInitialized();\n\n    try {\n      const qeKey = `qe:${key}`;\n      this.logger.debug(`Storing QE state: ${qeKey}`);\n\n      await this.hiveMind.memory({\n        action: 'set',\n        key: qeKey,\n        value: JSON.stringify(value),\n      });","sourceCodeStart":391,"sourceCodeEnd":427,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/agentic-qe/src/bridges/QEHiveBridge.ts#L391-L427","documentation":"broadcastResult() failed to publish the completed task's result to the hive via hiveMind.broadcast (connection loss or hive error). The catch logs the task id and re-raises wrapped in QEHiveError, since downstream agents missed the result notification.","triggerScenarios":"Thrown at v3/plugins/agentic-qe/src/bridges/QEHiveBridge.ts:409 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check that result subscribers are connected before broadcasting.","Inspect the underlying broadcast error."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}