Repository navigation
test: drain Windows ACL work and startup child output - #6495
Conversation
Collect stdout and stderr immediately, retain bounded tails and a sticky startup marker, and include child state/timing in readiness failures. Keep the 15-second deadlines and all shared-client ownership assertions unchanged. Cover high-volume streams, diagnostic failure output, split decoding and bounded cancellation; the hosted timeout root cause remains unconfirmed.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughCLI tests now capture bounded stdout and stderr from spawned children and use the capture for startup checks, failure diagnostics, and cleanup. OAuth tests add per-test temporary-home cleanup that waits for directory hardening, and remove suite-specific home-directory setup from several test suites. ChangesChild output capture
OAuth test home cleanup
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other Merge Risk: ⚪ Minimal · up to This is a test-only change with no production impact. At worst, one rare startup-failure case in the CLI tests fails more slowly than before. The change is mergeable. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Make Windows test lifecycle reliable: drain pending Nous ACL hardening before removing owned temporary homes, and make startup failures diagnosable by draining both child output pipes immediately. Final Windows7 timed out waiting for a runtime record without retaining child output; the fixture now keeps bounded stdout/stderr tails, child state and a sticky startup marker.
The Nous fixed-directory cleanup raced asynchronous hardening; each test now uses the canonical owned temp home and awaits its hardening/reap drain before removal. Existing credential security assertions and production permissions stay unchanged.
This is a test-only diagnostic/lifecycle repair. The original hosted timeout was not reproduced or root-caused, and this PR does not claim otherwise. Existing 15-second deadlines and shared-client ownership assertions are unchanged; no retries or skips were added.
Verification
Checklist
Maintainer integration
Owner lidge-jun elects integration into dev at
0d99a2313469a826ffe15bb749f55cf121a51b36. Exact-head pull_request CI 37109537371, attempt1, passed all requested jobs. Independent review and exact native fixture proof/limits are recorded above. The original Windows7 timeout cause remains unconfirmed; this is bounded diagnostic improvement, not a claimed production repair. Final full dev dispatch will validate the combined candidate. This is maintainer integration, not self-approval.