From c7428fc0b74febc1b08a72b2f5ba88e918a64146 Mon Sep 17 00:00:00 2001 From: Gabe O'Leary Date: Fri, 13 Nov 2026 12:51:30 -0800 Subject: [PATCH] chore(opencode): retry a failed test twice Several tests race a real clock and fail on a slow CI runner, on unchanged code. Retrying keeps a PR from going red on runner speed. Co-Authored-By: Claude --- packages/opencode/bunfig.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/opencode/bunfig.toml b/packages/opencode/bunfig.toml index 33b39f719f42..005fc98b2023 100644 --- a/packages/opencode/bunfig.toml +++ b/packages/opencode/bunfig.toml @@ -5,3 +5,7 @@ preload = ["@opentui/solid/preload", "./test/preload.ts"] # timeout is not actually parsed from bunfig.toml (see src/bunfig.zig in oven-sh/bun) # using --timeout in package.json scripts instead # https://github.com/oven-sh/bun/issues/7789 +# Several tests race a real clock (a 30s budget for a spawned CLI, a 50ms stream +# timeout) and lose it on a loaded CI runner. A test that fails three times in a +# row still fails. +retry = 2