mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo.git
synced 2026-09-21 16:52:01 -07:00
- Extract roomFromEntry/applyPost from backfill collectSummaries so its cyclomatic complexity drops from 7 to 4 (CRAP 7.0 -> 4.0), and extract the shared roomRange key bounds from getTopicPostTxids/listRoomFollowers. - Add indexer property tests over arbitrary post/follow/unfollow interleavings: postCount conservation, newest-height recency shape, replay idempotence, and inverted-key ordering. - Add DB property tests for the topic index backfill: conservation, recency shape, stale-record removal, and inverted-key ordering. - Cover the topic action error paths (invalid push counts, oversized topic message), the topic-query room fallbacks, and the client openTopic/topicFeedPath navigation. By refactorer.