Test flakyness
There are multiple flaky tests after the latest Connect-RPC changes. Might be related or might be not. Probably the way we look for free ports to open can be improved.
TestSyncWorkerSuccess: https://github.com/xmtp/xmtpd/actions/runs/19163838278/job/54828484473?pr=1300
I have fixed TestSyncWorkerSuccess in #1333
TestCanGenerateReport: https://github.com/xmtp/xmtpd/actions/runs/19508409286/job/55841292309?pr=1340
This should help https://github.com/xmtp/xmtpd/pull/1342
TestValidSignature failed because of "bind: already used". This is directly related to how we reserve ports, must fix.
https://github.com/xmtp/xmtpd/actions/runs/19871902755/job/56949568549?pr=1403
integration_test.go:521:
Error Trace: /home/runner/work/xmtpd/xmtpd/pkg/payerreport/workers/integration_test.go:521
Error: Condition never satisfied
Test: TestFullReportLifecycle