Repository navigation
Prepare macOS 2.2.4 and npm 2.1.6 release candidates - #848
Merged
Merged
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
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.
Candidate scope
The versioned changelog sections compare macOS and npm with the exact source of the last delivered builds. The release plan records which improvements already shipped and which Android, firmware and marketplace gates still apply.
Evidence
8216f232. Two local checks were skipped (macOS Keychain-dependent E2E and Windows runtime), and four lab gates remain unattested. The receipt-only commit leaves candidate source unchanged.Runtime verification, November 29 KST
d9e594727with Apple Distribution signing and passed the App Store archive guard, including Production iCloud entitlements. The downloaded package and app passed local signature and archive checks. Package SHA-25688224a8c8bc97492db52599302a197256168bf2d026fb8666b4057156fcf9290. App Store Connect upload was skipped.awaiting_permissionrow. The harmless local Bash command completed after approval in each run. With the setting ON, the app calledNSSound.beep()once, 23 ms after the wait appeared in the roster. With the setting OFF, it made zero calls. The acoustic capture could not distinguish the system reference beep, so speaker audibility remains unverified. The original volume and mute were restored.de1e20598a30. The 13101 Swift derivative and Node used private data and loopback port 19450. Six lifecycle scenarios passed, including solo restarts, both startup orders, one listener during coexistence, Swift-to-Node takeover, Swift reclaim and crash recovery. The fixture harness also checked timeline and token continuity. Real Claude approval and successful tool execution were observed with Swift alone, Node alone, both with Node owning the listener, and Swift after Node stopped and gave the port back. This isolated run did not change production port 9120. See the separate production result below.Production handover and speaker recheck, November 29 KST
awaiting_permissionand completed the harmless test command after approval. The installed npm 2.1.6 candidate (daemon buildde1e20598a30) requested handover at 11:50:45. Swift yielded, but no listener could bind to 9120. After 90 seconds of bind retries, the candidate started on 9121 at 11:52:49, about two minutes after the handover request. A closing TCP connection was observed during the gap. Its role in the bind failure has not been established. The failed first transition prevented the candidate's Node-only, coexistence, and Swift reclaim cases on 9120.3b21732e1782underdev.agentdeck.daemon. The launchd PID, registry PID,/healthPID and sole 9120 listener matched. The original dashboard reconnected as a client, and device TLS returned tolistening. The follow-up showed 12 serial ESP32 and two ADB devices, matching baseline. Six of seven WebSocket clients and one of two Wi-Fi ESP32 clients had reappeared at the follow-up snapshot.RBSRequestErrorDomain Code=5, underlying POSIX 163). The installed dashboard was restored. The system reference sound did not produce a reliable measurement on either the Studio Display speakers or the Mac Studio's built-in speaker, and a listener was unavailable. The previous debugger observation establishes the beep call only. The original speaker and sound-effects routes, volume and mute were restored.The following recheck covers the 9120 failure recorded above.
Production handover fix, November 29 KST
FIN_WAIT_1before the Swift app received the stand-down request. The Swift listener stopped, but the connection retained 44,194 bytes in its TCP send queue and remained present for at least 125 seconds. The CLI hitEADDRINUSEon 9120 and bound 9121 after its retry budget. Swift now offers the WebSocket close reply and resets the transport after a bounded grace period. It resets failed and saturated links immediately and drains accepted sockets at stand-down.de1e20598a30) bound 9120 directly on repeated tests in about 20–32 seconds. The app connected as a client, and Node retained the single listener when the app quit. Swift later reclaimed the canonical port after Node stopped. A real Claude Code terminal session reachedawaiting_permissionand completed its harmless tool operation in each topology, including after Swift reclaimed the port. The npm package was unchanged.LAST_ACK. Swift's listener could not initially bind 9120 and came up on 9121, so the trial stopped before the 2.1.6 candidate started. This is distinct from the reproduced Swift-to-Node stall above. The original launchd service returned to 9120 with build3b21732e1782, device TLSlistening, and the original dashboard attached as a client. The previous 9120 round-trip remains measured with the WebSocket fix. The follow-up startup-race fix has deterministic XCTest evidence.f6a801a02passed all 27 focused Swift tests on its final code inListenerLeakTestsandLocalDaemonStartupTests. The working-tree quick check passed (7,765 Vitest passes), and the broader macOS XCTest run passed with 1,597 executed and five skips before the startup-race follow-up. The initial local universal macOS build picked a Rust compiler without the Intel standard library. On the corrected toolchain the unsigned Store Release build produced arm64 and x86_64 and passed the Dot exclusion and unsigned identity guards. The local macOS DotPreview configuration was blocked on the initial compiler selection. The latest PR checks are running.Final-commit production recheck, November 29 KST
LAST_ACKconnection was absent. A fresh, locally development-signed Xcode 27.2 build fromf6a801a02passed strict signature verification and used the real 9120 port, production data and normal LAN posture. The installed npm 2.1.6 candidate was buildde1e20598a30. The existing app bundle was preserved.EADDRINUSEand used 9121. There was no lingering listener or closing TCP socket on 9120 when the same test app was relaunched. It then took sole ownership of 9120 at 12:32:25. The first npm 2.1.6 request was refused during Swift's device TLS initialization. A retry after TLS reachedreplicawas accepted.listening. The dashboard connected as a client. The same Node PID retained the only listener after the app quit, and native SQLite reportedready. After reopening the dashboard as a client and stopping npm 2.1.6, Swift regained the sole 9120 listener in 37 seconds. In coexistence, Node-only and recovered Swift modes, real Claude Code showedawaiting_permissionand completed the harmless command after approval. The test exited successfully.3b21732e1782resumed on 9120 underdev.agentdeck.daemonat 12:35:29, with device TLSlisteningand the original dashboard connected. Follow-up found 12 serial ESP32, two Wi-Fi ESP32 and two ADB devices, matching the preflight counts for those categories.NSSound.beep()call with the setting ON and zero with it OFF during real Claude Code permission waits. The arm64 and x86_64 code sections matched the App Store export. Physical speaker audibility remains unmeasured. Build 13101 predates this handover fix.Merge and master CI, November 29 KST
f6a801a02were satisfied: 16 passed, and the two configured ESP32 jobs skipped. Swift macOS and iOS CodeQL and Product verification passed.masterat 13:05 as0f65cd56d. The CI run for that merge commit passed, including macOS native parity and the Windows Node 22, 24 and 26 runtime checks. Product verification is the PR-only aggregate. Automatic local verification and deployment also passed and verified daemon buildde1e20598a30on port 9120.App Store Connect upload, review submission, public release publication, and introduction video deployment remain on hold.