{"record":{"id":"7b11449f15394681","repo":"ruvnet/ruflo","slug":"wasm-module-not-available","errorCode":null,"errorMessage":"WASM module not available","messagePattern":"WASM module not available","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"v3/plugins/gastown-bridge/src/convoy/observer.ts","lineNumber":842,"sourceCode":"      status: bead.status,\n      priority: bead.priority,\n      blocked_by: bead.blockedBy ?? [],\n      blocks: bead.blocks ?? [],\n      duration: undefined,\n    }));\n  }\n\n  /**\n   * Analyze dependencies with WASM\n   */\n  private analyzeWithWasm(beads: Bead[]): {\n    hasCycles: boolean;\n    cycleIssues: string[];\n    readyIssues: ReadyIssueInfo[];\n    blockedIssues: BlockerInfo[];\n  } {\n    if (!this.wasmModule) {\n      throw new Error('WASM module not available');\n    }\n\n    const wasmNodes = this.beadsToWasmNodes(beads);\n    const beadsJson = JSON.stringify(wasmNodes);\n\n    // Check for cycles\n    const hasCycles = this.wasmModule.has_cycle(beadsJson);\n    let cycleIssues: string[] = [];\n    if (hasCycles) {\n      const cycleJson = this.wasmModule.find_cycle_nodes(beadsJson);\n      cycleIssues = JSON.parse(cycleJson);\n    }\n\n    // Get ready beads\n    const readyJson = this.wasmModule.get_ready_beads(beadsJson);\n    const readyIds: string[] = JSON.parse(readyJson);\n\n    // Get execution levels","sourceCodeStart":824,"sourceCodeEnd":860,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/gastown-bridge/src/convoy/observer.ts#L824-L860","documentation":"analyzeWithWasm() found this.wasmModule null — dependency analysis was requested through the WASM path but the WASM module never loaded. The method is only called when useWasm is configured, so this indicates a loader failure the caller should fall back from.","triggerScenarios":"Thrown at v3/plugins/gastown-bridge/src/convoy/observer.ts:842 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the module/bridge/plugin initialize() method has been called and awaited before invoking this operation.","Guard against calls made during startup: await the initialization promise or check the initialized flag and fail fast with a clear setup hint."],"exampleFix":null,"handlingStrategy":"type-guard","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-14T05:17:10.506Z"}