mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-17 00:20:47 +00:00
- repairDuplicateDrafts: move fetch, grouping, winner selection, and deletion into a single database.write so a concurrent mutateDraftAndOutbox can no longer update a row after it was selected for deletion. Add a repair-vs-mutation concurrency test. - Tie-break: replace localeCompare (locale collation) with explicit UTF-16 code-unit comparison, and test mixed-case ids where the two orderings disagree. - Grouping key: replace the embedded NUL delimiter (which made Git treat the file as binary) with JSON.stringify of the key tuple. - Migration test: assert the 20->21 migration actually adds the three Draft columns and creates the DraftOutbox table with all expected columns, and that it performs only additive (non-destructive) steps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| client | ||
| components | ||
| constants | ||
| context | ||
| database | ||
| helpers | ||
| hooks | ||
| i18n | ||
| init | ||
| keyboard | ||
| managers | ||
| products | ||
| queries | ||
| routes | ||
| screens | ||
| store | ||
| utils | ||