You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: remove nine low-value renderer and preview suites - #43025
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.
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: 3 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
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 checks: 3 passed
Check name
Status
Explanation
Title check
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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.
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.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
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
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.
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.