Skip to content

test(windows): prepare CIM before tests and sharing probes - #557

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/windows-test-preparation
Oct 30, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/windows-test-preparation

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

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


A fresh Windows runner exceeded five seconds before applying CPU load: an empty PowerShell command took 6.819 s, and the first CIM query timed out even after four empty commands. Later CPU-loaded queries finished within 1.39 s. An empty-shell warmup alone therefore does not establish that CIM is ready.

Vitest global setup and all six sharing-evidence entry points now perform one real CIM read before their existing test or measurement windows. Preparation has a 60 s limit, records total/query duration and native failure details, and fails if the observer's creation identity is missing. It discards the table; later reads and assertions still use their existing bounds and fail normally. Product code is unchanged.

The experiment script, both runs' selected measurements and interpretation are retained in experiments/windows-cim. The temporary investigation workflow is excluded. The report distinguishes the observed first-use delay from an unproved cause of the terminated CIM query and the separate Pi RPC cancellations.

Validation: CI=1 pnpm run check passed on Linux (2,533 tests and 18 mock behavior cases). Six preparation regressions cover non-Windows no-op, success, timeout, missing observer/identity and malformed output. Native Windows execution remains for this PR's CI. After merge, Cindy will rerun Qoder Windows resource evidence; this change does not itself fill that evidence gap.

Evidence: https://github.com/botiverse/oar/actions/runs/41065624954 and https://github.com/botiverse/oar/actions/runs/41067396304. Task #97.

@stamp-build
stamp-build Bot force-pushed the agent/otter/windows-test-preparation branch from 3b72e27 to 9b198ab Compare October 30, 2026 15:21
@stamp-build
stamp-build Bot merged commit 5e756fa into main Oct 30, 2026
70 of 71 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/windows-test-preparation branch October 30, 2026 16:27
@stamp-build stamp-build Bot mentioned this pull request Oct 30, 2026
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