deltachat-core-rust
deltachat-core-rust copied to clipboard
fix: realtime late join
This PR adds a test to reproduce a bug raised by @adbenitez that peer channels break when the resend feature is used.
This is still WIP? This only adds tests.
Found out that somehow the wrong iroh topic is transmitted to fiona and that is why she fails to join. In every send invocation a new topic is generated, and we use resend...
@link2xt I made some unrelated changes, which are easy to track in the individual commits, but they pollute the final PR. Would you prefer to split this into a refactor and bug-fix PR?
I made some unrelated changes, which are easy to track in the individual commits, but they pollute the final PR. Would you prefer to split this into a refactor and bug-fix PR?
If it's just these documentation updates then no need to split this.
It seems like the test is a bit flaky (for me it ran 7/8 times), but I do not know a fix of the top of my head yet.. Maybe we can just check how often it actually happens and fix it if neccessary in a follow up PR
The newly-added test seems to be flaky, I created an issue: https://github.com/chatmail/core/issues/7035