Skip to content

test: remove 14 low-value suites and trim 15 others - #42999

Merged
OrcaWin merged 1 commit into
mainfrom
test/remove-low-value-suites-6026
Nov 16, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
test/remove-low-value-suites-6026

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Remove 14 low-value test suites and trim 15 others: 57 test declarations / 72 fixed potential cases. Combine renderer, main, WSL and E2E removals into one CI run.

What Changed

Remove ordinary plugin-theme, tooltip, emoji and lineage-spacing E2E smoke; preview continuity, Git Graph result navigation and Linear filter examples; optional onboarding/preferences, quota-label classification, legacy skill update and file-search examples. Trim routine plugin installation/refresh, discovery and display behavior. Delete one orphan historical skill fixture, ten timing entries, and obsolete reliability selectors/assertion references. Shrink the obsolete real-wait baseline entry. Preserve earlier reliability accounts and all dated receipts.

Why

Reviewed the real behavior and earlier KEEP reasons, then accepted these specific coverage losses at the requested aggressive value threshold. Actual filesystem, SQLite, HTTP, Git and Chromium integration alone does not justify retention. No equivalent replacement coverage is claimed.

Keep authored document/draft/undo behavior, credential and configuration ownership, destructive filesystem refusal, authenticated ingress, cross-host routing, and material session/lifecycle boundaries. Decisions and accepted losses are recorded in packets 6018–6020, 6022–6025.

Linked Issue

Maintainer-requested test cleanup.

Visual Proof

N/A — test removals only.

Testing

  • Tests intentionally removed after review.
  • Manual UI validation (N/A).

The 15 retained modified suites passed all 58 tests. Reliability policy and all 40 required changed checks passed locally. All 44 CI entries were accepted before merge; 245 reviewed-source bindings, the merged patch and merge tree verified exactly. Runtime logs identify actual platform skips; no native GUI validation is claimed.

AI Disclosure

AI-assisted with Codex.

Risk

Medium. Deliberately loses real appearance/navigation, optional preference persistence, plugin refresh, quota labeling, search availability and compatibility alarms. Reverting restores the tests and metadata.

Agent skill upstream boundary

  • Not applicable.

Notes

Cross-platform, remote, mobile and folder-workspace implications considered. The comprehensive audit remains in progress; global remaining removals are unknown.

Checklist

  • Focused change and self-review
  • Accepted coverage losses explained
  • Visual proof N/A
  • Full current-head CI accepted; merged as 4aacd00

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The pull request removes or revises tests across main-process, renderer, WSL guest, and end-to-end areas. It also removes related CI timing records and a flaky-test baseline entry. Reliability-gate metadata is updated for the retired HTML preview toolbar suite and the removed worktree-palette test. WSL plugin-overlay tests remove some previous cases and add checks for overlay contents and agent-specific materialization.

Merge Risk: Low · up to 16a0b

This change removes tests and does not change app behavior. One lifecycle test for hidden HTML preview guests is gone, so a regression there could go unnoticed. Consider restoring it or recording the gap explicitly before merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing 14 low-value test suites and trimming 15 others. It matches the changeset, which deletes whole test files and trims others. It is concise and specific. The ti…
Description check Passed The description follows the template sections (ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, Checklist). It explains …
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: Title check

Explanation

The title names the main change: removing 14 low-value test suites and trimming 15 others. It matches the changeset, which deletes whole test files and trims others. It is concise and specific. The title does not name the coverage tradeoff, but it does not need to.

Full details: Description check

Explanation

The description follows the template sections (ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, Checklist). It explains the scope, the accepted coverage losses, and the risk level, and it states a revert path. Gaps: the Linked Issue section says only 'Maintainer-requested test cleanup' and has no issue reference, and the Testing section lists the manual-test box unchecked without steps. The Risk section names no backout beyond 'Reverting restores the tests and metadata', and the Level is stated as Medium. The description also refers to 'packets 6018–6020, 6022–6025' without linking them, so a reviewer cannot verify those decisions from the PR. The description is mostly complete, so it passes, but these items should be improved before merge.

  • 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.

Actionable comments posted: 1

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: 24dc9ffe-566f-4fee-92e0-82f53df63345
Commits

Reviewing files that changed from the base of the PR and between 6b88f59 and 16a0bf2.

