test: diagnose Windows cold provider entry timing - #136
Conversation
📝 WalkthroughWalkthroughThe Windows secret command runner test now directly awaits command completion, verifies fixture output, and confirms the provider-entry marker was written, replacing timeout-based settlement observation and conditional abort logic. ChangesWindows provider test
Estimated code review effort: 2 (Simple) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
CodeRabbit reported a temporary Fair Usage review limit (38 minutes) for this one-file diagnostic PR; see its automated status comment above. That is a documented external review-service limitation, not an unresolved review. No CodeRabbit finding or thread exists. I will rely on the exact-head full CI matrix and human maintainer review for this diagnostic, and will not treat the rate-limit message as approval. |
|
Maintainer self-review for exact head e1c89b5 is complete. The net diff against current |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Resolves #135.
Summary
Replaces the Windows-only cold-provider latency probe with a causal contract: the same un-aborted request must return the fixture output and preserve the provider-entry marker after the contained helper settles.
The prior probe failed at its test-owned 1.5-second observation boundary even when the same request completed successfully after settlement. It therefore tested unsupported cold-start timing rather than secret-provider behavior.
Security impact
No production runtime behavior changes. Windows helper delivery, explicit argument-array execution,
shell: false, redaction, bounded cancellation, and kill-on-close Job Object containment are unchanged. No timeout was increased, no platform behavior was skipped, and coverage thresholds were not changed.Validation
npm test: one non-reproducible doctor-test diagnostic was observed, then passed in the immediate coverage rerun and exact-head CI; tracked and closed as test: diagnose intermittent strict doctor capacity assertion under full suite #139 with evidencenpm run test:core: 393 passed, 23 platform skipsnpm run test:coverage: 1066 passed, 23 platform skips; 95.49% statementsThe diagnostic commits are intentionally preserved.