From 3311ad20c64d26a671b4dd97c406fded4bed3529 Mon Sep 17 00:00:00 2001 From: Diego Rodrigues de Sa e Souza Date: Tue, 15 Sep 2026 00:25:31 -0300 Subject: [PATCH] fix(docs): document OMNIROUTE_READY_TIMEOUT_MS and allowlist the test-only DISABLE_IOREG_STRATEGY (#13692) Clears the two env-doc drifts the batch introduced. `check:env-doc-sync` is back to the pre-existing base-red set (#12732). `check-env-doc-sync` unit suite: 13 structural cases green; the 2 live-data cases stay red on the same inherited vars. --- .env.example | 4 ++++ scripts/check/check-env-doc-sync.mjs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.env.example b/.env.example index d05df17a18..6fa14d9308 100644 --- a/.env.example +++ b/.env.example @@ -1817,6 +1817,10 @@ APP_LOG_TO_FILE=true # Per-attempt HTTP timeout for CLI → server calls (milliseconds). Default: 30000. # OMNIROUTE_HTTP_TIMEOUT_MS=30000 +# How long `omniroute serve` waits for the health endpoint before printing the +# readiness-timeout warning (milliseconds). Also --ready-timeout. Default: 60000. +# OMNIROUTE_READY_TIMEOUT_MS=60000 + # Set to 1 to print retry/backoff details to stderr during CLI commands. # OMNIROUTE_VERBOSE=0 diff --git a/scripts/check/check-env-doc-sync.mjs b/scripts/check/check-env-doc-sync.mjs index 2f5d0b790f..d333a89649 100644 --- a/scripts/check/check-env-doc-sync.mjs +++ b/scripts/check/check-env-doc-sync.mjs @@ -223,6 +223,9 @@ const IGNORE_FROM_CODE = new Set([ // Test-only override: points setup-open-code.mjs at a fixture plugin dir without // requiring the real bundled plugin to be built. "OMNIROUTE_OPENCODE_PLUGIN_DIR", + // Test-only escape hatch: makes getMachineIdRaw() skip the macOS ioreg strategy so + // machineId tests reach the fallback strategies on darwin (#13539). Not user config. + "DISABLE_IOREG_STRATEGY", ]); // Vars documented in ENVIRONMENT.md but intentionally absent from .env.example.