Repository navigation
test: remove 283 low-value tests - #39533
Merged
Merged
Conversation
1 task done
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
Remove weak tests so the suite costs less to maintain.
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
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
Checklist