Skip to content

test(capture): measure OpenCode turn-end teardown by host version - #551

Merged
abogartz merged 2 commits into
abogartz:mainfrom
WhollyMindless:test/481-host-teardown-probe
Nov 26, 2026
Merged

abogartz merged 2 commits into
abogartz:mainfrom
WhollyMindless:test/481-host-teardown-probe

Conversation

@WhollyMindless

Copy link
Copy Markdown
Contributor

Closes #481.

Add a standalone plugin and an observational smoke test for session.execution.succeeded. Three isolated CLI runs against the local scripted provider record event arrival, a microtask, and concurrent 0, 10, 50, and 200 ms timers. Both pinned host smoke jobs run the probe.

The evidence guide records the host version, platform, and run conditions. Under Linux, the 50 ms timer completed 0/3 times on each pinned host in the focused probe and 1/3 on 2.0.26 and 3/3 on 2.4.1 during full smoke. The probe highlights a 50 ms completion and warns at 200 ms, which no measured trial reached. Both signals call for remeasuring the pre-receipt blind band and auto_capture_dispose. The timing counts are observational and a surviving timer measures process lifetime.

Verification

  • Linux (WSL) full smoke passed 57/57 on OpenCode 2.0.26 and 2.4.1 before the warning adjustment.
  • After the warning adjustment, the focused host probe passed on Linux 2.0.26, 2.3.2, and 2.4.1 and on Windows 2.4.2. Eleven focused documentation and capture tests, typecheck, changed-file lint, and comment lint also passed.
  • Claude's pre-PR review identified ordinary load triggering the initial 50 ms warning. The final probe retains that observation and uses 200 ms for the warning.

GPT-6.2 Sol · T3 Code

@abogartz
abogartz merged commit 966bb7e into abogartz:main Nov 26, 2026
5 checks passed
@abogartz-opencode-self-improvement

Copy link
Copy Markdown

🎉 This PR is included in version 0.37.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit the host teardown probe under e2e/support/ and re-measure the handler-await boundary per host release

2 participants