Natalie
ab44591b8a
fix(imessage): stop blob sync starving the periodic read cycle
...
The iMessage read cycle is driven by BaseSyncManager's 30s timer →
syncNow(), which is gated by 'guard !isSyncing'. performSync awaited
blobSyncManager.syncBlobs() inline, and that blob pass infinite-loops
when the upload backend is failing: /attachments/missing has no cursor,
so a full page of perpetually-failing uploads is re-fetched and re-failed
forever, the loop only breaking on a < pageSize page. performSync never
returned → isSyncing stuck true → every 30s read tick swallowed. Net
effect: messages only synced on app launch, drifting hours behind between
restarts (send-queue timers are independent, so they kept polling — the
tell that the timer fired but syncNow was gated).
Two fixes:
- Decouple the blob pass: fire it detached + in-flight-guarded instead of
awaiting it on the read cycle, so a slow/failing blob backend can never
hold isSyncing.
- Bound the blob loop: stop a pass after any full page that produced zero
successful uploads (the same missing set would be re-fetched), instead
of spinning forever.
Verified: read cycle now fires every ~30s on the live process without a
restart; blob pass logs 'stopping pass' and returns; store lag ~7s.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 14:37:40 -04:00
Natalie
cae15ae9f1
fix(@applications/@mac-sync): 🐛 update lan instead of local in all configs
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 03:12:06 -07:00
Natalie
06a8ace642
feat(imessage): ✨ improve incremental sync with date-based watermarking
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-31 18:43:38 -06:00
Natalie
982cee2982
feat(apps): ✨ add incremental sync overlap for recent messages
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-31 18:36:01 -06:00
Natalie
42b9229a9f
feat(@applications/@mac-sync): ✨ add async actor-based iMessage sender with timeout guard
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-22 01:56:05 -07:00
Natalie
48217173a4
feat(imessage): ✨ add fallback sms retry logic
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 21:06:28 -07:00
Natalie
5290e1de2f
feat(imessage): ✨ improve iMessage service detection and error handling
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 20:24:45 -07:00
Natalie
b104ee1b12
fix(@mac-sync): 🐛 add debug flag for send-queue tracing
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 19:39:09 -07:00
Natalie
08c638532c
feat(sync): ✨ add trace logging hooks
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 19:04:28 -07:00
Natalie
e5cad45ec3
feat(@applications/mac-sync): ✨ add timeout handling for osascript send
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 18:43:35 -07:00
Natalie
60df5f8c57
fix(@applications/mac-sync): 🐛 update token and error logging privacy handling
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 23:05:13 -07:00
Natalie
1a6facd1ef
fix(api): 🐛 add token validation and error logging for uploads
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 22:23:05 -07:00
Natalie
e5437a9baa
fix(@applications/mac-sync): 🐛 update blob sync id handling
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 21:34:11 -07:00
Natalie
2568866c70
feat( @applications ): ✨ implement mac-sync identity and photo workflows
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 20:27:05 -07:00
Natalie
638845e150
fix(imessage): 🐛 fix empty-server initial-load detection
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-15 23:40:58 -07:00
quinn
19e4dc440a
imessage initial-sync robustness: hold watermark on partial failure + log progress every 50 convs
2026-05-15 23:07:15 -07:00
Natalie
e3078ab5fd
fix(shared): 🐛 update quinnApiURL doc clarity
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-15 23:03:42 -07:00
Natalie
0fa6c132ec
docs(shared): 📝 update quinnApiURL documentation
...
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-15 21:55:31 -07:00
quinn
1295aec3e9
merge fixes: typecheck (attributedBody → base64 string), syncNow race coalescing, test alignment
2026-05-15 18:35:50 -07:00
quinn
bf3879feba
merge batch 2: imessage, iphoto, ContentTypeMapping/ConfigFile already-superset
2026-05-15 18:06:23 -07:00
quinn
cc1d40f7f6
merge batch 1: top-level metadata, shared, ical, imail
2026-05-15 18:02:04 -07:00
quinn
f4bd7e6829
merge: restore plum-only additive files atop apricot baseline
2026-05-15 17:06:07 -07:00
quinn
90443dad36
apricot baseline: contacts-sync-core + BlobSyncManager + embedding/search/sync-history
2026-05-15 17:05:39 -07:00
quinn
b8b63ac63d
plum baseline: Phase 1/3/4/5 work (BaseSyncManager, SendQueue layer, ireminders, inotes)
2026-05-15 17:05:13 -07:00