Phase 823: sync-guild-mesh-triple-push-halt-clear IPC (v0.8.790).
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
||||
|
||||
**Phase 823 (v0.8.790):** `sync-guild-mesh-triple-push-halt-clear` recovery IPC. Bundle: `npm run test:ci-phase823`.
|
||||
|
||||
**Phase 822 (v0.8.789):** `sync-guild-mesh-triple-topology` light IPC. Bundle: `npm run test:ci-phase822`.
|
||||
|
||||
**Phase 821 (v0.8.788):** `sync-guild-mesh-triple-ack-watermark` recovery IPC. Bundle: `npm run test:ci-phase821`.
|
||||
|
||||
@@ -1342,6 +1342,26 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-messages' })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-mesh-triple-push-halt-clear') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
const gid = platform.guild.guild.id
|
||||
platform.emit('guild-mesh-topology', {
|
||||
guildId: gid,
|
||||
meshPeerCount: platform.guild?.peers?.size ?? 0,
|
||||
manualRecovery: true
|
||||
})
|
||||
if (typeof platform.clearGuildSyncPushHalt === 'function') {
|
||||
platform.clearGuildSyncPushHalt(gid)
|
||||
}
|
||||
platform.emit('guild-sync-health')
|
||||
platform.emit('guild-sync-ready', { guildId: gid, pushHaltClear: 1 })
|
||||
if (typeof platform.requestGuildSyncFanout === 'function') {
|
||||
platform.requestGuildSyncFanout()
|
||||
}
|
||||
}
|
||||
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-push-halt-clear' })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-mesh-triple-topology') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
const gid = platform.guild.guild.id
|
||||
|
||||
Reference in New Issue
Block a user