upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/reference/README.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-11 15:02:33 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-11 15:02:33 +0000
commit3d11a99b4adc9ad900190b797e6d6dc1f97116fa (patch)
tree94bc887c213f3bb4e56aa463d4d8da529c03aa5b /docs/reference/README.md
parent30a9acbd35bd4d4fd10fef725314046c65a76fae (diff)
docs(tests): replace catchup.rs test with documentation
The catchup sync mechanism (reconnection with since filter) is implemented in src/sync/mod.rs handle_connect_or_reconnect(), but cannot be reliably integration tested with current infrastructure: - TestRelay uses in-memory database (events lost on stop) - No way to force WebSocket disconnection without stopping relay - Stopping syncing relay creates new instance (fresh sync, not catchup) Convert the skeleton test file to comprehensive documentation explaining: - How catchup sync works (since filter on reconnect) - The 15-minute quick reconnect window logic - Why integration testing is not feasible - Alternative approaches that could enable testing - Related tests that cover adjacent functionality
Diffstat (limited to 'docs/reference/README.md')
0 files changed, 0 insertions, 0 deletions