Skip to content

refactor: split SessionEscrow.swift into one file per type (INC-495) - #543

Merged
arzafran merged 2 commits into
mainfrom
franco/inc-495-escrow-split
Nov 4, 2026
Merged

arzafran merged 2 commits into
mainfrom
franco/inc-495-escrow-split

Conversation

@arzafran

@arzafran arzafran commented Nov 4, 2026

Copy link
Copy Markdown
Member

Pure move, no behavior change. SessionEscrow.swift was 2,453 lines holding six unrelated types, which made it slow to navigate and review. Each type now has its own file: SessionEscrowPolicy, HolderRetrieveDecision, EscrowWireFormat, UnixDomainFDPassing, SessionEscrowClient (with its extension) and SessionEscrowHolder. SessionEscrow.swift keeps the overview doc comment.

Checked: a sorted line diff of non-import, non-blank lines against main is identical (2,322 lines). The project file has the four entries for each new Swift file.

Fixes INC-495

@arzafran
arzafran merged commit a0103ca into main Nov 4, 2026
12 checks passed
@arzafran
arzafran deleted the franco/inc-495-escrow-split branch November 4, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant