Repository navigation
ci: test on macOS 27 via the xcode-27 runner - #31
Merged
Merged
Conversation
GitHub has no macos-27 label. The macOS 27 arm64 image is xcode-27, so the test matrix runs Node 22, 24, and 26 there while the darwin prebuild stays on macos-26. Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable bugs were established. Reviews (1) · Last reviewed commit: "ci: test on macOS 27 via the xcode-27 ru..." · Reviewed by Greptile |
The context-shutdown worker collected garbage until the heap stopped shrinking, which ran past the 30s limit on Node 24 built with Xcode 27. The history walk then posted failure and failed the following tests. Cap those collections, ignore the walk's end after the count is reported, and build Xcode 27 with a macOS 11 deployment target so libc++ is supported. Prebuilds on older SDKs stay at 10.11. Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
greptile-apps
Bot
dismissed
their stale review
December 1, 2026 23:11
Dismissed because a newer commit was pushed; Greptile will re-review the current head.
js-beautify joins the Xcode 27 deployment-target notes into the binding.gyp dictionary, so configure fails before the tests start. Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
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.
GitHub Actions has no
macos-27label. The macOS 27 Apple Silicon image isxcode-27(generally available since October 15, 2026), so the test matrix now builds and runs Node 22, 24, and 26 on that image alongsidemacos-26andmacos-15-intel.The darwin arm64 prebuild stays on
macos-26.MACOSX_DEPLOYMENT_TARGETis unset in the workflow, so building that binary onxcode-27would use the macOS 27 SDK and can raise the minimum OS the published.nodefile requires. A binary built on macOS 26 still runs on macOS 27. A comment inpublish.ymlrecords that so the publish host is not switched later.The first
xcode-27run failed only on Node 24, incan track objects to free on context shutdown. That worker callsglobal.gc()until the heap stops shrinking. On Node 24 built with Xcode 27 that loop ran past the 30s test limit; the counts did match, and the history walk's later"failure"message then failed the following tests. The worker now caps those collections and does not report failure once the count has been sent. Late worker events can no longer calldone()on the next test.Xcode 27's libc++ does not support a deployment target below macOS 11, and this addon was pinned to 10.11. Builds against an SDK of 27 or newer now use 11.0. The macOS 26 publish image still resolves to 10.11, so the published binary's minimum OS does not change.
CLAUDE.mdnames the macOS 27 test image.