mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-07-28 04:22:51 +02:00
4d680b1de7
Raise diff/patch coverage above the Codecov gate (was 79.8%, target 80.29%) by exercising the previously-untested spam paths: - subscriber: TestSpamRescoreScheduler covers the disabled early-return, the enabled thread spawning + one sweep + clean stop, and the swallowed-error branch of the background re-scoring loop. - handler: a contact-message scoring test covers the contact log branch. - spam: get/reset_spam_config caching, the zero-weight combine path, the default-`now` path, and the null-sender reset in rescore_recent. Patch coverage for the change is now ~97%. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>