Brent Simmons
|
4d34947152
|
Get the error description from the underlying error.
|
2026-03-25 11:40:34 -07:00 |
|
Brent Simmons
|
2d720c86f4
|
Use better test data.
|
2026-03-25 11:39:59 -07:00 |
|
Brent Simmons
|
0db898a053
|
Change definition of stale status record to not check for article in local database. It’s stale if created six months or more ago and is not starred, period.
|
2026-03-25 11:39:06 -07:00 |
|
Brent Simmons
|
a60c58a893
|
Link to new iCloud page instead of the old one. The new page explains the new features.
|
2026-03-25 11:37:45 -07:00 |
|
Brent Simmons
|
9f5a7add24
|
Count read and unread statuses/articles without also including starred.
|
2026-03-24 14:29:23 -07:00 |
|
Brent Simmons
|
a7d56d0876
|
Enable the weekly cleanup.
|
2026-03-24 14:29:07 -07:00 |
|
Brent Simmons
|
9bcf8b2bc9
|
Make the first periodic clean up 6 days from first launch with this feature.
|
2026-03-24 14:15:25 -07:00 |
|
Brent Simmons
|
9b6865b473
|
Turn off dry-run for cleanup.
|
2026-03-24 14:15:09 -07:00 |
|
Brent Simmons
|
332774b3f5
|
Fix cleanup batching (400-record limit), per-batch progress reporting, cancel handling, and use 6-day cleanup interval.
|
2026-03-24 14:10:21 -07:00 |
|
Brent Simmons
|
ba1e6b709a
|
Fix several UI issues
|
2026-03-24 12:58:37 -07:00 |
|
Brent Simmons
|
d9fb340624
|
Fix warnings about use of async where not needed.
|
2026-03-24 12:58:29 -07:00 |
|
Brent Simmons
|
a7a534856d
|
Add CloudKitCleanUpStatus.isActive.
|
2026-03-23 20:55:31 -07:00 |
|
Brent Simmons
|
1d8de2c7fb
|
Add CloudKitCleanUpPlan, CloudKitCleanUpPhase, and CloudKitCleanUpProgress types for per-category cleanup tracking.
|
2026-03-23 20:45:57 -07:00 |
|
Brent Simmons
|
d81876fa07
|
Do a couple small cleanups: add progress property; use consistent number formatting.
|
2026-03-23 20:41:28 -07:00 |
|
 Brent SimmonsandClaude Opus 4.6
