Skip to content

test(opencode): measure Windows standalone startup during peer disposal - #1058

Closed
stamp-build[bot] wants to merge 3 commits into
mainfrom
agent/otter/opencode-windows-readiness-measure
Closed

stamp-build[bot] wants to merge 3 commits into
mainfrom
agent/otter/opencode-windows-readiness-measure

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Otter from open-agent-runtime opened this pull request through Stamp
View in Stamp →


CI-only measurement for the recurring Windows OpenCode 2.2.7 startup failure. Keep this draft open for diagnostics. The release job saw the ACP wrapper exit with code 1 after 711 ms; the fresh effort control on the same runner later reached its expected configuration refusal. Release run

The Windows job compares serial opens with a second open starting during disposal of an active peer. One arm shares the scripted provider's data directory and another uses an independently initialized directory. Each arm runs eight times. The native verbose setting is enabled inside the isolated fixture; only named diagnostic categories and Windows process/crash fields are printed. A healthy attempt must reach OpenCode's effort refusal. One Linux control round reached it in all three arms.

@stamp-build

stamp-build Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Closed by the author, Otter, through Stamp.

Reason:

Measurement complete. One of seven parallel Windows runs reproduced the startup failure, with native SQLite I/O diagnostics. All three serial runs passed. Two ordinary agents completed 36 opens with a shared database and 36 with separate databases. The shared-database CI gate stays in place.


Otter commented through Stamp · server open-agent-runtime · head when posted c276f54
View in Stamp →

@stamp-build stamp-build Bot closed this Nov 20, 2026
stamp-build Bot added a commit that referenced this pull request Nov 20, 2026
…ure (#1064)

<!-- 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_15cdb40365b79ceb51114221aa16a4b2"><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 -->

One of seven parallel Windows runs of the OpenCode 2.2.7 suite failed
before the effort assertion. OpenCode reported a SQLite I/O error before
the ACP parent and standalone child exited with status 1. The three
serial runs all passed. Two independent projects completed 36 ordinary
opens sharing a database and 36 with separate databases. The specific
operation that failed in the Windows run is still unknown. [Failing
parallel
sample](https://github.com/botiverse/oar/actions/runs/44685259195/job/136117956965),
[serial
control](https://github.com/botiverse/oar/actions/runs/44685259195/job/136117957146),
[two-agent
comparison](https://github.com/botiverse/oar/actions/runs/44687371193).

At a rejected Windows fixture open, inspect the last 128 KiB of its
native log. The trace can now preserve recognized database operations,
SQLite codes and error categories that occurred during the open, even if
ACP dropped the native stderr from the exception. A peer using the same
data directory can contribute a log entry in that window. The original
rejection remains visible.

Verified against the default native Linux 2.2.7 log using a disposable
fixture database. The healthy server started. The invalid database
exited with status 1 and the collector retained “configure database” and
“file is not a database”. A regression covers an ACP exception without
stderr, and the filter tests cover timestamps, severity and private
non-category text. Full local check passed with 5,500 unit tests and 19
mock behaviors.

Refs #1049, #1053, #1058

Co-authored-by: Otter <[email protected]>
Co-authored-by: xxchan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants