Skip to content

test: remove six low-value suites and trim parser coverage - #43014

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

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

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Remove six low-value suites and one simple parser example: 19 test declarations and 619 net lines. This combines removals into one CI run.

The removed suites cover plugin syntax and terminal tooltip presentation, loose-ref counting, plugin theme settings, repository display order, and NVM alias discovery. Their real integration, preference compatibility, alias termination, and UI regression alarms are deliberately accepted losses. No equivalent replacement coverage is claimed.

Keep the parser UTF-8, byte-limit, and discard-reset cases, setup-command approval cases, and host-qualified worktree lineage cases. Production behavior is unchanged. Retire one exact timing entry; leave legacy-path timing entries unchanged.

Validation: independent AST recount and exact retained test-body hashes; private patch forward/reverse and whitespace checks. Retained parser suite: 5 tests passed. All 26 required changed checks passed; full PR CI completed with 43 accepted checks.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The change removes five shared test suites and two end-to-end test suites. It also removes the CI sharding timing entry for the deleted terminal-link tooltip test.

Merge Risk: Low · up to 56e5f

This is a test-only removal with no production behavior change. Two CI routing entries still point at the deleted E2E specs, so a PR touching only the plugin syntax or terminal geometry areas could fail its changed-E2E step. Clean up those routing entries before merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PR removes six low-value test suites and trims parser coverage. The raw summary shows six deleted test files (loose-ref count, plugin theme settings, nvm default alias, plugin synta…
Description check Passed The description follows the repository template in its main content. It explains what was removed and why (the accepted coverage losses), lists what was retained, and gives a validation summary. It do…
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 says the PR removes six low-value test suites and trims parser coverage. The raw summary shows six deleted test files (loose-ref count, plugin theme settings, nvm default alias, plugin syntax smoke, terminal link tooltip, manual repo order) plus one removed parser test case and one removed timing entry, so the title matches the main change. It is concise, uses the conventional 'test:' prefix, and names both parts of the change.

Full details: Description check

Explanation

The description follows the repository template in its main content. It explains what was removed and why (the accepted coverage losses), lists what was retained, and gives a validation summary. It does not fill in several template sections: ELI5, the Linked Issue (the 'Fixes #' line is blank), Visual Proof (N/A is not stated), the Testing checkboxes, the Risk level, and the Review and Notes sections. For a test-only removal these gaps are non-critical, but the linked issue and risk level are required by the template and should be added.

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

Minor · Remove the deleted spec from the syntax route, and… · pr-plugin-e2e-source-routes.mjs:84-86

config/scripts/workflow/source-routing/pr-plugin-e2e-source-routes.mjs:84-86
Minor · Functional Correctness · Quick win

Remove the deleted spec from the syntax route, and remove the deleted terminal spec from the feature route.

The PR deletes tests/e2e/plugin-syntax-smoke.spec.ts, but plugins.syntax-and-language-packs still selects it. The routing code adds route specs without checking that they exist. A change that matches only this route therefore sends a nonexistent path to Playwright. Playwright reports No tests found, and the changed-E2E step fails. When other specs are selected, the missing path is ignored and the route's coverage does not run.

The same stale-name problem exists in feature.terminal-pane-geometry, which still lists issue-12656-terminal-link-tooltip. Remove that name, and keep only specs that exist.

Suggested fix

   pluginRoute(
     'plugins.syntax-and-language-packs',
-    ['plugin-syntax-smoke'],
+    [],
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: df5d43c9-6d8c-41a2-ac14-dea072c10ae1
Commits

Reviewing files that changed from the base of the PR and between 78c28ab and 56e5fd5.

Files selected for processing: 8

  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/shared/git/maintenance/loose-ref-count.test.ts
  • src/shared/plugins/appearance/plugin-theme-settings.test.ts
  • src/shared/process-streams/search-subprocess-lines.test.ts
  • src/shared/repository/manual-repo-order.test.ts
  • src/shared/shell/command-resolution/nvm-default-alias.test.ts
  • tests/e2e/issue-12656-terminal-link-tooltip.spec.ts
  • tests/e2e/plugin-syntax-smoke.spec.ts
Files with no reviewable changes: 8

  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/shared/git/maintenance/loose-ref-count.test.ts
  • src/shared/plugins/appearance/plugin-theme-settings.test.ts
  • src/shared/process-streams/search-subprocess-lines.test.ts
  • src/shared/repository/manual-repo-order.test.ts
  • src/shared/shell/command-resolution/nvm-default-alias.test.ts
  • tests/e2e/issue-12656-terminal-link-tooltip.spec.ts
  • tests/e2e/plugin-syntax-smoke.spec.ts

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

@OrcaWin
OrcaWin merged commit 3014bda into main Nov 16, 2026
43 checks passed
brennanb2025 added a commit that referenced this pull request Nov 16, 2026
#43014 removed plugin-syntax-smoke and plugin-theme-smoke but kept their
source routes, so any PR touching those sources (for example the
protected copy keys) failed 'changed e2e specs' on a missing spec file.
AmethystLiang added a commit that referenced this pull request Nov 17, 2026
The feature.terminal-pane-geometry route still named
issue-12656-terminal-link-tooltip, which #43014 removed, so any PR touching
terminal.css or pane-divider.ts failed 'changed e2e specs' on a missing file.
AmethystLiang added a commit that referenced this pull request Nov 17, 2026
#43357)

* fix(ui): widen divider grab areas to 16px on the side away from scrollbars

* fix(ui): keep the diff tree separator on its original pixels

* fix(ui): leave sub-pixel divider crossings to the parent divider

* fix(ui): type the split handle overhang style without a cast

* fix(ui): ignore synthetic events in the divider native-drag guard

* feat(ui): widen tab and terminal split gaps to a real 16px instead of overlays

* test(ui): cover the 16px terminal divider box

* fix(ui): paint wide split gaps with the editor surface

* fix(ui): route gap file drops to the nearer pane, keep the seam under the pointer, and continue tab strips across split gaps

* fix(ui): layer the tab band border over the strip fill

* fix(ui): drop the gap drop relay; follow container moves and commit at release

* test(ui): drop the terminal divider size test that restates its formula

* ci: drop the e2e route to a spec deleted in #43014

The feature.terminal-pane-geometry route still named
issue-12656-terminal-link-tooltip, which #43014 removed, so any PR touching
terminal.css or pane-divider.ts failed 'changed e2e specs' on a missing file.
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