Repository navigation
test(windows): log handles and termination checkpoints - #540
Merged
Merged
Conversation
stamp-build
Bot
force-pushed
the
agent/otter/windows-resource-markers
branch
from
October 30, 2026 01:36
36c395e to
4831478
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows timeout failures can lose the final artifact without showing whether the sampler entered or returned from
Process.Kill(true). This adds per-process and aggregate handle counts to resource samples, includes the aggregate in the existing live checkpoints, and writes timestamped timeout/termination checkpoints to both the job log and JSONL.The checkpoints identify the launched PID before termination, the call returning or throwing, and the result of the existing five-second root-process exit wait. Missing handle counts remain unknown. A returned termination call or an exited root is not evidence that every descendant exited; a stopped log can also mean the sampler or CIM query blocked. No native timeout, sampling interval, command, concurrency or termination operation changes. Diagnostic output still excludes command lines, executable paths and environment values.
Windows regressions check handle counts and original exit/output preservation, plus checkpoint order and matching live-log/JSONL evidence for command timeout and a blocked test worker. The complete local check passes on Linux; Windows-native cases skip there and require the PR's Windows CI. The investigation report documents what each checkpoint establishes.
This is the separate task #97 diagnostics follow-up requested after PR #539's Windows Pi RPC cancellation. It does not establish the cancellation's cause or alter that PR.