Check the CloudKit schema when packaging and show broken iCloud sync

This commit is contained in:
Ian Gulliver
2026-10-20 08:55:37 -07:00
parent e7724977c8
commit 8f3226350e
14 changed files with 502 additions and 288 deletions
+3
View File
@@ -210,6 +210,9 @@ func (m *Manager) listClients(ctx context.Context) (string, error) {
fmt.Fprintf(b, "last action %s ago", now.Sub(*r.LastActionAt).Round(time.Second))
}
fmt.Fprintf(b, ", connected %s ago, app built from %s", now.Sub(r.ConnectedAt).Round(time.Second), r.Commit)
if r.Sync != nil && !r.Sync.Ok {
fmt.Fprintf(b, ", iCloud sync failing since %s ago: %s", now.Sub(r.Sync.At).Round(time.Second), *r.Sync.Error)
}
if i == 0 && r.LastActionAt != nil {
b.WriteString(" (most recently active)")
}