{"record":{"id":"4ff7e5531b753c16","repo":"oven-sh/bun","slug":"cores-are-being-piped-not-saved","errorCode":null,"errorMessage":"cores are being piped not saved","messagePattern":"cores are being piped not saved","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"scripts/runner.node.mjs","lineNumber":285,"sourceCode":"        }\n        if (doc.length < per_page) break;\n      }\n      console.log(`- PR ${BUILDKITE_PULL_REQUEST}, ${prFileCount} files, ${newFiles.length} new files`);\n    } catch (e) {\n      console.error(e);\n    }\n  }\n}\n\nlet coresDir;\n\nif (options[\"coredump-upload\"]) {\n  // this sysctl is set in bootstrap.sh to /var/bun-cores-$distro-$release-$arch\n  const sysctl = await spawnSafe({ command: \"sysctl\", args: [\"-n\", \"kernel.core_pattern\"] });\n  coresDir = sysctl.stdout;\n  if (sysctl.ok) {\n    if (coresDir.startsWith(\"|\")) {\n      throw new Error(\"cores are being piped not saved\");\n    }\n    // change /foo/bar/%e-%p.core to /foo/bar\n    coresDir = dirname(sysctl.stdout);\n  } else {\n    throw new Error(`Failed to check core_pattern: ${sysctl.error}`);\n  }\n}\n\nlet remapPort = undefined;\n\n/**\n * @typedef {Object} TestExpectation\n * @property {string} filename\n * @property {string[]} expectations\n * @property {string[] | undefined} bugs\n * @property {string[] | undefined} modifiers\n * @property {string | undefined} comment\n */","sourceCodeStart":267,"sourceCodeEnd":303,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/scripts/runner.node.mjs#L267-L303","documentation":"Error \"cores are being piped not saved\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at scripts/runner.node.mjs:285 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":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}