oven-sh/bun · error
${path}: ${r.status} ${r.statusText}
Error message
${path}: ${r.status} ${r.statusText} What it means
Error "${path}: ${r.status} ${r.statusText}" thrown in oven-sh/bun.
Source
Thrown at scripts/update-test-durations.mjs:59
default: "linux-x64-debian-13-test-bun",
asan: "linux-x64-asan-debian-13-test-bun",
musl: "linux-x64-musl-alpine-323-test-bun",
windows: "windows-x64-2019-test-bun",
};
const api = async path => {
for (let attempt = 0; ; attempt++) {
const r = await fetch(`https://api.buildkite.com/v2/organizations/${opts.org}/pipelines/${opts.pipeline}/${path}`, {
headers: { Authorization: `Bearer ${token}` },
signal: AbortSignal.timeout(60_000),
});
if (r.ok) return r;
if ((r.status === 429 || r.status >= 500) && attempt < 5) {
const backoff = Number(r.headers.get("retry-after")) * 1000 || 1000 * 2 ** attempt;
await new Promise(resolve => setTimeout(resolve, backoff));
continue;
}
throw new Error(`${path}: ${r.status} ${r.statusText}`);
}
};
// Per-file cost is the gap between the APC timestamps Buildkite injects into
// consecutive `[N/M] <path>` headers (ESC `_bk;t=<ms>` BEL). Serial tests
// prefix the header with `--- `; the parallel-safe phase (runner.node.mjs)
// prints the bare form. For that concurrent phase the gap is an inter-dispatch
// delta, not wall clock; we clamp it so the last-dispatched file on each shard
// does not absorb the N-wide tail drain or a sibling's 5-15 s retry backoff.
function parseLog(raw) {
const out = [];
const lines = raw.replace(/\x1b\[[0-9;]*m/g, "").split(/\r?\n/);
let path = null;
let start = null;
let concurrent = false;
const emit = ts => {
if (path === null || start === null || ts === null) return;
out.push([path, concurrent ? Math.min(ts - start, 500) : ts - start]);View on GitHub (pinned to 8c5296ac45)
When it happens
Trigger: Thrown at scripts/update-test-durations.mjs:59 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/1a5da7ce45e61891.
Report an issue: GitHub.