test(responses): make Windows shutdown spill fixtures deterministic - #3696
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe change stabilizes two Windows spill shutdown tests. It replaces call-count and wall-clock synchronization with target-based gates, controlled clocks, fake timers, and explicit promise cleanup. Planning documents define the test-only verification and Windows proof procedures. ChangesWindows spill fixture
Estimated code review effort: 3 (Moderate) | ~25 minutes ✨ Finishing Touches📝 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 |
|
✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 58 / 80이 PR은 Windows full-suite에서 깨진 shutdown spill 픽스처 두 개를 디스크 타이밍에 의존하지 않게 고칩니다. A 런타임 스택( 검증은 실패한 Windows job 증거, 호스티드 Windows/Bun 부분 증명, exact-product-head CI 요구를 본문에 적어 두었습니다. owner 지시로 로컬 suite는 안 돌렸습니다. 플래키 Windows verifier가 있으면 위층 SSE/WS/recovery PR의 CI가 전부 노이즈가 됩니다. 픽스처만 고치는 작은 표면이라 리뷰 부담도 낮습니다. draft이고 full exact-head CI가 아직 게이트입니다. 경로 경로 같은 파일 reserved-budget - spill/ACL에 공유 logical clock, native drain timer는 유지, deadline 감소·fallback·replay assert 유지. 경로 plan 경로 임시 verifier workflow - 별도 검증 브랜치에만 두고 이 PR에 넣지 말라고 본문이 못 박습니다. 맞습니다. 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
|
Owner-authorized admin merge after independent fixture/security review and exact-head verification. At b2f24ca every functional producer in full cross-platform run 33981268532 passed: all Linux shards, both macOS shards, the unsharded macOS control, all six Windows shards, type/privacy gates and platform smoke jobs. Only the deterministic aggregation job remained queued at the final check; its success/skipped allowlist was checked directly. No test execution or failure was bypassed. Actual hosted Windows causal verification also passed in run 33981229052 on an identical runtime/test tree: 143 passing tests, bounded fallback/clock controls, exact negative-control assertions, retained watchdogs, source restoration and typecheck. The temporary verifier workflow is not part of this merge. |
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. |
Summary
Windows full-suite job 101339545421 exposed two shutdown-spill fixtures that depended on unmeasured filesystem timing. The stable-tail ordering case could enter an unmocked synchronous ACL fallback; the reserved-budget case controlled only the ACL clock and charged real disk time to its logical budget.
Make publication ordering explicit with path-specific gates, controlled timers, complete ACL mocks and cleanup. Use a shared logical spill/ACL clock for the reserve test while retaining its native drain timer, exact deadline-decrease checks, fallback proof and replay assertions. Production shutdown/ACL behavior and the separate deadline/watchdog tests are unchanged.
This independently verified foundation will be inserted below A's #3683 → #3686 → #3690 → #3692 → #3694 stack. The original Windows failure logs are preserved; it is not attributed to the SSE runtime fix.
Verification
git diff --checkpassed.b2f24cada35ff998096cf7f3c83b95eef4ee55af: independent final fixture review PASS.Checklist
Summary by CodeRabbit
Bug Fixes
Documentation