{"record":{"id":"ac86994ddfdab5f3","repo":"oven-sh/bun","slug":"could-not-find-executable-from-buildkite-releas","errorCode":null,"errorMessage":"Could not find executable from BuildKite: ${releasePath}","messagePattern":"Could not find executable from BuildKite: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"scripts/runner.node.mjs","lineNumber":2785,"sourceCode":"    await new Promise(resolve => setTimeout(resolve, i * 1000));\n  }\n\n  if (!zipPath) {\n    throw new Error(`Could not find ${target}.zip from Buildkite: ${releasePath}`);\n  }\n\n  await unzip(zipPath, releasePath);\n\n  const releaseFiles = readdirSync(releasePath, { recursive: true, encoding: \"utf-8\" });\n  for (const entry of releaseFiles) {\n    const execPath = join(releasePath, entry);\n    if (/bun(?:-[a-z]+)?(?:\\.exe)?$/i.test(entry) && statSync(execPath).isFile()) {\n      return execPath;\n    }\n  }\n\n  console.warn(`Found ${releaseFiles.length} files in ${releasePath}:`, releaseFiles);\n  throw new Error(`Could not find executable from BuildKite: ${releasePath}`);\n}\n\n/**\n * @param {string} execPath\n * @returns {string}\n */\nfunction getRevision(execPath) {\n  try {\n    const { error, stdout } = spawnSync(execPath, [\"--revision\"], {\n      encoding: \"utf-8\",\n      timeout: spawnTimeout,\n      env: {\n        PATH: process.env.PATH,\n        BUN_DEBUG_QUIET_LOGS: 1,\n      },\n    });\n    if (error) {\n      throw error;","sourceCodeStart":2767,"sourceCodeEnd":2803,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/scripts/runner.node.mjs#L2767-L2803","documentation":"Error \"Could not find executable from BuildKite: ${releasePath}\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at scripts/runner.node.mjs:2785 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"}