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 19 low-value chat tests and four suites - #40495
Remove four low-value test suites and trim weaker cases while retaining ownership and recovery checks.
Files
Added
Deleted
Net
Test
10
0
$\color{#cf222e}{\Huge{\mathbf{−}}}$847
$\color{#cf222e}{\Huge{\mathbf{−}}}$847
Prod
3
$\color{#1a7f37}{\Huge{\mathbf{+}}}$1
$\color{#cf222e}{\Huge{\mathbf{−}}}$6
$\color{#cf222e}{\Huge{\mathbf{−}}}$5
What Changed
Remove 19 declarations (20 expanded cases), including entire streaming-input, subagent work-run, WSL stopped-host and retained-draft suites. Preserve 24 declarations (26 expanded cases) unchanged. Delete exclusive fixtures, two performance-runner references and three orphan timing rows. Net 852 lines removed across 13 paths.
Why
Maintainer-requested test-value audit under the repository’s test anti-pattern policy. Remove checks whose narrow alarms do not justify their fixture and maintenance cost.
Linked Issue
Maintainer-requested cleanup; no separate issue.
Visual Proof
N/A — no application UI or interaction behavior changes.
Testing
Linux: ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=a6538f08e1c9af93940eb368241c0cfa54a6e7e7 --maxWorkers=2 — all 27 checks passed, including selected unit tests and applicable typechecks. Normal commit hooks and independent bounded source/patch/census review passed. GitHub CI covers the applicable broader matrix; no local macOS/Windows/native-UI execution claimed.
Local automated verification completed; manual app testing is N/A for these removals.
Existing tests updated/removed; no new tests warranted.
Deliberately retire projection/echo integration, work-run grouping, quote formatting/offer toggles, automatic frontier defaults, alternate notice-slot rendering, static final/transient refusal gating, initial failed-launch editor/source-copy, private render-count/preference wiring and unscoped callback-reset alarms. These are real coverage losses; no equivalent replacement coverage claimed. Future regressions in those retired behaviors could go undetected. Revert this PR to restore tests, fixtures and routing/timing metadata.
AI Disclosure
Review
Self-reviewed and independently reviewed against the final patch. Finite review boundaries are explicit; this does not claim a complete transitive audit.
Agent skill upstream boundary
Not applicable; no upstream skill-installer material copied.
Notes
No wire contracts, saved-data formats, paths, shortcuts or platform-specific behavior changed. Local/remote, mobile and mixed-version implications considered.
Checklist
Focused test cleanup.
Change and rationale explained.
Coverage risk and revert described.
Visual proof N/A with reason.
Self-reviewed for correctness, security and performance.
Cross-platform and SSH/remote impact considered.
Applicable local checks pass; broader platform/build coverage comes from CI.
No actionable comments were generated in the recent review.
Walkthrough
This change removes selected NativeChat tests for selection quotes, subagent sections, structured-session notices and state, and streaming-input reuse. It also removes the streaming-input performance contract and pull-request path filter. The unit timing manifest removes entries for deleted tests and adds a timing entry for the handoff-copy-budget test.
Merge Risk: Minimal · up to 34f33
The change is mergeable after normal checks, with the stated reduction in regression coverage.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly summarizes the main change: removing low-value chat tests and test suites.
Description check
The description covers the required sections, explains the changes and rationale, reports testing, and states the coverage risks and rollback plan. It marks visual proof as not applicable with a reaso…
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: Description check
Explanation
The description covers the required sections, explains the changes and rationale, reports testing, and states the coverage risks and rollback plan. It marks visual proof as not applicable with a reason. The maintainer-requested cleanup needs no separate issue under the template’s maintainer exception.
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 1 files.
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.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 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.
ELI5
Remove four low-value test suites and trim weaker cases while retaining ownership and recovery checks.
What Changed
Remove 19 declarations (20 expanded cases), including entire streaming-input, subagent work-run, WSL stopped-host and retained-draft suites. Preserve 24 declarations (26 expanded cases) unchanged. Delete exclusive fixtures, two performance-runner references and three orphan timing rows. Net 852 lines removed across 13 paths.
Why
Maintainer-requested test-value audit under the repository’s test anti-pattern policy. Remove checks whose narrow alarms do not justify their fixture and maintenance cost.
Linked Issue
Maintainer-requested cleanup; no separate issue.
Visual Proof
N/A — no application UI or interaction behavior changes.
Testing
Linux:
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=a6538f08e1c9af93940eb368241c0cfa54a6e7e7 --maxWorkers=2— all 27 checks passed, including selected unit tests and applicable typechecks. Normal commit hooks and independent bounded source/patch/census review passed. GitHub CI covers the applicable broader matrix; no local macOS/Windows/native-UI execution claimed.Risk
Level: Low runtime risk; intentional coverage reduction.
Deliberately retire projection/echo integration, work-run grouping, quote formatting/offer toggles, automatic frontier defaults, alternate notice-slot rendering, static final/transient refusal gating, initial failed-launch editor/source-copy, private render-count/preference wiring and unscoped callback-reset alarms. These are real coverage losses; no equivalent replacement coverage claimed. Future regressions in those retired behaviors could go undetected. Revert this PR to restore tests, fixtures and routing/timing metadata.
AI Disclosure
Review
Self-reviewed and independently reviewed against the final patch. Finite review boundaries are explicit; this does not claim a complete transitive audit.
Agent skill upstream boundary
Notes
No wire contracts, saved-data formats, paths, shortcuts or platform-specific behavior changed. Local/remote, mobile and mixed-version implications considered.
Checklist