Skip to content

test: remove 181 low-value tests and 2 suites - #37024

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

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

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Removes 181 low-value test declarations and 15 custom-driver scenario groups from 20 audited modules, including two whole suites. The removed cases check static markup, source inventories, supplied mock outcomes, private flags, or repeated wiring. Removes the deleted cache suite from its workflow command and shard timings.

Full PR Checks passed, including all 12 unit shards and the aggregate gate. External lint/format, retained-test identity, deleted-reference, ratchet, and forward/reverse patch checks also passed. No project tests ran locally.

CI tested the recorded earlier merge of this head. Current-main renewal confirms the same selected test candidates and all listed owner/guard context; the sole metadata drift is preserved while deleting only the retired timing key. Unrelated main changes are preserved. All 20 owner/dependency context gaps remain; no replacement-coverage or complete dependency-closure claim is made.

@OrcaWin
OrcaWin marked this pull request as ready for review November 1, 2026 12:53
@OrcaWin
OrcaWin requested a review from Jinwoo-H as a code owner November 1, 2026 12:53
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Walkthrough

The diff primarily removes tests across CI tooling, relay endpoints, mobile web shell, native chat, computer-use runtimes, and mobile UI. It adds one focused PR-scope test for a mobile-only path. It also removes the deleted dependency-cache test from the CI invocation and timing data. No implementation changes are reported.

Merge Risk: Low · up to 8d189

Future cross-version feature mismatches could go undetected. Restoring the negotiation checks is advisable.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the main test removals and reports validation results, but it does not follow the required template. It omits the required section headings, linked issue, visual-proof status,… Rewrite the description using all required template sections. Add an actual linked issue, state N/A with a reason for visual proof if applicable, document testing and supported platforms, complete the testing and checklist items, add the …
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: removing 181 low-value tests and two test 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 2 files.

Full details: Description check

Explanation

The description explains the main test removals and reports validation results, but it does not follow the required template. It omits the required section headings, linked issue, visual-proof status, explicit testing checklist and platform details, AI disclosure when applicable, review and boundary sections, notes, and checklist. The reported CI status also conflicts with the objective summary, which says CI is pending.

Resolution

Rewrite the description using all required template sections. Add an actual linked issue, state N/A with a reason for visual proof if applicable, document testing and supported platforms, complete the testing and checklist items, add the AI disclosure when required, complete the review, upstream-boundary, notes, and security/cross-platform sections, and resolve the CI-status inconsistency.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick comments: 1
tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts: 1

334-336: Trivial · Data Integrity & Integration · Quick win

Restore the four capability-to-method assertions.

The deleted checks covered status-feed, rewind, conversation-outline, and item-detail negotiation for both builds. The retained tests do not detect a capability being advertised without its corresponding method. Restore those comparisons or generalize the existing respondToQuestion assertion to cover all four pairs.


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: 7c49458e-47f9-430b-aa78-1c9c53b9054c
Commits

Reviewing files that changed from the base of the PR and between ec0d3ce and 8d189d3.

Files selected for processing: 19
  • .github/workflows/pr.yml
  • cloud/apps/relay/src/relay.blackbox.test.ts
  • config/scripts/ci-dependency-download-cache.test.mjs
  • config/scripts/ci-shard-timings.json
  • config/scripts/mobile-web-app/mobile-web-app-terminal-render.test.mjs
  • config/scripts/pr-code-change-scope.test.mjs
  • mobile/modules/orca-mobile-web-shell/tests/MobileWebShellChecks.swift
  • mobile/src/mobile-web-shell/MobileWebShellScreen.test.tsx
  • mobile/src/mobile-web-shell/mobile-web-shell-session.test.ts
  • mobile/src/session/native-chat/transcript/MobileNativeChatMessage.test.ts
  • mobile/src/session/use-mobile-structured-agent-options.test.ts
  • native/computer-use-linux/runtime_render_test.py
  • native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/NumericArgumentParsingTests.swift
  • native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/SnapshotRenderingTests.swift
  • native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/SyntheticMouseClickDeliveryTests.swift
  • native/computer-use-windows/runtime-render.test.ps1
  • src/main/native-chat/agent-session-wire/structured-agent-session-queued-messages.test.ts
  • src/renderer/src/components/mobile/MobilePage.test.tsx
  • tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts
Files with no reviewable changes: 17
  • native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/SnapshotRenderingTests.swift
  • .github/workflows/pr.yml
  • native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/SyntheticMouseClickDeliveryTests.swift
  • cloud/apps/relay/src/relay.blackbox.test.ts
  • config/scripts/mobile-web-app/mobile-web-app-terminal-render.test.mjs
  • src/main/native-chat/agent-session-wire/structured-agent-session-queued-messages.test.ts
  • native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/NumericArgumentParsingTests.swift
  • src/renderer/src/components/mobile/MobilePage.test.tsx
  • mobile/src/session/use-mobile-structured-agent-options.test.ts
  • native/computer-use-windows/runtime-render.test.ps1
  • config/scripts/ci-dependency-download-cache.test.mjs
  • native/computer-use-linux/runtime_render_test.py
  • mobile/modules/orca-mobile-web-shell/tests/MobileWebShellChecks.swift
  • config/scripts/ci-shard-timings.json
  • tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts
  • mobile/src/mobile-web-shell/MobileWebShellScreen.test.tsx
  • mobile/src/mobile-web-shell/mobile-web-shell-session.test.ts

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

@OrcaWin
OrcaWin merged commit 70256ea into main Nov 1, 2026
119 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