Skip to content

Commit ed971f1

Browse files
stamp-build[bot]Otter
andauthored
docs(opencode): record native cold-start failure evidence (#548)
<!-- stamp:review:v1 --> <sup><img src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp" width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_b501e05412dacebf23ebe1b993281800"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Record the native `CREATE TABLE workspace` startup failure observed with OpenCode 1.19.5 on Linux, including the fresh HOME/XDG setup and 17 concurrently scheduled behavior cases. Also document the two-case-concurrency CI failure separately: that older job retained only exit code 1, so its SQLite cause remains unconfirmed. The existing limitation now links both observations to their evidence and to upstream anomalyco/opencode#53879 without claiming every startup exit has the same cause. Documentation only; no retries, locking, test changes, or runtime changes. Validation: `CI=1 pnpm run check` passed; checked the saved native trace and CI job log against the wording. Co-authored-by: Otter <[email protected]>
1 parent 8e8fad9 commit ed971f1

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

‎docs/runtimes/opencode.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,33 @@ this cause, nor that warmup is a general fix. Hosts can serialize the first
6969
startup and wait for readiness before opening more sessions against the
7070
same data directory, as in the passing controls. OAR adds no retry or lock.
7171

72+
Further startup observations on **2026-10-30** also cover v1. A local Linux
73+
x64 run on xxwork with **1.19.5**, a fresh isolated HOME/XDG data directory
74+
and the scripted provider scheduled 17 applicable behavior cases concurrently
75+
(16 session cases and one installation probe). `session.queue-runs-after-turn`
76+
lost its native process before opening a session. The bounded stderr captured
77+
by OAR's ACP opening diagnostics contained this excerpt, with ANSI formatting
78+
removed and the remaining schema omitted:
79+
80+
```text
81+
Error: Unexpected error
82+
Failed query:
83+
CREATE TABLE `workspace` (
84+
```
85+
86+
The process exited with code 1 and no signal. This identifies a failed schema
87+
creation statement, consistent with the startup problem tracked in
88+
[upstream issue 53879](https://github.com/anomalyco/opencode/issues/53879);
89+
the excerpt does not identify `already exists` or `database is locked` as
90+
that run's precise SQLite cause.
91+
92+
OAR's own CI also encounters native startup failures: the
93+
[Linux 1.19.5 job](https://github.com/botiverse/oar/actions/runs/40983609942/job/123829294049)
94+
ran two cases concurrently and lost `session.dispose-is-recorded` before a
95+
session opened (exit 1; 16 passed, two skipped, one failed). That older run
96+
did not retain native stderr, so its database cause remains unconfirmed.
97+
These observations do not establish that every startup exit has one cause.
98+
7299
The boundary probe passed eight checks, including queueing, native steer
73100
refusal, child attribution, abort, disposal and ordinary resume. Its first
74101
model catalog failed plugin activation; separate cold/warm catalog controls

0 commit comments

Comments
 (0)