Skip to content

Stop running the experimental layout suite on every matching PR - #30907

Merged
nwparker merged 1 commit into
mainfrom
nwparker/CI-runner-backup
Oct 19, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/CI-runner-backup

Conversation

@nwparker

@nwparker nwparker commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​73 $\color{#cf222e}{\Huge{\mathbf{−}}}$​143 $\color{#cf222e}{\Huge{\mathbf{−}}}$​70
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​32 $\color{#cf222e}{\Huge{\mathbf{−}}}$​95 $\color{#cf222e}{\Huge{\mathbf{−}}}$​63

ELI5

PR checks are waiting behind an optional test suite added today. Make that suite manual-only so normal PR updates stop spending about an hour of runner time on an experimental layout setting.

What Changed

Move layout owner (switch on) from PR Checks into Layout owner E2E (manual), started through Actions with an optional commit/ref. Permit only one active manual suite repository-wide. Delete the broad path router and its wiring tests; keep the actual E2E specs and the divergence-summary behavior test. The required layout oracle and PR checks passed aggregate are unchanged.

Why

The backlog snapshot had 60 GitHub-hosted jobs running and 142 queued. This optional suite occupied 21 slots and had 40 more jobs waiting. Its five jobs consume roughly 60 runner-minutes per matching update, including every runtime, persistence, store, and E2E change. Narrower path filters would still run expensive checks for a setting users do not receive; manual runs retain the useful debugging coverage without the automatic fan-out.

Linked Issue

N/A — internal CI capacity fix; follows #30582.

Visual Proof

N/A — CI scheduling only.

Testing

  • 362 focused tests passed across eight files: workflow parallelism, divergence summary, preflight admission, E2E routing/gates, required check identity, readiness reuse, and draft admission.
  • Required PR context validation passed under Bun; changed-code quality passed.
  • Manual workflow passes actionlint; PR workflow has zero new findings against its baseline (installed actionlint does not recognize existing background/wait syntax and Blacksmith labels).
  • Regression check prevents automatic PR calls with the experiment enabled and requires manual-only admission with one active suite.
  • Manual E2E execution is intentionally not launched during the capacity incident; this moves the existing suite without changing its test commands or build setting. PR CI exercises the changed detector and required checks.

Review

Checked that the optional suite cannot be selected by PR routing, the required aggregate and its failure handling are unchanged, manual artifact names remain isolated, and callers retain read-only permissions. No application, platform, SSH, mobile, or wire behavior changes.

Agent skill upstream boundary

  • Not applicable; no upstream skill content copied.

Notes

The scheduling fix takes effect after merge. Existing runs retain their original workflow definitions. Two old runs were separately cancelled after rechecking that their required aggregate succeeded and only optional switch-on tests remained.

Checklist

  • Small, focused change with before/after behavior and rationale.
  • No UI change; visual proof is N/A.
  • Self-reviewed; cross-platform and remote impact considered.
  • Relevant tests, workflow validation, formatting, and changed-code quality pass. Application builds/typechecks are unchanged; full PR checks run in CI.

@coderabbitai

coderabbitai Bot commented Oct 19, 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: 94531e23-969c-47c5-b2e5-f85c9a926091
📥 Commits

Reviewing files that changed from the base of the PR and between c8a4fc6 and d437367.

📒 Files selected for processing: 7
  • .github/workflows/layout-owner-e2e.yml
  • .github/workflows/pr.yml
  • config/scripts/layout-save-divergence-summary.test.mjs
  • config/scripts/pr-auxiliary-preflight-admission.test.mjs
  • config/scripts/pr-layout-owner-switch-on-route.mjs
  • config/scripts/pr-layout-owner-switch-on-route.test.mjs
  • config/scripts/pr-workflow-parallelism.test.mjs
💤 Files with no reviewable changes: 4
  • config/scripts/pr-layout-owner-switch-on-route.mjs
  • config/scripts/pr-layout-owner-switch-on-route.test.mjs
  • config/scripts/pr-auxiliary-preflight-admission.test.mjs
  • .github/workflows/pr.yml

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

📝 Walkthrough

The PR adds a manually dispatched layout-owner E2E workflow and removes the layout-owner switch-on route from the PR workflow. It deletes the route script and its tests. It also adds tests for divergence-summary counts, attribution, unreadable lines, and description normalization.

Priority: ⬆️ High

Merge Risk: ⚪ Minimal · up to d4373

The optional layout suite moves to manual execution without losing its managed-SSH coverage. No identified issue prevents merging.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: the experimental layout suite no longer runs automatically on matching pull requests.
Description check Passed The description covers the required explanation, changed behavior, rationale, testing, visual proof, review notes, compatibility considerations, and checklist. It identifies the related issue as #3058…
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 2…
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 explanation, changed behavior, rationale, testing, visual proof, review notes, compatibility considerations, and checklist. It identifies the related issue as #30582, and the AI disclosure section is correctly omitted for an internal contributor.

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 2 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 cbb9f36 into main Oct 19, 2026
35 of 37 checks passed
@nwparker
nwparker deleted the nwparker/CI-runner-backup branch October 19, 2026 23:16
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