You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three of the nightly's deployed OpenCode tests fail on main. In each, the agent's Durable Object is reset by the platform for using too much memory during the first submission:
Error: probeSubmit: Error: Durable Object's isolate exceeded its memory limit and was reset.
Failing tests, all in nightly/harnesses/opencode.test.ts:
holds a real conversation with a tool through a reset
replays a run cut off by a code update mid-call
replays a run cut off by a reset mid-call, woken by its own alarm
The other tests in the same job pass, including all of the Pi harness's.
Where it was seen
The nightly run on 2 December (main at 6201c11ea).
Reproduced from a clean checkout of main by deploying the same test Worker.
What we know and don't know
The failure is at the first submit, before any reset the test makes itself, so it is the harness's own memory use on a deployed Worker, not the test's fault injection.
The OpenCode harness was upgraded to opencode 2.4.3 on 1 December (fix(agents): upgrade opencode to 2.4.3 #3509). That is the most likely cause, but it is not confirmed yet. A run of the same three tests on the commit before that upgrade is in progress and the result will be added here.
If the tests also fail before the upgrade, the cause is elsewhere in agents and this issue will be updated with the first commit where they fail.
What is being done now
The three tests will be marked as a known failure in the nightly, pointing at this issue, so the rest of the nightly can be read. No product code changes with that.
What would fix it
Someone who owns the OpenCode harness needs to look at its memory use at startup on 2.4.3 (what it loads before the first model call) and either reduce it or document a limit.
One data point on when this started. I ran the nightly's deployed harness tests (cd nightly && pnpm run harnesses) from a clean checkout of two commits on the same account, the same day:
Activity
mattzcarey commentedon Dec 2, 2026
One data point on when this started. I ran the nightly's deployed harness tests (
cd nightly && pnpm run harnesses) from a clean checkout of two commits on the same account, the same day:So the OpenCode 2.4.3 upgrade (bb20240) brought it. One run on each commit.