{"record":{"id":"2cbb5f99265b436f","repo":"coleam00/Archon","slug":"detached-workflow-process-group-string-pid-is","errorCode":null,"errorMessage":"Detached workflow process group ${String(pid)} is still running","messagePattern":"Detached workflow process group (.+?) is still running","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/cli/src/utils/detached-run-control.ts","lineNumber":570,"sourceCode":"      );\n    }\n    return;\n  }\n  if (await waitUntilGone(() => processGroupExists(pid), TERMINATION_GRACE_MS)) return;\n\n  try {\n    process.kill(-pid, 'SIGKILL');\n  } catch (error) {\n    if ((error as NodeJS.ErrnoException).code !== 'ESRCH') throw error;\n    if (processExists(pid)) {\n      throw new Error(\n        `Detached workflow owner ${String(pid)} is alive but does not own process group ${String(pid)}`\n      );\n    }\n    return;\n  }\n  if (!(await waitUntilGone(() => processGroupExists(pid), TERMINATION_CONFIRM_MS))) {\n    throw new Error(`Detached workflow process group ${String(pid)} is still running`);\n  }\n}\n","sourceCodeStart":552,"sourceCodeEnd":573,"githubUrl":"https://github.com/coleam00/Archon/blob/0773b9745896ef0612e709c80845a0f7db315b19/packages/cli/src/utils/detached-run-control.ts#L552-L573","documentation":"Error \"Detached workflow process group ${String(pid)} is still running\" thrown in coleam00/Archon.","triggerScenarios":"Thrown at packages/cli/src/utils/detached-run-control.ts:570 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":"0773b9745896ef0612e709c80845a0f7db315b19","analyzedAt":"2026-09-01T02:28:07.064Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T05:18:18.240Z"}