{"record":{"id":"cb7b5413d015f04b","repo":"oven-sh/bun","slug":"could-not-find-target-zip-from-buildkite-rel","errorCode":null,"errorMessage":"Could not find ${target}.zip from Buildkite: ${releasePath}","messagePattern":"Could not find (.+?)\\.zip from Buildkite: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"scripts/runner.node.mjs","lineNumber":2771,"sourceCode":"      );\n    }\n\n    zipPath = readdirSync(releasePath, { recursive: true, encoding: \"utf-8\" })\n      .filter(filename => /^bun.*\\.zip$/i.test(filename))\n      .map(filename => join(releasePath, filename))\n      .sort((a, b) => b.includes(\"profile\") - a.includes(\"profile\"))\n      .at(0);\n\n    if (zipPath) {\n      break downloadLoop;\n    }\n\n    console.warn(`Waiting for ${target}.zip to be available...`);\n    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","sourceCodeStart":2753,"sourceCodeEnd":2789,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/scripts/runner.node.mjs#L2753-L2789","documentation":"Error \"Could not find ${target}.zip from Buildkite: ${releasePath}\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at scripts/runner.node.mjs:2771 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"}