mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 02:25:20 +00:00
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:
@@ -186,7 +186,12 @@ struct CourierStoreBridgePublishTests {
|
||||
// eligible again after the cooldown. `carriedCount` publishes
|
||||
// asynchronously, so it is not asserted here.)
|
||||
|
||||
// Within cooldown: nothing to publish.
|
||||
// Merely offering the envelope does not start the cooldown; a relay
|
||||
// rejection/timeout must remain immediately retryable.
|
||||
#expect(store.envelopesForBridgePublish(cooldown: 600).count == 1)
|
||||
store.markBridgePublished(first[0])
|
||||
|
||||
// A confirmed publish starts the cooldown.
|
||||
#expect(store.envelopesForBridgePublish(cooldown: 600).isEmpty)
|
||||
|
||||
// After cooldown: eligible again.
|
||||
|
||||
Reference in New Issue
Block a user