diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-11 15:02:33 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-11 15:02:33 +0000 |
| commit | 3d11a99b4adc9ad900190b797e6d6dc1f97116fa (patch) | |
| tree | 94bc887c213f3bb4e56aa463d4d8da529c03aa5b /docs/reference | |
| parent | 30a9acbd35bd4d4fd10fef725314046c65a76fae (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')
0 files changed, 0 insertions, 0 deletions