mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
- Fix migration back and forth usecase and add more tests - fix lint ## What changed? <!-- Describe what has changed in this PR --> 1. Fix a bug on handling replication back and forth case 2. Add more integration test to test the ^ scenario ## Why? <!-- Tell your future self why have you made these changes --> LocalGeneratedEventHandler cannot properly handle force replication case. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> Integration test ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> Feature is gated by a feature flag ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> n/a ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) --> no.