mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 23:18:24 +00:00
The SDK sends CLOSED immediately after EOSE for completed ID filters. That triggers a cancellation race in nak 0.20.6: 39 of 45 production lookups returned no event although raw queries received every response. Pin the upstream SDK fixes and disable its automatic completed-ID closure. Clients retain ordinary CLOSE ownership. The SDK also fixes its aggregate query cap, so configure that cap as 20 per-filter pages to preserve our existing documented multi-filter limit instead of truncating history. Keep shared Nostr types on one Git source and update all flake packages and the NixOS module with the verified source hash. This relies on clients closing finished subscriptions; existing connection and subscription bounds still apply. It does not change the configured per-filter limit or fix cancellation in nak when using other servers. Validation: the real-server nak regression failed before and passes 20 consecutive lookups after the fix. Multi-filter overlap/EOSE regression, 32-reader LMDB benchmark and delayed-ACK benchmark pass. Module rendering preserves the default filter limit; full workspace and Nix builds follow.