feat: complete Network demo security and migration guidance - #56
Closed
rchatham wants to merge 14 commits into
Closed
feat: complete Network demo security and migration guidance#56rchatham wants to merge 14 commits into
rchatham wants to merge 14 commits into
Conversation
…ion' into HEAD # Conflicts: # PeerConnectivityTests/PeerNetworkProtocolTests.swift # Sources/NetworkPeerTransport.swift
…d-selector' into HEAD # Conflicts: # PeerConnectivityTests/NetworkPeerCoordinatorTests.swift # Sources/NetworkPeerCoordinator.swift # Sources/NetworkPeerTransport.swift # Sources/NetworkPeerTransportAdapters.swift
…k-config' into HEAD # Conflicts: # PeerConnectivityDemo/ViewController.swift
…network-notes' into HEAD
This was referenced Aug 11, 2026
Owner
Author
|
GitHub prevents changing the base of a pull request that is registered as part of a stack. Closing this retained checkpoint so it can be recreated with the consolidated base; the branch, commits, review history, and this PR remain preserved. |
Owner
Author
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.
Summary
Complete the adopter-facing Network.framework migration experience on top of the production/browser checkpoint:
SecRandomCopyBytes, including safe invalid-size and generator-failure handling.DemoSecurityAndInteroperabilityPlan.mdand a complete app-developer migration guide..agents/skills/migrate-multipeer-to-networkAgent Skill.Security behavior
.unauthenticated.Interoperability
MultipeerConnectivity and Network.framework are not wire-compatible. Communicating peers must currently select the same backend. A future dual-stack endpoint or gateway requires a separate architecture and threat model; this PR does not claim or implement cross-backend relaying.
Migration guidance
MultipeerConnectivityToNetworkMigrationGuide.mdcovers deployment targets, Local Network and Bonjour setup, backend opt-in, PSK provisioning, connection behavior, API parity, physical-device testing, observability, rollout, rollback, and mixed-version constraints. The Agent Skill turns that guidance into a repeatable implementation/review workflow.Verification
swift test— 175 tests passed locally.xcodebuild test -project PeerConnectivity.xcodeproj -scheme PeerConnectivity -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.3.1' -configuration Debug— 175 tests passed locally.Screenshots
Limitations