You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: remove 157 low-value tests and route-contract suite - #37038
Removes 157 low-value test declarations across native, CI tooling, CLI and mobile tests, including the entire PR route-contract suite. The removals include source/config inventory checks and repeated mock wiring. Drops the deleted suite's shard-timing entry.
Scoped external lint/format, retained-test body/wrapper checks, flaky-pattern scans and patch checks passed. Project tests and typechecks were not run locally; full PR Checks passed, including all 12 unit shards and the aggregate gate. Native compiler/runtime validation remains outstanding.
Current-main checks passed for all 193 recorded source/context paths. Tracker history renewal passed. Full CI covered the reviewed PR tree; unrelated main changes since that run were preserved, and the final combined tree was not rerun in CI. No replacement-coverage or complete dependency-closure claim.
No actionable comments were generated in the recent review.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 1df82701-cca5-4bcd-a356-4c2d14208309
Commits
Reviewing files that changed from the base of the PR and between cf3d23c and a8cf39e.
Files selected for processing: 1
config/scripts/electron-builder-config.test.mjs
Files with no reviewable changes: 1
config/scripts/electron-builder-config.test.mjs
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Walkthrough
The diff primarily removes test coverage across configuration scripts, mobile code, native computer-use code, CLI handlers, agent-hook installers, and startup configuration. It also removes one CI timing entry and changes one test import to type-only. The supplied summaries show no implementation changes. The mobile bundle CRLF rejection test remains.
Merge Risk: Minimal · up to a8cf3
No concrete merge-blocking issue is established. Complete the pending CI and native validation before merging.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description explains the scope, validation results, and outstanding native validation. However, it does not follow the required template. It omits the ELI5, What Changed, Why, Linked Issue, Visual…
Complete the required template sections. Add a plain-language ELI5 summary, clear before-and-after behavior and mechanism, the reason for the change, an actual linked issue, and a Visual Proof section with attachments or N/A and a reason.…
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title names the main change: removing 157 low-value tests and the route-contract suite. The raw summary confirms that the changes remove test declarations across several test files, and the delete…
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: removing 157 low-value tests and the route-contract suite. The raw summary confirms that the changes remove test declarations across several test files, and the deleted pr-e2e-route-contracts test file matches the title. The title is specific and concise, with no vague terms or file lists. It does not describe the production change of 8 deleted lines, but that is minor and expected.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 5 files.
Full details: Description check
Explanation
The description explains the scope, validation results, and outstanding native validation. However, it does not follow the required template. It omits the ELI5, What Changed, Why, Linked Issue, Visual Proof, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections. It also does not provide the required issue link, visual-proof statement, or checklist status.
Resolution
Complete the required template sections. Add a plain-language ELI5 summary, clear before-and-after behavior and mechanism, the reason for the change, an actual linked issue, and a Visual Proof section with attachments or N/A and a reason. Complete the AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections. Document testing platforms and clearly identify any remaining validation gaps.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
The reason will be displayed to describe this comment to others. Learn more.
Nitpick comments: 5
src/main/startup/configure-process.test.ts: 3
202-202: Trivial · Data Integrity & Integration · Quick win
Restore the development profile isolation assertion.
The remaining configureDevUserDataPath tests cover E2E home isolation, but the deleted test was the check that a normal development launch selects orca-dev instead of the packaged profile. If that default changes, a development launch can write to the packaged user-data path without this test detecting it. Keep a focused assertion for the default development path. (github.com)
355-355: Trivial · Security & Privacy · Quick win
Retain the Direct Sockets startup guard test.
The deleted disableUnsupportedChromiumFeatures suite checked that startup passes every Direct Sockets feature to Electron’s disable-features switch. If that list or its switch wiring changes, this file no longer detects the loss of a guard intended to prevent a hostile page from crashing its renderer. Restore a focused assertion for the emitted switch and feature list. (github.com)
Keep the hidden-page throttling assertion independent of GPU setup.
The deleted safe-graphics tests checked the IntensiveWakeUpThrottling opt-out separately from GPU feature setup. Startup applies that opt-out even when GPU fallback skips enableMainProcessGpuFeatures. Keep a focused test of the independent switch so a future change does not delay hidden-page agent notifications on fallback launches. (github.com)
This deletion removes the assertions for chord key codes and Command-flag state. The remaining tests do not exercise chord events. Restore this focused test or add an equivalent higher-level check.
After Edit copies the card text, a dispatched delete shows Already sent — your text is still in the composer. (use-mobile-structured-queued-message-controls.ts:146-160). No retained test asserts that message, the copied argument that selects it, or the copied composer text on that path. A change to either one would not fail the mobile suite.
Restore the removed test Edit racing the drain still copies; the user hears it already went out from base 70256eab in use-mobile-structured-agent-session-queued.test.tsx. It asserts the false return, the single copied text, and the Already sent — your text is still in the composer. message.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 514485b0-486f-4a35-aa92-04ccfa834a76
Commits
Reviewing files that changed from the base of the PR and between 70256ea and cf3d23c.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes 157 low-value test declarations across native, CI tooling, CLI and mobile tests, including the entire PR route-contract suite. The removals include source/config inventory checks and repeated mock wiring. Drops the deleted suite's shard-timing entry.
Scoped external lint/format, retained-test body/wrapper checks, flaky-pattern scans and patch checks passed. Project tests and typechecks were not run locally; full PR Checks passed, including all 12 unit shards and the aggregate gate. Native compiler/runtime validation remains outstanding.
Current-main checks passed for all 193 recorded source/context paths. Tracker history renewal passed. Full CI covered the reviewed PR tree; unrelated main changes since that run were preserved, and the final combined tree was not rerun in CI. No replacement-coverage or complete dependency-closure claim.