Repository navigation
test: contain server admission CI stalls and synchronize quota switching - #6279
Conversation
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. |
|
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 configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe full-suite runner now assigns the active-registry admission test to an isolated lane. Test changes also await upstream shutdown and synchronize an account-switch test with its pending usage request. ChangesTest execution stability
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Merge Risk: ⚪ Minimal · up to The admission test is isolated in eligible full-suite plans, and the affected tests coordinate cleanup and request timing. No concrete merge-blocking code risk is evident; complete the planned exact-head CI check before integration. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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. |
리뷰 · 우선순위 60 / 80이 PR은 제품 동작을 바꾸는 작업이 아니다. Linux CI에서 테스트가 중간에 멈춰 120초 타임아웃이 나던 문제를, 테스트 실행 방식과 정리(cleanup) 타이밍을 고쳐 막으려는 작업이다. 베이스는 첫 번째 줄기는 두 번째 줄기는 작성자 검증으로는 관련 포커스 스위트 142통과, typecheck·structure·privacy·file-size ratchet 통과다. 전체 Linux suite는 exact-head Cross-platform CI에 맡긴다고 명시했다. 지금 체크는 아직 pending이 많다. 라인 scripts/test.ts SERIAL_FULL_SUITE_FILES - 또 quarantine다. Linux multi-file 스톨의 진짜 원인(타이머 누수·Bun 내부 등)은 아직 증명되지 않았고, 파일 단위 격리로 가둔 것이다. 목록이 계속 늘면 full-suite wall time과 유지 비용이 쌓인다. 메인테이너의 판단이 필요한 지점
너의 추천
이 댓글은 grok-bot이 작성했습니다 |
|
Owner-authorized maintainer integration into
Review gate command: This integrates the verified listener cleanup correction and fresh-process containment. The exact Bun-internal reason for the original multi-file stall remains unconfirmed, as recorded in the description. The old branch's quota dispatch-cancellation race is documented and the regression now waits for request entry before switching. |
Summary
active-registry-admission.test.tsfile in the existing fresh-process lane on all platforms, and await its upstream listener shutdown. In Linux run 36610213506, batch 11 stopped after this file's WebSocket admission case and timed out at 120 seconds; all 11 cases passed in its standalone attribution process. The serial manifest is consumed by both the local suite and hosted batch runner. A regression pins the dedicated process and the main-lane exclusion; no assertion, timeout, or suite membership is removed.finally. Run 36614996669 failed withusageCallsequal to zero because the old branch's post-token selection guard could cancel dispatch when switching overtook token acquisition. Currentdevcompleted 40 independent focused runs and a controlled delayed-token probe; loading the old branch probe under the same delay failed. Current cooldown recovery already permits the originally probed account to retain its measurement while suppressing a stale provider report.The Linux timeout is containment of a native multi-file process-state stall, not a claim that a particular JavaScript timer leak or Bun-internal deadlock has been proven. The first missing case creates a second listener; the fixture's upstream shutdown was not awaited. MacOS completed the original batch and both adjacent-file pairings without the stall. Increasing deadlines or accepting attribution as a passing run would not address it.
Verification
bun test --isolate --timeout 60000 tests/providers/provider-account-quota.test.ts tests/codex-integration/active-registry-admission.test.ts tests/ci-workflows/test-runner.test.ts tests/ci-workflows/ci-shard-balance.test.ts— 142 pass, 3 platform skips, 0 fail.bun test --isolate --preload ./.tmp/linux-ci-flakes/upstream-stop-order.ts -t "non-SSE streamed" tests/codex-integration/active-registry-admission.test.ts— reverting only the awaited upstream close failed because the fixture restoredOPENCODEX_HOMEbefore the native close promise settled; the committed awaited close passed. The observer and red/green logs are scratch evidence, not committed fixtures.bun run typecheck,bun scripts/file-size-ratchet.ts,bun run structure:check,bun run privacy:scan, andgit diff --check— passed.Checklist