From d45c133dc67b4ab3bbc13fbc2cd4238a6682512c Mon Sep 17 00:00:00 2001 From: nandi <78769380+codegod100@users.noreply.github.com> Date: Mon, 17 Aug 2026 23:49:26 -0700 Subject: [PATCH] proxy-latha-org: request a bigger executor disk (60GB) via platform_properties Every 'No space left on device' failure so far (cargo-vendor-dir, then openh264-sys2's ar step after fixing cache trust) happened on the ~22G default executor disk. Confirmed directly with a manual Run call that platform_properties.EstimatedFreeDiskBytes actually resizes the runner: with it set to 60GB, df -h inside reported a real 63G disk instead of the usual ~22G. Simpler and more directly targeted than chasing every individual GC-root/caching edge case that can fill a small disk. Co-Authored-By: Claude Sonnet 5 --- cloudflare/proxy-latha-org/test_worker.mjs | 1 + cloudflare/proxy-latha-org/worker.js | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/cloudflare/proxy-latha-org/test_worker.mjs b/cloudflare/proxy-latha-org/test_worker.mjs index 880e2ad..79100e5 100644 --- a/cloudflare/proxy-latha-org/test_worker.mjs +++ b/cloudflare/proxy-latha-org/test_worker.mjs @@ -89,6 +89,7 @@ async function testValidPushWebhook() { const bbBody = JSON.parse(calls.fetch[0].opts.body); assert.equal(bbBody.repo, "https://tangled.org/nandi.uk/sleek"); assert.equal(bbBody.branch, "main"); + assert.equal(bbBody.platform_properties.EstimatedFreeDiskBytes, "60GB"); assert.match(bbBody.steps[0].run, /nix build \.#android/); assert.equal(calls.fetch[0].opts.headers["x-buildbuddy-api-key"], "test-bb-key"); diff --git a/cloudflare/proxy-latha-org/worker.js b/cloudflare/proxy-latha-org/worker.js index 0a9e85e..64a8aa3 100644 --- a/cloudflare/proxy-latha-org/worker.js +++ b/cloudflare/proxy-latha-org/worker.js @@ -181,6 +181,13 @@ async function triggerBuild(env, cloneUrl, sha) { const body = { repo: cloneUrl, branch: "main", + // Default executor disk (~22G) isn't enough for a from-scratch build of + // this project (confirmed repeatedly: "No space left on device", even + // after fixing cache trust and clearing stale GC roots — the compile + // itself just needs more room than that). Confirmed directly that this + // property actually resizes the runner: a manual test with it reported + // `/dev/vda 63G` free vs. the ~22G default with it omitted. + platform_properties: { EstimatedFreeDiskBytes: "60GB" }, steps: [{ run: buildScript(env, sha) }], }; const resp = await fetch("https://app.buildbuddy.io/api/v1/Run", { -- 2.51.2