Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(instances): remove misleading local checksum fallback for sync status

Adam Eivy5501dea01634
diff --git a/client/src/pages/Instances.jsx b/client/src/pages/Instances.jsx
index 063eeef2c7..40f5949227 100644
--- a/client/src/pages/Instances.jsx
+++ b/client/src/pages/Instances.jsx
@@ -389,12 +389,10 @@ function SyncCategoriesPanel({ peer, onRefresh }) {
);
}
-function SnapshotSyncBadge({ label, icon: Icon, cursorChecksum, remoteChecksum, localChecksum }) {
- // When remote reports checksums: compare cursor vs remote
- // When remote doesn't (older version): compare cursor vs local as fallback
- const effectiveRemote = remoteChecksum || localChecksum;
- const synced = cursorChecksum && effectiveRemote && cursorChecksum === effectiveRemote;
- const behind = cursorChecksum && effectiveRemote && cursorChecksum !== effectiveRemote;
+function SnapshotSyncBadge({ label, icon: Icon, cursorChecksum, remoteChecksum }) {
+ // Only compare when remote reports checksums — local fallback is misleading
+ const synced = cursorChecksum && remoteChecksum && cursorChecksum === remoteChecksum;
+ const behind = cursorChecksum && remoteChecksum && cursorChecksum !== remoteChecksum;
return (
<div className="flex items-center gap-1.5 text-xs">
@@ -437,7 +435,7 @@ function SyncStatusSection({ peer, syncStatus }) {
// Show snapshot category sync status for all enabled snapshot categories
const cursorChecksums = cursor?.checksums || {};
const remoteChecksums = remoteSyncSeqs?.checksums || {};
- const localChecksums = syncStatus.local?.checksums || {};
+
const enabledSnapshots = SNAPSHOT_CATEGORIES
.map(m => m.key)
.filter(cat => categories[cat]);
@@ -482,7 +480,6 @@ function SyncStatusSection({ peer, syncStatus }) {
icon={meta.icon}
cursorChecksum={cursorChecksums[cat]}
remoteChecksum={remoteChecksums[cat]}
- localChecksum={localChecksums[cat]}
/>
);
})}