Skip to content

ci: Package CI + Changeset on windows-latest (ubuntu queue escape) - #77

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
cursor/package-ci-windows-escape-7f7a
Sep 16, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
cursor/package-ci-windows-escape-7f7a

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Package CI and Changeset were still queued on starved ubuntu-* runners after Release moved to windows-latest (eea79bca, #76). This flips only those two workflows to runs-on: windows-latest. Release.yml is unchanged.

  • Changeset’s status script is bash (set -euo pipefail), so that step now sets shell: bash. The existing pack smoke test already used bash.
  • npm global bins live in {prefix}/bin on Unix and {prefix} on Windows. The smoke test keeps the Unix path and falls back so --help still runs on the Windows runner.
  • No changeset. .changeset/config.json changedFilePatterns covers shipped files only (src/**, package.json, docs, etc.), not .github/, scripts/, or test/. changeset status should pass without a .changeset/*.md and without the skip-changeset label.

Windows tests

Codex routes throw windows-unsupported before connecting, and several suites assume Unix sockets, /tmp, shebang binaries, or process.getuid(). Those files are skipped only when process.platform === "win32". Portable suites still run.

Desktop-shim shell tests were already skipped on Windows. Two more assertions are gated there: path.win32.join rewrites the /tmp path checks, and Windows file modes do not record the executable bit used by the install round-trip.

Test plan

  • Package CI starts on windows-latest (not stuck on ubuntu-24.04)
  • Changeset present starts on windows-latest and passes without a new changeset
  • npm run check is green, including the pack smoke test
  • Do not merge until those checks are green
Open in Web Open in Cursor 

ubuntu runners are starving Package CI. Match Release's windows-latest
escape without touching Release.yml. The changeset script needs bash
on Windows. Skip Unix socket and desktop-shim assertions that cannot
pass on win32, and resolve npm global bins from prefix/ there.

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e094a13

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T23:07:51.688029Z e094a13 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e094a13627

ℹ️ 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".

Comment on lines +27 to +29
.map((name) => join("test", name))
.filter((name) => {
if (process.platform === "win32" && skipOnWindows.has(name)) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Match Windows paths before applying suite skips

On Windows, join("test", name) produces paths such as test\codex-bridge.test.js, but every skipOnWindows entry uses /, so skipOnWindows.has(name) is always false. Both Package CI and the Windows release workflow will therefore run the Unix-socket-dependent suites that this change intends to exclude, causing npm run check to fail or hang instead of escaping the Ubuntu queue; compare basenames or normalize separators before testing membership.

Useful? React with 👍 / 👎.

@ScriptedAlchemy
ScriptedAlchemy merged commit 90b50dd into main Sep 16, 2026
0 of 2 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the cursor/package-ci-windows-escape-7f7a branch September 16, 2026 23:12
cursor Bot pushed a commit that referenced this pull request Sep 16, 2026
Bring in lockfile integrity refresh (#78), windows-latest CI (#76/#77),
and Release workflow_dispatch (#79) while keeping the relay keyring session isolation.

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
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