Skip to content

ci: cap sync-sized PR scans and remove Windows lanes - #52

Merged
zpyoung merged 2 commits into
mainfrom
zpyoung/cut-ci-time
Sep 11, 2026
Merged

zpyoung merged 2 commits into
mainfrom
zpyoung/cut-ci-time

Conversation

@zpyoung

@zpyoung zpyoung commented Sep 11, 2026 •

Copy link
Copy Markdown
Owner
Files Added Deleted Net
Test 8 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1066 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1064
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​69 $\color{#cf222e}{\Huge{\mathbf{−}}}$​169 $\color{#cf222e}{\Huge{\mathbf{−}}}$​100

Changes

  • Skip changed-code quality and React Doctor above 500 changed paths; retain baseline checks and explain the skip.
  • Skip changed-spec E2E selections above 25 specs; preserve scheduled full-suite coverage and SSH/IME source outputs.
  • Remove Windows packaging and real WSL jobs from the PR lane for this macOS-only release fork.
  • Remove obsolete Windows PR-lane contracts and declare the remaining fork-owned contract changes.
  • Terminal Perf was disabled through GitHub workflow settings, independently of these file changes.

Verification

  • Workflow-shell smoke checks passed at 500/501 files, 25/26 specs, and empty diffs.
  • Real v1.4.193 comparison: 8,511 paths selected 117 specs and skipped changed E2E.
  • Aggregate gate passed success/docs-only scenarios and rejected each required dependency failure.
  • YAML parsing, dependency graph, shell syntax, formatting, lint, and fork-ownership guard passed.
  • Unit and workflow contract tests are delegated to this PR's CI at the operator's request; no local or remote sandbox Vitest run was performed.

Follow-up measurements

Observe a sync PR, confirm Terminal Perf remains disabled after the next sync, and compare time-to-green after ten PR runs. No runtime reduction is claimed as measured yet.

Copilot AI lite review requested due to automatic review settings September 11, 2026 10:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

SSH-source coverage can be skipped, and the new path/spec cutoff boundaries lack committed contract tests.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates macOS-only PR CI for sync-sized changes by capping scans and E2E selections while removing Windows-specific PR lanes and contracts.

Changes:

  • Caps quality scans at 500 changed paths and E2E selections at 25 specs.
  • Removes Windows packaging, WSL PR jobs, and obsolete contracts.
  • Updates fork ownership and retained Linux workflow coverage.
File summaries
File Description
config/scripts/wsl-e2e-lane-contract.test.mjs Retains reusable WSL workflow contract checks.
config/scripts/windows-pty-native-capability-workflow.test.mjs Removes obsolete Windows PTY contract checks.
config/scripts/win32-test-lane-registration.test.mjs Removes obsolete Windows lane registration checks.
config/scripts/skills-cli-package-workflow.test.mjs Removes obsolete Windows CLI contract checks.
config/scripts/pr-workflow-parallelism.test.mjs Removes Windows dependency assertions.
config/scripts/pr-code-change-scope.test.mjs Removes obsolete Windows workflow assertions.
config/scripts/client-hosted-browser-package-coverage.test.mjs Retains Linux packaging coverage.
config/fork-ownership.json Declares fork-owned CI contract changes.
.github/workflows/pr.yml Adds CI caps and removes Windows-specific lanes.
Review details

Suppressed comments (1)

.github/workflows/pr.yml:109

  • This adds the 25-spec cutoff, but no committed workflow contract test exercises the boundary or verifies that the step writes should_run=false. Please cover exactly 25 specs (runs) and 26 specs (skips) so this safety cap cannot drift silently.
          TEST_FILE_COUNT="$(jq 'length' <<< "$TEST_FILES_JSON")"
          if [ "$TEST_FILE_COUNT" -gt 25 ]; then
            echo "should_run=false" >> "$GITHUB_OUTPUT"
            echo "Skipping reusable E2E workflow: $TEST_FILE_COUNT selected specs exceeds the 25-spec limit; this sync-sized selection is covered by the scheduled full suite."
  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/pr.yml
Comment on lines +75 to 78
CHANGED_COUNT="$(wc -l < "$RUNNER_TEMP/changed-paths.txt")"
echo "changed_count=$((CHANGED_COUNT))" >> "$GITHUB_OUTPUT"
node config/scripts/pr-code-change-scope.mjs \
< "$RUNNER_TEMP/changed-paths.txt" | tee -a "$GITHUB_OUTPUT"
Comment thread .github/workflows/pr.yml
Comment on lines +107 to +109
if [ "$TEST_FILE_COUNT" -gt 25 ]; then
echo "should_run=false" >> "$GITHUB_OUTPUT"
echo "Skipping reusable E2E workflow: $TEST_FILE_COUNT selected specs exceeds the 25-spec limit; this sync-sized selection is covered by the scheduled full suite."
@zpyoung
zpyoung merged commit 494e45f into main Sep 11, 2026
26 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.

2 participants