fix: reconnect after WhatsApp stream replacement#266
Conversation
|
Codex review: needs maintainer review before merge. Latest ClawSweeper review: 2026-05-23 09:03 UTC / May 23, 2026, 5:03 AM ET. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. from source inspection: current main ignores StreamReplaced while the pinned whatsmeow module emits it for replaced streams without using the existing Disconnected reconnect path. I did not run tests because this review is read-only. PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. Real behavior proof Next step before merge Security Review detailsBest possible solution: Land the narrow handler and regression test after normal maintainer review and CI, preserving the existing reconnect deadline behavior. Do we have a high-confidence way to reproduce the issue? Yes, from source inspection: current main ignores StreamReplaced while the pinned whatsmeow module emits it for replaced streams without using the existing Disconnected reconnect path. I did not run tests because this review is read-only. Is this the best way to solve the issue? Yes; reusing the existing disconnected channel is the narrowest maintainable fix because it preserves the current reconnect loop, timeout, and output/event plumbing. Label changes:
Label justifications:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against dc75b680c4ae. |
|
ClawSweeper PR egg ✨ Hatched: ✨ glimmer Frosted Proofling Hatch commandComment Hatchability rules:
Rarity: ✨ glimmer. What is this egg doing here?
|
Summary
StreamReplacedevents in the sync event handlerTests
go test ./...