Repository navigation
ci: run only the fast ubuntu subset on PRs; cross-platform matrix on push to dev/main - #7052
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (8)
✨ Finishing Touches
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. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bf1321b337
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| needs: [changes, select-windows-runner] | ||
| if: >- | ||
| github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && (github.event.inputs.lane == '' || github.event.inputs.lane == 'all') || github.event_name == 'pull_request' && needs.changes.outputs.windows == 'true' | ||
| github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && (github.event.inputs.lane == '' || github.event.inputs.lane == 'all') |
There was a problem hiding this comment.
Restore Windows validation before or immediately after merge
For a Windows-sensitive pull request, this condition now excludes both pull_request and push, so the nine Windows shards no longer run before merge or on the subsequent push to dev; only a manual dispatch or the nightly schedule can detect the regression after it has landed. This removes the targeted coverage added after multiple Windows breakages escaped CI. Restore the previous PR clause or add a dev-push clause so Windows-sensitive changes receive prompt validation.
AGENTS.md reference: .github/AGENTS.md:L18-L18
Useful? React with 👍 / 👎.
| matrix: | ||
| os: [ubuntu-latest, macos-latest, windows-latest] | ||
| # Pull requests run the ubuntu leg only; macos and windows run after merge. | ||
| os: ${{ fromJSON(github.event_name == 'pull_request' && '["ubuntu-latest"]' || '["ubuntu-latest","macos-latest","windows-latest"]') }} |
There was a problem hiding this comment.
Keep remote-helper cross-platform legs reachable
When a pull request changes only native/remote-workspace-helper/**, this matrix now runs only Ubuntu, but the workflow's push.paths list contains no native/** entry, so merging that PR into dev does not start the promised post-merge macOS and Windows legs. Those platforms are where the helper's real confinement tests run, leaving such changes unchecked until a nightly or manual run. Add the helper path to the push trigger or retain its three-platform PR matrix.
AGENTS.md reference: .github/AGENTS.md:L18-L18
Useful? React with 👍 / 👎.
|
✅ Deterministic PR hygiene checks passed. |
…s again #7052 dropped the pull_request clause from platform-windows, so the changes job's windows=true verdict was computed and ignored; with dev absent from the push trigger, Windows ran only nightly. #7468 landed green that way and broke windows 9/9 on dev. Restore the clause, mirror it in the aggregate, add a spawnsync marker, and correct the comment. Ordinary PRs keep the Ubuntu subset.
…s again #7052 dropped the pull_request clause from platform-windows, so the changes job's windows=true verdict was computed and ignored; with dev absent from the push trigger, Windows ran only nightly. #7468 landed green that way and broke windows 9/9 on dev. Restore the clause, mirror it in the aggregate, add a spawnsync marker, and correct the comment. Ordinary PRs keep the Ubuntu subset.
…cy unchanged) (#7488) * ci(windows): run the Windows shards on Windows-sensitive pull requests again #7052 dropped the pull_request clause from platform-windows, so the changes job's windows=true verdict was computed and ignored; with dev absent from the push trigger, Windows ran only nightly. #7468 landed green that way and broke windows 9/9 on dev. Restore the clause, mirror it in the aggregate, add a spawnsync marker, and correct the comment. Ordinary PRs keep the Ubuntu subset. * ci(windows): keep PRs Ubuntu-only, but flag Windows-sensitive ones for a lane=all dispatch Drop the pull_request clause and aggregate change: AGENTS.md's CI policy keeps Windows off PR CI. A Windows-sensitive PR now gets a non-blocking ::notice and step-summary line to dispatch lane=all before merge, the selector flags added spawnSync lines, and the platform-windows comment states the real policy.
Pull requests currently start macOS and Windows runners whenever a change looks native- or Windows-sensitive. Meanwhile, merges into dev get no cross-platform run at all, because
push:is pinned to main and preview. This flips that: pull requests run only the fast Ubuntu subset, and the cross-platform matrix runs after merge.Cross-platform CI (ci.yml)
push.branchesis now[dev, main, preview]and keeps its paths filter. main and preview stay because release.yml requires push-event runs for the release SHA.pull_request,platform-macos,widgetandplatform-windowsare always skipped (macos-controlalready never ran on PRs).pull_request, the keyring and npm-global matrices emitted bychangesare ubuntu-only, and thesetup-actionandremote-helperOS matrices are ubuntu-only.cigate's expectation table mirrors the new conditions. On a PR it expectsskippedfrom the macOS/Windows jobs and stays green, and on push it still requires them to succeed.desktop-shellruns on ubuntu, so it is unchanged.Other workflows
catalog-async-contracts.yml: PRs run the ubuntu leg only; push and dispatch keep all three OSes.service-lifecycle.yml:macos-launchdandwindows-schtasksare skipped on PRs.pushgainsdevso those legs run after merge.desktop-installed-gate.ymlis dispatch-only andreact-doctor.ymlis ubuntu-only, so neither changed.The workflow contract tests under
tests/ci-workflowsnow pin the new policy.Validation
bun test tests/ci-workflows: 1543 pass, 0 fail.