Skip to content

ci: stop running WSL host tests for UI-only changes - #31243

Merged
nwparker merged 1 commit into
mainfrom
nwparker/ci-narrow-wsl-triggers
Oct 20, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/ci-narrow-wsl-triggers

Conversation

@nwparker

@nwparker nwparker commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​40 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​40
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2

ELI5

A mobile tab-strip change was starting real Windows/WSL machines even though this test never displays that UI. UI-only changes now keep their relevant checks without taking those WSL runner slots.

What Changed

Remove the mobile source, desktop native-chat component, and renderer agent-session library triggers from WSL orcad E2E. Keep all host, shared protocol, dependency, manual-run, and workflow triggers, and keep the full distro matrix unchanged. Mixed UI/host changes still run WSL.

Why

WSL run frequency rose from 19 to 550 in matching October 18/20 windows while successful execution time stayed roughly flat. For example, UI-only #31169 started WSL run 39459401348 and used 9.17 runner-minutes. Narrowing admissions addresses that waste without reducing distro or RPC coverage. The full PR workflow already builds and checks the mobile web bundle; WSL drives host RPC and never renders mobile or desktop screens.

Linked Issue

N/A — maintainer CI follow-up.

Visual Proof

N/A — CI routing only; no application UI or interaction changes.

Testing

  • Locally verified workflow routing on macOS: 119 tests passed across orcad-e2e-change-scope.test.mjs and pr-code-change-scope.test.mjs.
  • Added regression cases for UI-only exclusion, continued mobile bundle checks, and retained host/protocol/dependency and mixed-change routing.
  • Changed-code quality gate, targeted formatting, and git diff --check passed.
  • This PR changes the WSL workflow itself, so CI will exercise its full distro matrix alongside the full PR checks before merge.

Review

Self-reviewed the three removed triggers against the RPC-only WSL test and the existing mobile web build/render job in pr.yml.

Agent skill upstream boundary

  • Not applicable; no upstream skill code copied.

Notes

All WSL distro jobs, SSH/remote host coverage, and host wire compatibility checks remain selected by their existing inputs.

Checklist

  • This PR is small and focused
  • Explained what changed, why, and the coverage ownership
  • Visual proof N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform and SSH/remote impact considered
  • Focused local tests and quality checks passed; CI covers remaining checks

@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 664e09d5-596f-4a58-b230-90b96997cffd
📥 Commits

Reviewing files that changed from the base of the PR and between fb81ee5 and c7db440.

📒 Files selected for processing: 2
  • .github/workflows/wsl-orcad-e2e.yml
  • config/scripts/orcad-e2e-change-scope.test.mjs

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

📝 Walkthrough

The WSL workflow now documents that it validates host RPC and excludes specified mobile and renderer UI paths from its pull-request triggers. The routing tests cover retained WSL paths and verify job selection for UI-only, mobile-only, and mixed UI/WSL-host changes.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to c7db4

No actionable merge-blocking risk is identified; the change is mergeable after normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: preventing WSL host tests from running for UI-only changes.
Description check Passed The description covers the required sections, explains the change and rationale, documents testing, and addresses visual proof, review, cross-platform impact, and checklist items. The missing issue li…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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: Description check

Explanation

The description covers the required sections, explains the change and rationale, documents testing, and addresses visual proof, review, cross-platform impact, and checklist items. The missing issue link is explained as a maintainer CI follow-up, which is permitted by the template.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • 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

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 49e6107 into main Oct 20, 2026
40 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