From 502ffbec433722396edd98864ccbc934d4049864 Mon Sep 17 00:00:00 2001 From: npub1tquskdu6yc4h8l7xxtceculxw600grekeq0xg2ukqfrwl7vrzg3quz3gmp <58390b379a262b73ffc632f19c73e6769ef40f36c81e642b960246eff9831222@buzz.block.builderlab.xyz> Date: Tue, 28 Jul 2026 00:45:02 -0700 Subject: [PATCH] Document relay exhaustion limitation Co-authored-by: npub1tquskdu6yc4h8l7xxtceculxw600grekeq0xg2ukqfrwl7vrzg3quz3gmp <58390b379a262b73ffc632f19c73e6769ef40f36c81e642b960246eff9831222@buzz.block.builderlab.xyz> Signed-off-by: npub1tquskdu6yc4h8l7xxtceculxw600grekeq0xg2ukqfrwl7vrzg3quz3gmp <58390b379a262b73ffc632f19c73e6769ef40f36c81e642b960246eff9831222@buzz.block.builderlab.xyz> --- .../ios/BuzzPushKit/Sources/BuzzPushKit/PushCatchUp.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/ios/BuzzPushKit/Sources/BuzzPushKit/PushCatchUp.swift b/mobile/ios/BuzzPushKit/Sources/BuzzPushKit/PushCatchUp.swift index a67d01679..20b4b546d 100644 --- a/mobile/ios/BuzzPushKit/Sources/BuzzPushKit/PushCatchUp.swift +++ b/mobile/ios/BuzzPushKit/Sources/BuzzPushKit/PushCatchUp.swift @@ -123,9 +123,9 @@ public struct PushCatchUpPager { $0.createdAt == $1.createdAt ? $0.id < $1.id : $0.createdAt > $1.createdAt } if ordered.count < pageLimit { - // Every emitted filter is fully represented by the relay's SQL query. - // In particular, #h is exact after splitting, so a short raw page proves - // exhaustion rather than reflecting post-LIMIT filtering. + // `/query` exposes no exhaustion signal, so a short page is treated as + // exhausted even though post-LIMIT rejection makes that inference unsound. + // Relay support for an explicit exhaustion signal is required to fix this. subscriptionIndex += 1 rawTail = nil if subscriptionIndex == queries.count {