Skip to content

ci: run E2E on Ubuntu and Windows for PRs, macOS and Windows on main - #148

Merged
fi3ework merged 1 commit into
mainfrom
ci/pr-ubuntu-e2e
Nov 30, 2026
Merged

fi3ework merged 1 commit into
mainfrom
ci/pr-ubuntu-e2e

Conversation

@fi3ework

Copy link
Copy Markdown
Member

Summary

Switches the PR E2E matrix from macos-latest to ubuntu-latest to avoid long GitHub-hosted macOS runner queues while keeping POSIX + Windows coverage on every PR and macos-latest + windows-latest on pushes to main.

 jobs:
   e2e:
     strategy:
       matrix:
-        os: [windows-latest, macos-latest]
+        os: ${{ github.event_name == 'push' && fromJSON('["windows-latest", "macos-latest"]') || fromJSON('["windows-latest", "ubuntu-latest"]') }}
  • .github/workflows/ci.yml: selects ["windows-latest", "ubuntu-latest"] on pull_request and ["windows-latest", "macos-latest"] on push (main). e2e/run.mjs already re-execs under xvfb-run -a on Linux when DISPLAY is unset.
  • packages/vscode/AGENTS.md: updates the Testing note to reflect the split PR vs main E2E matrix.

Evidence

  • Before: PR checks waited 10–25+ minutes in the macos-latest queue before running ~11 minutes (e.g. test(vscode): pin repo packageManager in isolated E2E recovery sandboxes #147 E2E (windows-latest) finished in ~10 min while E2E (macos-latest) remained queued >20 min).
  • After:
    • pnpm run fmt:check && pnpm lint && pnpm test:unit: passed locally (237 fmt files, 207 lint files, 41 test files / 423 tests).
    • This PR itself exercises the new E2E (ubuntu-latest) + E2E (windows-latest) matrix across all slices (smoke, vscode, rstest, lint).

Merge Danger

Door: two-way

Workflow-only change; reverting restores macos-latest on PRs immediately.

Blast Radius: minimal

  • Required check update needed: main ruleset (20437965) currently requires E2E (macos-latest). Update it to require E2E (ubuntu-latest) instead so PRs are not blocked waiting for a check that no longer runs on pull_request.
  • macOS-only regressions (FSEvents timing, 104-byte Unix socket limit, Darwin native bindings) move from pre-merge to post-merge (push on main).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T08:58:46.359266Z aea5680 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@fi3ework
fi3ework merged commit 3f4b99a into main Nov 30, 2026
3 checks passed
@fi3ework
fi3ework deleted the ci/pr-ubuntu-e2e branch November 30, 2026 09:14
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