Skip to content

test: remove 167 low-value tests and two CI tooling suites - #37053

Merged
OrcaWin merged 1 commit into
mainfrom
audit/remove-low-value-tests-892
Nov 1, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
audit/remove-low-value-tests-892

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 18 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3104 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3098
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2

Remove 167 low-value test declarations across 18 test files, including the complete pr-preflight-gates and ci-pnpm-verification-cache suites. Remove source/workflow inventories, mock receipt echoes, and private parser permutations while retaining 186 declarations covering behavior and failure boundaries.

Delete the two obsolete CI timing entries. Preserve current main’s earlier timing cleanup and all retained test bodies.

Validation: external lint and formatting checks completed; static parsing and retained-body checks passed. Full CI required before merge.

@OrcaWin
OrcaWin marked this pull request as ready for review November 1, 2026 14:46
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 135c9ef7-26a7-4b5c-80cf-3950e9c02b2a
Commits

Reviewing files that changed from the base of the PR and between b29e7f5 and 9e08fda.

Files selected for processing: 19
  • config/scripts/check-reliability-gates.test.mjs
  • config/scripts/ci-pnpm-verification-cache.test.mjs
  • config/scripts/ci-shard-timings.json
  • config/scripts/electron-vite-output-contract.test.ts
  • config/scripts/linux-package-fixture-cache.test.mjs
  • config/scripts/node-server-change-scope.test.mjs
  • config/scripts/orcad-windows-prebuild-workflow.test.mjs
  • config/scripts/orcad-windows-security.test.mjs
  • config/scripts/pr-preflight-gates.test.mjs
  • config/scripts/windows-security-reuse-benchmark.test.mjs
  • src/main/codex/config-plugin-registration-promotion.test.ts
  • src/main/codex/config-settings-promotion.test.ts
  • src/main/codex/config-toml-trust-hook-upsert.test.ts
  • src/main/ipc/worktrees-remove-preflight.test.ts
  • src/main/orcad/orcad-profile-preflight.test.ts
  • src/main/orcad/orcad-runtime-native-preflight.test.ts
  • src/main/runtime/rpc/methods/preflight.test.ts
  • src/main/runtime/rpc/mobile-socket-wiring.test.ts
  • src/renderer/src/components/browser-pane/host-guest/browser-page-registration-ownership.test.ts
Files with no reviewable changes: 14
  • src/main/runtime/rpc/mobile-socket-wiring.test.ts
  • config/scripts/pr-preflight-gates.test.mjs
  • config/scripts/ci-pnpm-verification-cache.test.mjs
  • src/main/ipc/worktrees-remove-preflight.test.ts
  • src/main/orcad/orcad-runtime-native-preflight.test.ts
  • src/main/runtime/rpc/methods/preflight.test.ts
  • config/scripts/check-reliability-gates.test.mjs
  • config/scripts/orcad-windows-security.test.mjs
  • config/scripts/orcad-windows-prebuild-workflow.test.mjs
  • config/scripts/ci-shard-timings.json
  • config/scripts/windows-security-reuse-benchmark.test.mjs
  • src/main/codex/config-toml-trust-hook-upsert.test.ts
  • config/scripts/linux-package-fixture-cache.test.mjs
  • src/main/orcad/orcad-profile-preflight.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

This change removes test cases and test files across CI scripts, Codex configuration promotion, preflight checks, IPC, mobile sockets, and browser-page registration. It also removes two CI shard timing entries. Some test suites retain other tests, and some imports are adjusted. The test removals do not establish changes to the tested implementations.

Merge Risk: Minimal · up to 9e08f

The removed tests reduce coverage, but no resulting failure or broken CI reference was identified. The change is mergeable after the required full CI run.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description clearly explains the scope and validation, but it omits most required template sections, including ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing checklist, AI Disclosure… Add the required template sections and complete the relevant fields. Include the linked issue, visual proof or N/A with a reason, detailed testing steps and platforms, checklist status, and review notes. Preserve the existing change summary…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title accurately describes the main change: removal of 167 low-value tests and two CI tooling suites.
Docstring Coverage Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
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 5 files.

Full details: Description check

Explanation

The description clearly explains the scope and validation, but it omits most required template sections, including ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing checklist, AI Disclosure, Review, Notes, and Checklist.

Resolution

Add the required template sections and complete the relevant fields. Include the linked issue, visual proof or N/A with a reason, detailed testing steps and platforms, checklist status, and review notes. Preserve the existing change summary and validation details.

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.

Share

@OrcaWin
OrcaWin merged commit 0c2142c into main Nov 1, 2026
83 of 84 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