oven-sh/bun · error · Error

cores are being piped not saved

Error message

cores are being piped not saved

What it means

Error "cores are being piped not saved" thrown in oven-sh/bun.

Source

Thrown at scripts/runner.node.mjs:285

        }
        if (doc.length < per_page) break;
      }
      console.log(`- PR ${BUILDKITE_PULL_REQUEST}, ${prFileCount} files, ${newFiles.length} new files`);
    } catch (e) {
      console.error(e);
    }
  }
}

let coresDir;

if (options["coredump-upload"]) {
  // this sysctl is set in bootstrap.sh to /var/bun-cores-$distro-$release-$arch
  const sysctl = await spawnSafe({ command: "sysctl", args: ["-n", "kernel.core_pattern"] });
  coresDir = sysctl.stdout;
  if (sysctl.ok) {
    if (coresDir.startsWith("|")) {
      throw new Error("cores are being piped not saved");
    }
    // change /foo/bar/%e-%p.core to /foo/bar
    coresDir = dirname(sysctl.stdout);
  } else {
    throw new Error(`Failed to check core_pattern: ${sysctl.error}`);
  }
}

let remapPort = undefined;

/**
 * @typedef {Object} TestExpectation
 * @property {string} filename
 * @property {string[]} expectations
 * @property {string[] | undefined} bugs
 * @property {string[] | undefined} modifiers
 * @property {string | undefined} comment
 */

View on GitHub (pinned to 8c5296ac45)

When it happens

Trigger: Thrown at scripts/runner.node.mjs:285 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16). Data as JSON: /api/errors/4ff7e5531b753c16. Report an issue: GitHub.