gstack/design
Pablosinyores 5e5037b621 fix(design/variants): surface real 240s timeout in AbortError message
`generateVariant` in `design/src/variants.ts` arms its abort timer
at 240_000 ms (`setTimeout(() => controller.abort(), 240_000)` at
line 61), but the AbortError branch at line 128 returns
`"Timeout (120s)"` — half the actual bound.

The mismatch is purely a stale string literal, but it's the only
signal a caller gets when the API stalls. A user staring at
`Timeout (120s)` has no way to know whether to bump the orchestrator
timeout, retry, or drop the call — the surfaced number is off by 2x
from the timer that fired.

Surface the real bound: "Timeout (240s)". Adds a regression test that
stubs fetch to a permanently-pending promise, fast-forwards only the
240_000 ms abort timer (leaves the leading exponential retry delays
on their real values), and asserts the surfaced error string matches
the configured bound.
2026-05-28 19:11:51 +05:30
..
src fix(design/variants): surface real 240s timeout in AbortError message 2026-05-28 19:11:51 +05:30
test fix(design/variants): surface real 240s timeout in AbortError message 2026-05-28 19:11:51 +05:30
prototype.ts v1.30.0.0 fix wave: 21 community PRs + Windows CI extension + codex flag-semantics smoke (#1391) 2026-05-09 08:06:47 -07:00