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
Remove 41 low-value tests: delete 15 suites and narrow 16 others, retaining 179 test declarations. These cases assert fixture/static markup facts, replay private models, or measure timing without a meaningful budget.
Remove stale CI routes to deleted suites and reduce the flaky-pattern baseline to match the removed cases.
Validation: external syntax, formatting, and lint checks passed for the changed test candidates. Independently verified all 120 reviewed source outcomes and 184 unchanged production dependencies against the captured main base; the 34-file patch passes whitespace checks. Full CI and final audit reconciliation are pending.
The PR removes or trims end-to-end and unit tests across performance, terminal and session behavior, settings and workspace UI, Source Control, and SSH flows. It removes associated test-routing entries and updates flaky-test baseline records. The keep-awake test now checks hook-driven active and inactive states and OS-awake mechanisms. The remaining authoritative empty-inventory test checks that resume dispatch proceeds without a liveness probe.
Merge Risk: Low · up to 89717
Terminal recovery and awake-mode settings regressions could become harder to detect. The change is mergeable with coverage follow-up.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description explains the main change and gives partial validation details, but it omits most required template sections, including ELI5, Linked Issue, Visual Proof or N/A, Risk, AI Disclosure, Rev…
Complete the required description template. Add the ELI5, What Changed, Why, Linked Issue with an actual issue reference, Visual Proof or N/A with a reason, Testing details and platform coverage, Risk with rollback information, applicable A…
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: removing 41 low-value tests and 15 suites.
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: 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 2 files. (1 skipped: 1 unsupported.)
Full details: Description check
Explanation
The description explains the main change and gives partial validation details, but it omits most required template sections, including ELI5, Linked Issue, Visual Proof or N/A, Risk, AI Disclosure, Review, Notes, and the Checklist.
Resolution
Complete the required description template. Add the ELI5, What Changed, Why, Linked Issue with an actual issue reference, Visual Proof or N/A with a reason, Testing details and platform coverage, Risk with rollback information, applicable AI Disclosure and Review sections, Agent skill boundary, Notes, and the Checklist.
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.
Restore a coverage check for the fault and recovery paths.
The retained model tests still pass if the fault injector or recovery actions stop firing. Every per-schedule assertion holds when no fault occurs. The removed block was the only check that the scheduled fault types and recovery events occur. No other check in this file replaces it, and the counters are now written but never read. The restored check uses the fixed seeds, so it is deterministic. It runs only after the 8 block tests in a full-file run.
Suggested fix
transport.destroy?.()
link.dispose()
})
++ it('exercised every fault the model schedules', () => {+ expect(stats.schedules).toBe(SCHEDULES_PER_BLOCK * BLOCKS)+ expect(stats.cancelledForbidden).toBeGreaterThan(0)+ expect(stats.restarts).toBeGreaterThan(0)+ expect(stats.zombieFlushes).toBeGreaterThan(0)+ expect(stats.gaveUp).toBeGreaterThan(0)+ for (const count of Object.values(stats.faults)) {+ expect(count).toBeGreaterThan(0)+ }+ })
})
Restore the Settings persistence test and its required helpers.
The current suite no longer exercises selecting Agent or Off in Settings and checking the persisted computerAwakeMode through IPC. Restore the test with openSettings, getSettings, and dismissTransientAnnouncement; keep the announcement dismissal before interacting with Settings.
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: f86a91ad-76bf-4b6d-b08c-5e4ea875035d
Commits
Reviewing files that changed from the base of the PR and between 10a623b and 897174d.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 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.
Remove 41 low-value tests: delete 15 suites and narrow 16 others, retaining 179 test declarations. These cases assert fixture/static markup facts, replay private models, or measure timing without a meaningful budget.
Remove stale CI routes to deleted suites and reduce the flaky-pattern baseline to match the removed cases.
Validation: external syntax, formatting, and lint checks passed for the changed test candidates. Independently verified all 120 reviewed source outcomes and 184 unchanged production dependencies against the captured main base; the 34-file patch passes whitespace checks. Full CI and final audit reconciliation are pending.