{"record":{"id":"27b472012f2d6366","repo":"ruvnet/ruflo","slug":"failed-to-get-progress","errorCode":null,"errorMessage":"Failed to get progress","messagePattern":"Failed to get progress","errorType":"exception","errorClass":"QECoreError","httpStatus":null,"severity":"error","filePath":"v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts","lineNumber":576,"sourceCode":"      throw new QECoreError('Failed to cancel task', error as Error);\n    }\n  }\n\n  async getProgress(): Promise<TaskProgress> {\n    try {\n      const status = await this.taskService.getStatus(this.id);\n      this._status = status.status;\n\n      return {\n        percentage: status.progress || 0,\n        currentStep: status.currentStep || 'Unknown',\n        totalSteps: status.totalSteps || 0,\n        completedSteps: status.completedSteps || 0,\n        estimatedRemainingMs: this.estimateRemaining(status),\n      };\n    } catch (error) {\n      this.logger.error(`Failed to get task progress: ${this.id}`, error);\n      throw new QECoreError('Failed to get progress', error as Error);\n    }\n  }\n\n  private estimateRemaining(status: TaskStatus): number {\n    if (!status.totalSteps || !status.completedSteps) return 0;\n    if (status.completedSteps >= status.totalSteps) return 0;\n\n    // Rough estimate: 1 second per remaining step\n    const remainingSteps = status.totalSteps - status.completedSteps;\n    return remainingSteps * 1000;\n  }\n}\n\n/**\n * QE Core Error class\n */\nexport class QECoreError extends Error {\n  public readonly cause?: Error;","sourceCodeStart":558,"sourceCodeEnd":594,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts#L558-L594","documentation":"QECoreBridge.getProgress() failed to fetch or map the task's status from taskService (call threw, or status shape was unusable). The catch logs the task id and re-raises wrapped, so progress polling surfaces as a bridge error rather than a raw service exception.","triggerScenarios":"Thrown at v3/plugins/agentic-qe/src/bridges/QECoreBridge.ts:576 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the task or workflow id used for progress lookup.","Inspect the underlying error from the progress call."],"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"}