Skip to content

test: remove nine low-value renderer and preview suites - #43025

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

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

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Remove nine whole test suites and 15 cases: five E2Es for icon encoding, recovered folder labels, media playback position, Jira column preferences and saved diff-note geometry, plus four renderer suites for language recommendations/offers/selection and plugin-toast bookkeeping. This deletes 701 net lines, including obsolete preview-route and timing entries.

The deleted E2Es exercise real codecs, daemon restart, media playback, browser preferences and Monaco. The renderer tests include real locale normalization and asynchronous selection ordering. Their narrow presentation, convenience and internal-notice alarms have low marginal value; those losses are deliberate, without claiming equivalent replacement coverage. The icon test's earlier keep decision is explicitly reversed in the audit tracker.

Retain the PDF failed-rebuild test that clears stale pages and displays distinct next-build content, plus five cases for UNC path identity, uninstall-step isolation and editor access-growth disclosure. No production behavior changes. Preview route predicates and its other five specs remain intact.

Validation: all 30 required changed checks passed; no retained test sources modified. Full PR CI must pass before merge.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The change deletes four renderer unit test files and five end-to-end test files. It also removes the timing entry for one deleted end-to-end test and removes another deleted test from the editor preview source route.

Merge Risk: Moderate · up to 2a6a2

This PR only removes tests, so production behavior is unchanged, and the lost coverage is stated as deliberate. However, the E2E routing config still points at two deleted specs. A later change touching only Jira sources may select a missing spec and fail the changed-E2E CI step. Removing the two stale route entries before merging avoids that.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description covers the main change: it removes nine test suites and 15 cases, names the affected E2E and renderer tests, and states that no production behavior changes. It also says which tests ar… Rewrite the description with the template sections. Add: (1) an ELI5 summary in plain language; (2) What Changed, covering the deleted suites and the removed timing and preview-route entries; (3) Why, including why removal beats fixing or k…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "test: remove nine low-value renderer and preview suites" matches the main change, which deletes nine test suites. It is specific about the change type. It says "preview suites" but the dele…
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 "test: remove nine low-value renderer and preview suites" matches the main change, which deletes nine test suites. It is specific about the change type. It says "preview suites" but the deleted set also includes E2E tests for icons, Jira, folder labels, and media playback, so the wording is somewhat narrow. It is not misleading.

Full details: Description check

Explanation

The description covers the main change: it removes nine test suites and 15 cases, names the affected E2E and renderer tests, and states that no production behavior changes. It also says which tests are retained and gives a validation status. It does not follow the repository template. It has no ELI5 section, no Visual Proof section (the change is test-only, so the template asks for N/A with a reason), no Testing checklist, no Risk section with a level and rollback plan, no Linked Issue (the template requires one for outside contributors), and no Review, Agent skill upstream boundary, or AI Disclosure sections. The description also does not say whether the removals are safe to merge. It only says the coverage loss is deliberate.

Resolution

Rewrite the description with the template sections. Add: (1) an ELI5 summary in plain language; (2) What Changed, covering the deleted suites and the removed timing and preview-route entries; (3) Why, including why removal beats fixing or keeping these tests, and the alternatives considered; (4) a Linked Issue with an actual issue reference, or an explanation if the author is a maintainer; (5) Visual Proof, written as N/A with a reason, because the change has no UI effect; (6) Testing, with the checklist items marked and the validation steps a reviewer can follow; (7) Risk, with a level (Low, Medium, or High), the riskiest part, and a rollback plan; (8) the AI Disclosure section; (9) the agent skill upstream boundary checkbox; (10) the Notes and Checklist sections. Also reconcile the validation wording, which says all checks passed, with the objectives, which say required checks are pending.

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

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

Major · Remove the deleted E2E spec names from the… · pr-feature-area-e2e-source-routes.mjs:30

config/scripts/workflow/source-routing/pr-feature-area-e2e-source-routes.mjs:30
Major · Functional Correctness · Quick win

Remove the deleted E2E spec names from the feature-area routes.

The PR deletes diff-note-layout.spec.ts and jira-panel-layout.spec.ts, but the feature-area route file still lists both names. A PR that touches only src/main/jira/ (or another Jira prefix) therefore sends tests/e2e/jira-panel-layout.spec.ts to the changed-E2E job. That path matches no file. The job's Playwright discovery and run commands then receive a filter that matches nothing, which can fail the step. A diff-notes PR tolerates the stale name because its other specs still match.

Delete both stale entries. A Jira-only PR then produces no route specs and no longer selects a missing file.

Suggested fix

       'diff-note-edit',
-      'diff-note-layout',
       'diff-note-line-range'
-    ['jira-panel-layout'],
+    [],
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: ab8aa698-b7fd-49f8-9529-19c54c4da41f
Commits

Reviewing files that changed from the base of the PR and between 06795b1 and 2a6a2b0.

Files selected for processing: 11

  • config/scripts/ci/sharding/ci-shard-timings.json
  • config/scripts/workflow/source-routing/pr-editor-preview-e2e-source-routes.mjs
  • src/renderer/src/components/languages/device-language-offer.test.ts
  • src/renderer/src/components/languages/language-pack-options.test.ts
  • src/renderer/src/components/languages/language-selection.test.ts
  • src/renderer/src/store/plugins/updates/plugin-update-review-toast.test.ts
  • tests/e2e/diff-note-layout.spec.ts
  • tests/e2e/editor-media-playback-position.spec.ts
  • tests/e2e/jira-panel-layout.spec.ts
  • tests/e2e/resource-manager-folder-labels.spec.ts
  • tests/e2e/sidebar-repo-icons.spec.ts
Files with no reviewable changes: 11

  • config/scripts/ci/sharding/ci-shard-timings.json
  • config/scripts/workflow/source-routing/pr-editor-preview-e2e-source-routes.mjs
  • src/renderer/src/components/languages/device-language-offer.test.ts
  • src/renderer/src/components/languages/language-pack-options.test.ts
  • src/renderer/src/components/languages/language-selection.test.ts
  • src/renderer/src/store/plugins/updates/plugin-update-review-toast.test.ts
  • tests/e2e/diff-note-layout.spec.ts
  • tests/e2e/editor-media-playback-position.spec.ts
  • tests/e2e/jira-panel-layout.spec.ts
  • tests/e2e/resource-manager-folder-labels.spec.ts
  • tests/e2e/sidebar-repo-icons.spec.ts

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

@OrcaWin
OrcaWin merged commit 4fcdfed into main Nov 16, 2026
41 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