Harden PTT audio and the 1.7.1 release (#1423)

Centralize PTT and voice audio-session ownership, harden courier/bridge/outbox delivery and recovery, correct location and delivery-state races, add privacy/release metadata, and ship reproducible universal Arti slices with Release CI coverage.

Validated by the full iOS suite, repeated audio/fragment/performance regressions, BitFoundation tests, strict lint and dead-code analysis, universal iOS Release builds, and iOS/macOS archives.
This commit is contained in:
jack
2026-07-10 14:04:09 +02:00
committed by GitHub
parent b205a55523
commit 820c933958
91 changed files with 8381 additions and 1083 deletions
@@ -67,4 +67,19 @@ struct BLEOutboundNotificationBufferTests {
#expect(buffer.isEmpty)
}
@Test
func unsubscribeRemovesTargetSpecificCiphertextOnlyForThatCentral() {
var buffer = BLEOutboundNotificationBuffer<String>()
_ = buffer.enqueue(data: Data([1]), targets: ["gone"], capCount: 4)
_ = buffer.enqueue(data: Data([2]), targets: ["gone", "live"], capCount: 4)
_ = buffer.enqueue(data: Data([3]), targets: nil, capCount: 4)
buffer.removeTarget { $0 == "gone" }
let remaining = buffer.takeAll()
#expect(remaining.map(\.data) == [Data([2]), Data([3])])
#expect(remaining[0].targets == ["live"])
#expect(remaining[1].targets == nil)
}
}