Skip to content

Windows CI: npm-global windows-latest intermittently cancels at the global install step #3441

Description

@lidge-jun

Client or integration

Other

Area

Installation or packaging

Summary

The npm-global windows-latest job in Cross-platform CI intermittently ends as cancelled at its "Install globally (downloads bundled bun)" step, roughly 8 minutes into the job. The step itself only runs for ~17 seconds before it is cancelled; every step before it succeeds, and the two steps after it are skipped, so the job is reported as a failure on the pull request without any assertion having failed.

Expected: the step either completes or fails with a diagnosable error.

Actual: the job is cancelled mid-step, which surfaces as a red required check that a rerun usually clears. On PR #3439 it happened on two consecutive runs of the same commit range, then passed on a rerun of the identical code, so it is timing-dependent rather than content-dependent.

This is CI infrastructure, not proxy behavior, but it costs a rerun cycle on otherwise-green pull requests and makes a red check ambiguous — a reviewer cannot tell a real packaging break from this without opening the job.

Reproduction

Not deterministically reproducible; it is timing-dependent. Observed occurrences on recent ci.yml runs:

  1. Run 33848227910, job 100945153338 (branch codex/260904-bug-backlog-closeout) — cancelled at "Install globally (downloads bundled bun)" after 8m15s.
  2. Run 33849960040, job 100950428875 (same branch, later commit) — cancelled at the same step after 8m12s.
  3. Run on codex/260904-muse-platform-refusal (f806eee) — npm-global windows-latest = cancelled.
  4. Run on codex/260904-windows-identity-de (7c3a542) — npm-global windows-latest = cancelled, while the same branch at b4f3fc2 and 9411090 = success.

Occurrences 3 and 4 are on unrelated branches, so this predates and is independent of the branch it was first noticed on.

Step timing from occurrence 2:

4 Install package dependencies => success  07:43:39 -> 07:50:43   (7m04s)
5 Build package assets         => success  07:50:43 -> 07:51:02
6 Pack                         => success  07:51:02 -> 07:51:06
7 Verify packed GUI asset      => success  07:51:06 -> 07:51:07
8 Install globally (bundled bun) => CANCELLED 07:51:07 -> 07:51:24
9 ocx help via bundled bun     => skipped

Note that step 4 alone takes over 7 minutes on the Windows runner, which is most of the job's budget before the cancellation lands.

Version

dev @ abdc111 (2.43.0 line)

Operating system

windows-latest GitHub-hosted runner

Provider and model

N/A

Logs or error output

# Job conclusion via the API; no assertion failure is present in the log.
npm-global windows-latest => cancelled started 2026-09-04T07:43:16Z completed 2026-09-04T07:51:28Z
   8 Install globally (downloads bundled bun) => cancelled 2026-09-04T07:51:07Z 2026-09-04T07:51:24Z
   9 ocx help via bundled bun => skipped

Individual reruns of the job are refused while the parent run is still in progress (job ... cannot be rerun), so clearing it requires gh run rerun <id> --failed after the whole run settles.

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginstallInstallation or packagingplatformOS/service/tray/ACL (Windows-heavy, not Windows-only)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions