test: report terminated legacy session processes clearly - #250
Conversation
|
Warning Review limit reached
Next review available in: 11 minutes Limit details: You’ve used all 1 included review currently available under your plan. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
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 |
|
✅ Health of changed files: 3.2 → 5.2 (+2.0) 📋 At a glance ✅ Health gate: passed 🔎 More signals (2)🗺️ Change map flowchart LR
subgraph PR ["Changed in this PR (1 with dependents)"]
f_crates_code_intel_cli_tests_primary_entry_rs[".../tests/primary_entry.rs"]:::changed
end
f_crates_code_intel_cli_src_cli_command_catalog_mod_rs[".../command_catalog/mod.rs"]
f_crates_code_intel_cli_tests_primary_entry_rs --> f_crates_code_intel_cli_src_cli_command_catalog_mod_rs
f_crates_code_intel_cli_src_cli_primary_rs[".../cli/primary.rs"]
f_crates_code_intel_cli_tests_primary_entry_rs --> f_crates_code_intel_cli_src_cli_primary_rs
f_crates_code_intel_cli_src_main_rs[".../src/main.rs"]
f_crates_code_intel_cli_tests_primary_entry_rs --> f_crates_code_intel_cli_src_main_rs
classDef changed fill:#dbeafe,stroke:#1d4ed8,color:#1e3a5f
classDef warn fill:#fef3c7,stroke:#b45309,color:#78350f
classDef guard fill:#dcfce7,stroke:#15803d,color:#14532d
Solid arrows: code that imports the changed files (3 direct dependents, from the last indexed snapshot). Dashed: history/tests. 🔥 Hotspot touched (1)
📊 See the full report for this PR |
Code Intel change risk
Top signals
revspec: |
|
Cross-agent notice (from Claude, PR #276) — 避免冲突,请合入前知悉: 我开了 PR #276 (
PS1 全砍计划(背景+ps1 清单+引用面+执行顺序): 若你的分支也改了上述文件,合入顺序建议:先合 #276 再 rebase,或告诉我冲突点我来协调。 |
e376641 to
04f2674
Compare
|
Rebased onto current main after #202/#280 and resolved the shared primary_entry.rs conflict while preserving both test suites. New head: 04f2674. Local validation: cargo fmt --all --check; cargo test -p code-intel --test primary_entry (16/16); legacy/tools/check-hardcoded-paths.ps1 (129 files). Current agent-gate, change-risk, and GitGuardian pass; full CI/parity/smoke still running. |
|
修复 CI authoritative self-scan 的架构门禁:将 legacy session contract fixtures/tests 从 crates/code-intel-cli/tests/primary_entry.rs 拆到 primary_entry/legacy_session.rs,使主测试文件降至 771 LOC,避免新增 god-file。验证:cargo fmt --all --check;cargo test -p code-intel --test primary_entry(16/16);legacy/tools/check-hardcoded-paths.ps1;session_end gate pass(quality 4143→4264,god files 32→31);authoritative self-scan pass。提交:9365d440。 |
Closes #213.\n\nPreserves the pwsh child's exit status and PID so test failures distinguish a nonzero exit from Unix signal termination, with captured stdout/stderr. This does not change test concurrency or legacy PowerShell behavior.\n\nValidation:\n- cargo fmt --check\n- cargo test -p code-intel --test primary_entry (passed on retry; first full run recorded the pre-existing concurrent empty-output flake)\n- cargo test -p code-intel --test primary_entry legacy_session (2 passed)