Repository navigation
ci: cap sync-sized PR scans and remove Windows lanes - #52
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 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 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 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." |
This was referenced Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Verification
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.