Files selected for processing: 33

  • config/flaky-test-pattern-baseline.txt
  • config/reliability-gates.jsonc
  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/main/ipc/filesystem/filesystem-list-files-name-filter.test.ts
  • src/main/persistence/applying-settings/persistence-chat-ui-launch-tip-audience.test.ts
  • src/main/persistence/applying-settings/persistence-settings-ui-defaults.test.ts
  • src/main/persistence/applying-settings/persistence-ui-state.test.ts
  • src/main/rate-limits/providers/codex/codex-rate-limit-window-classification.test.ts
  • src/main/repository-icons/repo-icon-file-detection.test.ts
  • src/main/skills/bundled-skill-install/bundled-skill-legacy-auto-update.test.ts
  • src/main/skills/bundled-skill-install/orchestration-v1.3.24-rc.2.skill-md.txt
  • src/main/skills/discovery/skill-root-file-walk.test.ts
  • src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx
  • src/renderer/src/components/editor/git-graph/git-graph-commit-actions-controller.test.ts
  • src/renderer/src/components/editor/rich-markdown/details/rich-markdown-details-keyboard.test.ts
  • src/renderer/src/components/editor/rich-markdown/links/useLinkBubble.test.tsx
  • src/renderer/src/components/editor/rich-markdown/tables/rich-markdown-table-actions.test.ts
  • src/renderer/src/components/linear-issue-attribute-filter-dropdowns.test.tsx
  • src/renderer/src/components/sidebar/project-admission/menu/AddProjectMenu.test.tsx
  • src/renderer/src/components/sidebar/workspace-visibility/dialog/WorktreeVisibilityDialog.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx
  • src/wsl-guest/agent-hooks/server/wsl-agent-hook-relay.test.ts
  • src/wsl-guest/agent-hooks/status/agent-hook-server-codex-subagent-transcript.test.ts
  • src/wsl-guest/commands/preflight-handler.test.ts
  • src/wsl-guest/commands/wsl-hook-fs-bridge.test.ts
  • src/wsl-guest/plugins/installation/opencode-startup-prompt-install.test.ts
  • src/wsl-guest/plugins/installation/wsl-install-plugins-handler.test.ts
  • src/wsl-guest/plugins/overlays/plugin-overlay.test.ts
  • tests/e2e/git-history-tooltip-wrap.spec.ts
  • tests/e2e/plugin-theme-smoke.spec.ts
  • tests/e2e/tooltip-dropdown-trigger-stability.spec.ts
  • tests/e2e/workspace-emoji-picker.spec.ts
  • tests/e2e/worktree-lineage-indentation.spec.ts
Files with no reviewable changes: 28

  • config/flaky-test-pattern-baseline.txt
  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/main/ipc/filesystem/filesystem-list-files-name-filter.test.ts
  • src/main/persistence/applying-settings/persistence-chat-ui-launch-tip-audience.test.ts
  • src/main/persistence/applying-settings/persistence-settings-ui-defaults.test.ts
  • src/main/persistence/applying-settings/persistence-ui-state.test.ts
  • src/main/rate-limits/providers/codex/codex-rate-limit-window-classification.test.ts
  • src/main/skills/bundled-skill-install/bundled-skill-legacy-auto-update.test.ts
  • src/main/skills/bundled-skill-install/orchestration-v1.3.24-rc.2.skill-md.txt
  • src/main/skills/discovery/skill-root-file-walk.test.ts
  • src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx
  • src/renderer/src/components/editor/git-graph/git-graph-commit-actions-controller.test.ts
  • src/renderer/src/components/editor/rich-markdown/links/useLinkBubble.test.tsx
  • src/renderer/src/components/editor/rich-markdown/tables/rich-markdown-table-actions.test.ts
  • src/renderer/src/components/linear-issue-attribute-filter-dropdowns.test.tsx
  • src/renderer/src/components/sidebar/workspace-visibility/dialog/WorktreeVisibilityDialog.test.tsx
  • src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx
  • src/wsl-guest/agent-hooks/server/wsl-agent-hook-relay.test.ts
  • src/wsl-guest/agent-hooks/status/agent-hook-server-codex-subagent-transcript.test.ts
  • src/wsl-guest/commands/wsl-hook-fs-bridge.test.ts
  • src/wsl-guest/plugins/installation/opencode-startup-prompt-install.test.ts
  • src/wsl-guest/plugins/installation/wsl-install-plugins-handler.test.ts
  • src/wsl-guest/plugins/overlays/plugin-overlay.test.ts
  • tests/e2e/git-history-tooltip-wrap.spec.ts
  • tests/e2e/plugin-theme-smoke.spec.ts
  • tests/e2e/tooltip-dropdown-trigger-stability.spec.ts
  • tests/e2e/workspace-emoji-picker.spec.ts
  • tests/e2e/worktree-lineage-indentation.spec.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.

"commands": [
"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-file-reader.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx src/shared/document-preview/doc-preview-scheme.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx",
"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/shared/document-preview/doc-preview-scheme.test.ts",

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.

Minor · Stability & Availability · Quick win

Keep a lifecycle test for hidden HTML document guests.

The removed suite was the only test in the inspected set that checks that an inactive HtmlDocPreview keeps its guest mounted and reports it through hasLiveBrowserGuest. Retained tests cover registry removal and recreation for browser pages in general. They do not cover this document-preview path. A regression that unmounts or drops a hidden preview guest can pass the remaining suite. This conflicts with the PR's stated aim to retain lifecycle coverage.

Restore the deleted case, or add a narrower test that keeps the hidden-guest assertions. Add it to the compound Vitest command and testFiles in config/reliability-gates.jsonc, or record the accepted gap explicitly.

@OrcaWin
OrcaWin merged commit 4aacd00 into main Nov 16, 2026
44 checks passed
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
…pstream-e2e.txt

Upstream removed git-history-tooltip-wrap (stablyai#42999), combined-diff-scroll-restore (stablyai#43134), diff-word-wrap (stablyai#43006), editor-tab-selection-restore (stablyai#43017) and active-view-restart-restore (stablyai#43079) as low-value suites; per the list's header rule their lines go.
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