From 8d8a3cc1f167ad5ad7475ffe78e3b4f536ba241d Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 31 Oct 2026 19:34:07 +0000 Subject: [PATCH] docs: TESTING_INTERNALS notes the quota preflight's unreadable-usage path Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- docs/TESTING_INTERNALS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/TESTING_INTERNALS.md b/docs/TESTING_INTERNALS.md index 278790990..060841164 100644 --- a/docs/TESTING_INTERNALS.md +++ b/docs/TESTING_INTERNALS.md @@ -1018,7 +1018,9 @@ first (`UBI_REAP=0` skips it). Names outside the `ubirun-` prefix are never reap quota preflight adds the size's vCPUs to the project's running VMs and refuses before the create request when that exceeds the known ceiling (`UBI_QUOTA_VCPUS`, or the maximum the last refusal printed, remembered in the -state root; `UBI_QUOTA_WAIT=` waits for room instead). `run`, `verify` +state root; `UBI_QUOTA_WAIT=` waits for room instead). When the usage read fails (`usage` exits 1 on an +unreadable VM list or size and skips a VM that 404s), the preflight retries +within `UBI_QUOTA_WAIT`, then logs and leaves the decision to the API. `run`, `verify` and `ssh NAME COMMAND` stream the remote output through a watchdog: a heartbeat line every `UBI_HEARTBEAT` seconds (300), and a command silent for `UBI_IDLE_TIMEOUT` seconds (1800) or older than `UBI_RUN_TIMEOUT` (0, unlimited)