Skip to content

test: remove 283 low-value tests - #39533

Merged
OrcaWin merged 1 commit into
mainfrom
test/remove-low-value-tests-1858
Nov 7, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
test/remove-low-value-tests-1858

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Remove weak tests so the suite costs less to maintain.

Files Added Deleted Net
Test 105 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​21 $\color{#cf222e}{\Huge{\mathbf{−}}}$​5394 $\color{#cf222e}{\Huge{\mathbf{−}}}$​5373
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5 $\color{#cf222e}{\Huge{\mathbf{−}}}$​41 $\color{#cf222e}{\Huge{\mathbf{−}}}$​36

What Changed

Remove 283 test definitions after reviewing 145 source files, including 38 whole files. The deleted cases pin inventories, mock-supplied outcomes, DTO/schema projections, cosmetic bookkeeping, naming conventions, internal work counts and repetitive examples. Retain independent credential isolation, stale-result handling, user-config preservation, host ownership, cancellation, parser admission and resource cleanup cases.

Remove 37 obsolete timing entries and reduce three flaky-pattern counts; one deleted test had no timing entry. Record the lost ordinary JSON-era build-selection alarm in the profile-storage gate while preserving all existing receipts and selectors. Production code is unchanged.

Why

Weak tests add noise and maintenance. Entire suites are deleted where their exercised consequences do not justify keeping them. Removed alarms are intentionally surrendered; no equivalent replacement coverage is claimed. The naming-policy checker remains unchanged; this PR does not remove production exports.

Linked Issue

Maintainer-requested cleanup; no existing issue.

Visual Proof

N/A — tests and metadata only; no visual or interaction change.

Testing

  • Linux focused validation: 438 passed across 107 runtime files, with 12 platform/environment skips. This includes explicit POSIX lookup execution; dash is absent, Windows/WSL and macOS locale branches were not run.
  • Strict lint/format, exact worker-patch reconstruction, retained registrations/callbacks/wrappers/live hooks, metadata semantics and current-main source/owner freshness passed.
  • The CLI naming suite is deleted entirely and has no surviving runtime obligation.

Reviewer command: ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=origin/main --maxWorkers=2. Local runs use private background environments and isolated displays. All 33 repository changed-file checks and normal commit hooks passed. Full CI and required aggregate must pass before merge. No physical provider, live Electron, native-focus, device, new p95 or soak proof is claimed.

Risk

Level: Low. The removed details may regress without their previous alarms. No runtime behavior, persisted data or wire formats change. Revert this PR to restore the tests and metadata.

Review

Self-reviewed per-case lost alarms, surviving bodies, external/mock boundaries, removed-file references and exact metadata cleanup. Cross-platform, remote and mobile behavior considered; no production changes. Focused profile helper validation does not validate its broad optional gate selector or physical install/downgrade behavior.

Agent skill upstream boundary

  • No upstream skill-installer content copied or translated.

Checklist

  • Focused test removal and obsolete metadata cleanup.
  • Explained changes, rationale, accepted coverage loss and rollback.
  • Visual proof marked N/A with reason.
  • Self-reviewed correctness, security, performance and platform/remote scope.
  • Local focused tests passed; CI will cover required build and platform checks.

@OrcaWin
OrcaWin merged commit 5c5c7ca into main Nov 7, 2026
44 of 45 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