Skip to content

test: remove 54 low-value chat and terminal tests - #40500

Merged
OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3037-expanded-chat-terminal-cuts
Nov 9, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
rm-tests/audit3037-expanded-chat-terminal-cuts

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Delete two low-value terminal suites and trim chat and terminal baselines, keeping stronger ownership and recovery tests.

Files Added Deleted Net
Test 13 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2149 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2147
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2

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 cwdFallback coverage 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.

  • Local automated verification; manual app testing N/A for removals.
  • Existing tests removed/simplified; no new tests warranted.
  • Added-test requirement N/A.

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

  • Not applicable; no upstream skill-installer material copied.

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

  • Focused test cleanup.
  • Change and rationale explained.
  • Coverage loss and revert described.
  • Visual proof N/A with reason.
  • Self-reviewed for correctness, security and performance.
  • Cross-platform and SSH/remote impact considered.
  • Applicable checks run before publication; CI covers broader checks.

@OrcaWin
OrcaWin merged commit 62adb57 into main Nov 9, 2026
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant