Files
firmware/src
Thomas Göttgens 3b608b8fc5 fix(mesh): keep ROUTING_APP responses when toPhoneQueue is full (#11480)
* fix(mesh): keep ROUTING_APP responses when toPhoneQueue is full

#2918 narrowed the overflow policy to evict the oldest entry only for
TEXT_MESSAGE_APP and RANGE_TEST_APP, dropping every other portnum. A
dropped ROUTING_APP response leaves the phone with no delivery
confirmation for a message it sent.

Add ROUTING_APP to the eviction list and pin the policy in
test/test_tophone_queue.

Fixes #11439

* fix(mesh): gate the queue-overflow portnum check on the decoded variant

decoded.portnum aliases encrypted.size in the payload union, so an
encrypted packet could be read as a privileged portnum by its ciphertext
length. Restore config.device.rebroadcast_mode in the test teardown.

* test: rename a test to avoid a trufflehog false positive

test_text_still_admitted_when_queue_full is "test_" followed by exactly
35 characters, which matches the Lob API key shape and fails trunk check.
2026-08-13 13:12:54 -04:00
..
2026-08-13 09:26:45 +02:00
2026-01-29 05:56:19 -06:00
2026-02-19 07:16:33 -06:00
2026-08-13 09:26:45 +02:00
2026-05-11 11:46:13 -05:00
…
2026-07-01 19:01:27 -05:00
2026-07-20 11:55:17 +02:00
2026-07-16 18:57:50 -05:00
2026-08-06 14:05:07 +00:00
2026-07-20 11:55:17 +02:00
…