Retry failed Matrix backfill messages and persist import progress
Build and Release APK / Build APK (push) Successful in 4m5s

This commit is contained in:
2026-10-18 00:44:23 +02:00
parent 77d3ff7e1e
commit 1a140650af
8 changed files with 268 additions and 29 deletions
+15
View File
@@ -33,6 +33,21 @@ The reset removes local Matrix accounts, room mappings, encryption stores and br
SMS messages, Quik settings, the Manager ID and the backfill limit are preserved.
New rooms use contact names from Android, and SMS history is copied again up to the configured limit.
## History import
History import retries a failed message before advancing, with retry delays up to one minute.
Synapse room-creation limits still apply. There is no fixed delay after each successful message.
Progress is stored by native message type and ID, so identical SMS texts remain separate messages
and saved progress is skipped when an unfinished import resumes. Reset Matrix clears this progress.
The completion flag means all selected messages were handed to the persistent Matrix outbox
(or intentionally excluded by forwarding settings); outbox delivery remains managed by Trixnity.
Logcat reports progress and retry positions without logging SMS bodies or phone numbers.
Upgrading preserves an existing completed-import flag. It does not automatically replay old history:
older versions did not retain per-message progress, so replaying that history could create duplicates.
Checkpoint storage and the Matrix outbox use separate databases; an abrupt process/device failure
between enqueueing a message and saving its checkpoint can still replay that last message.
## Persistent release signing
Release APKs require the permanent signing key. Missing signing configuration fails the build;