Skip to content

Fix "Invalid event" error when server sent heartbeats#438

Merged
halcy merged 2 commits intohalcy:masterfrom
tribela:fix-thump
Apr 11, 2026
Merged

Fix "Invalid event" error when server sent heartbeats#438
halcy merged 2 commits intohalcy:masterfrom
tribela:fix-thump

Conversation

@tribela
Copy link
Copy Markdown
Contributor

@tribela tribela commented Mar 1, 2026

This PR will fix #434

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.88%. Comparing base (7190eba) to head (3962d2e).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #438   +/-   ##
=======================================
  Coverage   88.88%   88.88%           
=======================================
  Files          35       35           
  Lines        4821     4823    +2     
=======================================
+ Hits         4285     4287    +2     
  Misses        536      536           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@halcy
Copy link
Copy Markdown
Owner

halcy commented Mar 2, 2026

Oh, you even added a test! Thank you, this is fantastic. Merging next time I work on this, which now that our Revision invite is out, should be soon.

@pdeitel
Copy link
Copy Markdown

pdeitel commented Apr 10, 2026

Has this been fixed yet?

@halcy
Copy link
Copy Markdown
Owner

halcy commented Apr 11, 2026

Not yet, but I am on updating Mastodon.py now, I hope to merge this and the other PR this weekend and push out a new version before sunday evening.

@halcy halcy merged commit 6f9ad08 into halcy:master Apr 11, 2026
10 checks passed
@halcy
Copy link
Copy Markdown
Owner

halcy commented Apr 11, 2026

Merged, thank you once again for the fix! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StreamListener spammed with invalid events

3 participants