{"record":{"id":"57bd56a07feed709","repo":"deepseek-ai/deepseek-harness","slug":"subprocess-e2b-process-group-publication-failed-a","errorCode":null,"errorMessage":"subprocess-e2b: process-group publication failed and rollback did not reach quiescence","messagePattern":"subprocess-e2b: process-group publication failed and rollback did not reach quiescence","errorType":"exception","errorClass":"AggregateError","httpStatus":null,"severity":"error","filePath":"packages/e2b/subprocess-e2b/src/process.ts","lineNumber":357,"sourceCode":"          this.markQuiescent()\n        } catch (cleanupError: unknown) {\n          this.terminationFailure = asError(cleanupError)\n          this.commandState.resolve(handle)\n          throw new AggregateError(\n            [invalidPid, cleanupError],\n            'subprocess-e2b: invalid command pid rollback did not reach quiescence',\n          )\n        }\n        throw invalidPid\n      }\n      this.commandState.resolve(handle)\n      try {\n        this.remotePid = await this.waitForProcessGroupId(sandbox, completion)\n      } catch (error: unknown) {\n        try {\n          await this.rollbackUnpublishedGroup(sandbox, handle)\n        } catch (cleanupError: unknown) {\n          throw new AggregateError(\n            [error, cleanupError],\n            'subprocess-e2b: process-group publication failed and rollback did not reach quiescence',\n          )\n        }\n        throw error\n      }\n      this.readyState.resolve(handle)\n      await this.writeBatchStdin(handle)\n      const outcome = await this.waitForCommand(sandbox, handle, completion)\n      if (this.outputTransportError !== undefined) throw this.outputTransportError\n      const requireCompleteOutput = this.terminationSignal === null && !this.outputDrainExpired\n      this.stdoutDecoder.finish(requireCompleteOutput)\n      this.stderrDecoder.finish(requireCompleteOutput)\n      await this.finalizeSpills(sandbox)\n      return outcome\n    } catch (error: unknown) {\n      const canceledPreparation = preparing && this.terminationController.signal.aborted\n      let failure = await this.rollbackPublishedFailure(error)","sourceCodeStart":339,"sourceCodeEnd":375,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/e2b/subprocess-e2b/src/process.ts#L339-L375","documentation":"Error \"subprocess-e2b: process-group publication failed and rollback did not reach quiescence\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/e2b/subprocess-e2b/src/process.ts:357 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":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}