Files
hideck/third_party
yibaibaandCursor 288b7424cd fix(ims): say when the SMSC is holding a short message
A rejected report leaves its message at the head of the SMSC queue and
every later one waits behind it. On 2026-09-03 that lasted 53 minutes
and held five messages, and nothing in the logs said so: the redelivered
copies were absorbed by dedup, the rejections looked like isolated
warnings, and the state was only noticed as missing SMS.

A redelivery is the observable sign the queue has not advanced, so
remember the messages whose report was rejected and report it when one
of them comes back, with the rejection count and how long the block has
lasted. The record is dropped when a report finally lands, which is also
the moment the queue is released.

Redeliveries cannot be matched on the existing dedup fingerprint because
it mixes in the RP-MR and the SMSC allocates a fresh one per attempt,
which is why the same message came back looking new three times. Key on
what survives instead: sender, recipient, content and SCTS.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 08:41:50 +08:00
..
2026-07-06 04:30:39 +08:00