|
e027c009f9
|
Add per-category cleanup with progress reporting, remove dead code, fix orphan handling, use delete(recordIDs:).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-23 20:25:58 -07:00 |
|
Brent Simmons
|
24d02ab220
|
Add cleanUpCloudKit function call into the delegate to do the cleanup.
|
2026-03-23 20:06:16 -07:00 |
|
Brent Simmons
|
28bb8f7a25
|
Use import os rather than import os.log.
|
2026-03-23 11:23:15 -07:00 |
|
Brent Simmons
|
8ff1edd6eb
|
Simplify compressArticleRecords to mutate CKRecords in place instead of copying into a new array.
|
2026-03-23 11:19:04 -07:00 |
|
Brent Simmons
|
9c22b8cdeb
|
Remove unused RSCore and RSWeb imports from CloudKitArticlesZone.
|
2026-03-23 11:13:25 -07:00 |
|
Brent Simmons
|
07370980d4
|
Change daily to weekly in log, since it’s weekly now.
|
2026-03-23 11:11:09 -07:00 |
|
Brent Simmons
|
b49ac6660a
|
Use static JSONEncoder instead of allocating a new one every time.
|
2026-03-23 11:05:02 -07:00 |
|
Brent Simmons
|
903e9365f9
|
Use single matchAllPredicate instead of duplicating this code.
|
2026-03-23 11:03:20 -07:00 |
|
Brent Simmons
|
b0ea8a3dc6
|
Create shouldDeleteContentRecord to deduplicate code.
|
2026-03-23 10:59:25 -07:00 |
|
Brent Simmons
|
ba94958773
|
Deduplicate CloudKit status record parsing with a StatusRecordInfo.init.
|
2026-03-23 10:55:26 -07:00 |
|
Brent Simmons
|
941aeccdc9
|
Remove unused properties.
|
2026-03-23 10:52:38 -07:00 |
|
Brent Simmons
|
66423c5190
|
Remove long-obsolete migrateChangeToken and oldChangeTokenKey from CloudKitZone.
|
2026-03-23 10:49:48 -07:00 |
|
Brent Simmons
|
0dcfc92f9c
|
Replace CloudKitSettings protocol with callback.
|
2026-03-23 10:46:51 -07:00 |
|
Brent Simmons
|
581a9125b7
|
Split CloudKit cleanup into incremental weekly path and unlimited cache-aware path for the stats UI. Bump incremental cleanup limit to 400.
|
2026-03-23 09:43:17 -07:00 |
|
Brent Simmons
|
b9cc340e41
|
Switch from daily to weekly cleanup to cut down on cost of it.
|
2026-03-23 09:37:02 -07:00 |
|
Brent Simmons
|
8df4016d81
|
Share a cache between the CloudKit stats scan and the cleanup. Efficiency gain.
|
2026-03-23 08:55:28 -07:00 |
|
Brent Simmons
|
d894ef1ee7
|
Use the already-scanned status records in the article content scan. Major efficiency gain during the scan.
|
2026-03-23 08:34:30 -07:00 |
|
Brent Simmons
|
2950c04adf
|
Fix pageHandler in CloudKit queries to pass current page records only and not all accumulated records.
|
2026-03-22 20:52:49 -07:00 |
|
Brent Simmons
|
481782646d
|
Log errors and post error notifications during CloudKit scan.
|
2026-03-22 20:47:52 -07:00 |
|
Brent Simmons
|
145bcd5487
|
Update to latest Tidemark.
|
2026-03-22 20:42:08 -07:00 |
|
Brent Simmons
|
140c2e9aa4
|
Allow Xcode to do its housekeeping.
|
2026-03-22 20:13:13 -07:00 |
|
Brent Simmons
|
5ea6d9639f
|
Add a dryRun parameter to the iCloud records cleanup.
|
2026-03-22 20:12:07 -07:00 |
|
Brent Simmons
|
e824c29f24
|
Call postSyncError in places where errors where being ignored.
|
2026-03-22 12:29:57 -07:00 |
|
Brent Simmons
|
1cdaf89263
|
Add fetchStats and cleanup to CloudKitArticlesZone.
|
2026-03-22 11:46:19 -07:00 |
|
Brent Simmons
|
cb70e717ab
|
Add function to fetch stats. Add function to clean up iCloud storage if needed (runs once a day at most).
|
2026-03-21 20:51:46 -07:00 |
|
Brent Simmons
|
1766a4b819
|
Create CloudKitStatsProgressHandler typealias.
|
2026-03-21 20:42:17 -07:00 |
|
Brent Simmons
|
5ede548767
|
Fix build error.
|
2026-03-21 20:40:12 -07:00 |
|
Brent Simmons
|
0be05c5f5e
|
Call the delegate to fetch iCloud stats.
|
2026-03-21 20:38:39 -07:00 |
|
Brent Simmons
|
94c91974a1
|
Rename model.zoneStats to model.stats.
|
2026-03-21 20:36:25 -07:00 |
|
Brent Simmons
|
2e770fd5ad
|
Create model and view model for CloudKit Storage Stats screen.
|
2026-03-21 15:19:47 -07:00 |
|
Brent Simmons
|
76610c751a
|
Add pageHandler callback for paginated queries.
|
2026-03-21 14:14:49 -07:00 |
|
Brent Simmons
|
7c7b2b04ea
|
Add iCloudAccount computed property to eliminate duplication of code that filters for it.
|
2026-03-21 13:34:55 -07:00 |
|
Brent Simmons
|
11b94a32aa
|
Make sure fetchingAllUnreadCounts gets set to false before returning.
|
2026-03-19 19:25:44 -07:00 |
|
Brent Simmons
|
86ec025799
|
Add debug logging to show when it's skipping syncing content of unread articles.
|
2026-03-19 16:38:22 -07:00 |
|
Brent Simmons
|
dd39dae945
|
Move key for iCloud content syncing to Account so it's available to settings screens.
|
2026-03-19 16:38:22 -07:00 |
|
Brent Simmons
|
143e79138a
|
Pass CloudKitSettings around as needed and use it to check if syncing content of unread articles.
|
2026-03-19 16:38:22 -07:00 |
|