Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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. |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
리뷰 · 우선순위 34 / 80macOS에서 Codex.app의 Electron 도우미(crashpad, renderer, utility)가 이 PR은 세 가지를 바꿉니다. 아직 draft예요. Review readiness checklist도 0/4예요. 작성자도 macOS 실기기 E2E는 안 돌렸고, Linux fixture와 포커스 테스트만 적었어요.
메인테이너의 판단이 필요한 지점 draft 체크리스트와 macOS 실기기 확인 없이 CI만으로 합칠지 정해 주세요. 작성자가 밝힌 대로 파괴적 재시작 선택기는 안 바뀌어요. 진단 목록만 고치는 범위로 둘지, basename-only 너의 추천 수정 방향은 맞고, #6291 원인과도 잘 맞아요. draft와 체크리스트를 닫고, 가능하면 macOS에서 crashpad가 목록에서 빠지는지만 한 번 확인한 뒤 합치세요. basename-only 이 댓글은 grok-bot이 작성했습니다 |
|
Thanks @hulkbig. The classifier change and the separate |
…arry #6296) (#6393) fix(codex): exclude macOS Electron helpers from client diagnostics (carry #6296) (#6393) On macOS the client classifier split unquoted ps args at the first space, so Codex.app's "Codex Framework.framework" helpers (crashpad, renderer, utility) produced an argv0 named Codex and were listed as pending-restart Codex clients. A full executable path now beats an argv0 guessed from args, the basename-only split framework pair is rejected, and the macOS busy probe reads comm and args separately and joins them by PID. Closes #6291. Carried from #6296. Co-authored-by: Hulk <[email protected]>
Summary
Closes #6291.
Codex Framework.frameworkdo not manufacture aCodexCLI match. Remove the snapshot fallback that could repeat that misclassification.commandargsseparately and join them by PID; its previous combined columns also truncated executable paths containing spaces. Keep the Linux probe and the separate app-server termination selector unchanged.This is an AI-assisted change. Validation below is fixture-based on Linux; no native macOS end-to-end run is claimed.
Verification
Base: current
devat6538001e2fdf54ef657f5057e8c3cbd3249d8e59.bun test tests/codex-integration/native-profile-processes.test.ts tests/service/autostart-health.test.ts— 57 passed, 0 failed, 199 assertions.bun test tests/codex-integration/codex-app-server-processes.test.ts— 59 passed, 1 Windows-only real-PowerShell test skipped, 0 failed; 250 assertions.bun run typecheck— passed.bun run privacy:scan— passed.bun run structure:check— passed.cd docs-site && bun install --frozen-lockfile && ASTRO_TELEMETRY_DISABLED=1 XDG_CONFIG_HOME=/tmp/opencodex-config bun run build— passed; 545 pages and 74,725 internal links checked. The initial build needed a writable Astro config directory in this container.git diff --check— passed. Independent review found a literal-apostrophe parsing regression in the first patch; it was corrected and regression-tested, then the final diff received a separate static review with no blocking findings.bun run test:changed— incomplete: the execution environment blocked a test-selected outbound SOCKS5 connection toapi.commandcode.ai. It was not retried. The repository-wide suite was not run; this draft records the focused-test exception and leaves broader cross-platform CI outstanding.Review follow-up at
0a5dc2d5d1e562b1ba96a1fbca73504c80f78b2cbrowser_crashpad_handlercase: its new fixture failed before this follow-up.Codex.app/Contents/Frameworks/Codex+Framework.framework/token pair. Preserve arbitrary command aliases, direct and interpreter-wrapped clients, and ordinary clients with later framework-path arguments. No process-termination selector changes.bun test tests/codex-integration/native-profile-processes.test.ts tests/service/autostart-health.test.ts tests/codex-integration/codex-app-server-processes.test.ts— 118 passed, 1 Windows-only PowerShell test skipped, 0 failed; 457 assertions on Bun 1.4.0.bun run typecheck,bun run privacy:scan,bun run structure:check, andgit diff --checkpassed. Independent static review found no blocking issue in this follow-up. The docs-site content/build is unchanged from the verification above.Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.