You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS engine: swift build -c release crashes the compiler on Xcode 27.2 (CopyPropagation ownership error in popUpAwaitOpen); cua engine build fails on the owner's MacBook #502
On Xcode 27.2 (Swift 6.4.2, build 27B52, macOS 27.2: the owner's MacBook), swift build -c release of the macOS engine crashes the compiler. The SIL pass CopyPropagation reports "Found ownership error?!" and then a fatal error on Engine.popUpAwaitOpen (native/engine/Sources/Engine/PopUpPoint.swift:789). That function arrived in 1a1956b (#458/#467, 2026-11-21). The #117 M4 re-cut's executor reproduced it on main b1b1548 from a git archive, so it predates M4.
Hosted runners build with an older Xcode, so engine-swift stays green and the gate can't see this. A runner image that moves to Xcode 27 turns it red.
Done when
The engine builds with swift build -c release on Xcode 27.2, and swift test stays green.
The fix is either a restructure of the ownership pattern CopyPropagation trips on (preferred) or @_optimize(none) on popUpAwaitOpen, with a comment naming the compiler crash.
CI builds the engine in release on the newest Xcode the hosted image offers, if it has 27.x (otherwise a recorded note), so this can't recur unseen.
[review-trail] No independent review dispatched: a 3-line substitution of an immutable struct's field read (target.kind -> let kind) plus a comment. Witness: local swift build -c release on Xcode 27.2 passes; swift test 1659/0/1.
Activity
SSFSKIM commentedon Nov 23, 2026
[board] in-progress: Own lane from main; fix agent dispatched.
Pre-flight: #502 gates the flip; O1 cannot start without the Xcode 27…
SSFSKIM commentedon Nov 23, 2026
[board] in-review: PR #504; local Xcode 27.2 release build passes.
SSFSKIM commentedon Nov 23, 2026
[review-trail] No independent review dispatched: a 3-line substitution of an immutable struct's field read (target.kind -> let kind) plus a comment. Witness: local swift build -c release on Xcode 27.2 passes; swift test 1659/0/1.
macOS engine: the release build no longer crashes Xcode 27.2's compil…
SSFSKIM commentedon Nov 23, 2026
[board] done: Landed via PR #504 (cua 0.29.4)
CI: engine-swift-xcode27 builds the macOS engine in release on GitHub…
Merge origin/main (cdb36ad, #500's null-aware label record) into fix/…
Own native engine M5: origin/main (M4, #516) merged in, engineVersion…