Files
deepseek-harness/packages/experimental/forge-session/tests
LegGasai b9ccc94b06 test(forge-session): bound the wait for the bindings that follow a program
The GitLab composition case waited for five bound merge requests with
vi.waitFor's default one second. Two of the five are bound by shell
lookups, and a lookup for a call inside a program is queued until the
program's root call settles, so in the ptc variant both lookups start
after the turn. On a loaded coverage runner they take longer than one
second and the case fails with "to have a length of 5 but got 4"; it did
so twice in a row on this branch, whose test files moved the spec into a
partition beside a much heavier one.

Slowing the stand-in glab lookups by 800 ms reproduces that failure with
the default wait and passes with the bound. The awaited state is
unchanged; the bound follows the sibling forge specs.
2026-11-24 17:41:16 +08:00
..