Repository navigation
test: remove 54 low-value chat and terminal tests - #40500
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Delete two low-value terminal suites and trim chat and terminal baselines, keeping stronger ownership and recovery tests.
What Changed
Remove 54 test declarations (58 expanded cases), including the entire hidden-query and runtime-owner-routing specs. Remove their imports and registration calls while preserving neighboring suites. Trim fixed chat/folding/Find/history/hover/wheel, terminal title/input and resize/cadence baselines; remove one internal mounted-row budget. Across 16 reviewed sources, 67 declarations (79 expanded cases) remain, with one retained case simplified. Net 2,145 lines removed across 14 paths.
Retire the deleted routing suite's remote
cwdFallbackcoverage claim and annotate the reduced input source scope in the reliability gates. Preserve unrelated selectors, assertions, timing rows and historical receipts.Why
Maintainer-requested audit under the test anti-pattern policy: these narrow alarms do not justify their large fixture and maintenance cost. The terminal fixture records writes but never parses queries or delivers replies to an actual provider.
Linked Issue
Internal maintainer-requested cleanup; no separate issue.
Visual Proof
N/A — tests only; no application behavior or UI changes.
Testing
Linux:
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=d6e6355a70bd4c9eb2a21a7931c32aa9f430ced0 --maxWorkers=2— all 28 checks passed, including selected unit tests and applicable typechecks (39.1 seconds). Normal commit hooks passed on the identical provisional patch; exact final-main rebase replay and bounded independent union 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.
Retire real alarms for runtime-owner bootstrap selection/refusal, direct resize/readback/cadence examples, title/paste/EOF cleanup and input-routing baselines, plus hidden query carry across split chunks/reveal, color reply bytes, redraw routing, fixed title/GPU policy and shell-edit examples; fold representation, Find reopening, exhausted paging and hover/wheel behavior also lose their selected checks. These losses are intentional; no equivalent replacement is claimed. Retained tests cover material ownership, refusal, cancellation and lifetime transitions. Revert restores removed tests and wrapper registration. Timing and reliability selectors remain valid because their wrapper suites survive.
AI Disclosure
Review
Self-reviewed finite source decisions, union replay and registration cleanup. Bounded second reviews cover history/viewport decisions and the final union; source-author overlap is disclosed. No complete transitive or global audit claim.
Agent skill upstream boundary
Notes
No product code, wire formats, settings, paths or shortcuts change. Cross-platform, mobile, remote and folder-workspace implications considered. Synthetic DOM/geometry and fake transport tests provide no native renderer or real provider execution proof.
Checklist