Skip to content

ci(e2e): drop plugin routes whose specs were removed - #43123

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/ci-drop-stale-syntax-smoke-route
Nov 16, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/ci-drop-stale-syntax-smoke-route

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Two e2e source routes still select specs that were deleted: plugin-syntax-smoke (removed in #43014) and plugin-theme-smoke (removed in #42999). Any PR touching those sources (for example src/shared/plugins/languages/protected-copy-keys.json, which every destructive-dialog copy change updates) fails e2e / changed e2e specs with grep: tests/e2e/plugin-syntax-smoke.spec.ts: No such file or directory. Seen on #43118.

Change

Remove the plugins.syntax-and-language-packs and plugins.themes routes. Their sources now fall to the existing plugin catch-all route, which selects plugin-demo.spec.ts; no source loses a spec that still exists. Every remaining plugin route points at an existing spec.

#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.
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The plugins.themes and plugins.syntax-and-language-packs routes, their dedicated E2E specs, and related source/helper match patterns were removed. Eligible product sources that match no remaining specific route use plugins.unrouted-source and select plugin-demo.spec.ts when they match PLUGIN_SYSTEM_SOURCE and are not under __mocks__.

Merge Risk: Minimal · up to c92d2

This removes stale E2E source routes so that PRs touching plugin theme and syntax-pack sources no longer fail the changed-e2e-specs check on specs that no longer exist. No merge-blocking risk was found.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the problem, the change, and the evidence. It names the failing check and the error, and it links the PR #43118 where the failure was seen. It does not follow the repository t… Rewrite the description with the repository template headings: ELI5, What Changed, Why, Linked Issue (add a 'Fixes #' reference to an actual issue), Visual Proof (write N/A and the reason, since this is config-only), Testing (state how the …
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title names the change: it removes the plugin source routes whose E2E specs were deleted. The raw summary, PR description, and objectives all describe removing the plugins.themes and plugins.synta…
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 change: it removes the plugin source routes whose E2E specs were deleted. The raw summary, PR description, and objectives all describe removing the plugins.themes and plugins.syntax-and-language-packs routes, so the title matches the main change. It uses the conventional ci(e2e) scope and is a single concise sentence.

Full details: Description check

Explanation

The description explains the problem, the change, and the evidence. It names the failing check and the error, and it links the PR #43118 where the failure was seen. It does not follow the repository template. It has no ELI5, Visual Proof, Testing checklist, Risk level, Linked Issue, AI Disclosure, or Review sections. It also has no 'Fixes #' issue link, which the template requires for outside contributors. The change is a small config-only removal, so most template sections can be N/A, but the author should state that explicitly.

Resolution

Rewrite the description with the repository template headings: ELI5, What Changed, Why, Linked Issue (add a 'Fixes #' reference to an actual issue), Visual Proof (write N/A and the reason, since this is config-only), Testing (state how the route table was checked and tick the applicable boxes), Risk (set the Level and describe what a revert would undo), AI Disclosure, Review, Agent skill upstream boundary, and Checklist. Keep the current Problem and Change text, and add the before/after behavior in user-facing terms.

  • 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

Recent 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: af028f3d-dbf5-41ea-8e49-676d4873cdf7
Commits

Reviewing files that changed from the base of the PR and between 173beb4 and c92d2d2.

Files selected for processing: 1

  • config/scripts/workflow/source-routing/pr-plugin-e2e-source-routes.mjs
Files with no reviewable changes: 1

  • config/scripts/workflow/source-routing/pr-plugin-e2e-source-routes.mjs

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

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Status: ready to merge.

Problem: two e2e routes pointed at deleted specs, so any PR touching plugin language-pack or theme sources (including protected-copy-keys.json) failed changed e2e specs on a missing file.
Change: drop the two stale routes; those sources fall to the plugin catch-all (plugin-demo.spec.ts).
Verified: route table loaded and every remaining spec exists; fresh Codex and Claude reviewers both found no defects and confirmed none of the 24 matched sources loses an existing spec; CI green (one unrelated structured-session timing flake passed on rerun).
Noted, not changed: five other pre-existing routes in pr-e2e-source-routing.mjs point at specs that no longer exist (onboarding, diff-note-layout, jira-panel-layout, issue-12656-terminal-link-tooltip, ssh-orcad-paired-phone-projects).

@brennanb2025
brennanb2025 merged commit 21473a5 into main Nov 16, 2026
71 of 73 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