Phase 1033: add mid heal bundle refresh journey stub (v0.8.1000).
Headless journey for quad mid heal bundle refresh predicate snapshots. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
+27
@@ -2586,6 +2586,33 @@ class HeadlessSession {
|
|||||||
return { guildId: gid, keys, snapshot, stable, view }
|
return { guildId: gid, keys, snapshot, stable, view }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Journey stub: quad mid heal bundle refresh predicates (Phase 1033). */
|
||||||
|
async runMeshStabilityUiGuildQuadMidHealBundleRefreshJourney (guildId) {
|
||||||
|
if (!this.platform) throw new Error('headless not started')
|
||||||
|
const gid = guildId || this.platform.guild?.guild?.id
|
||||||
|
if (!gid) throw new Error('no guild')
|
||||||
|
const path = require('bare-path')
|
||||||
|
const bundleKeys = require('pearcord-platform/mesh-stability-ui-guild-quad-mid-heal-bundle-refresh-keys')
|
||||||
|
const offlineUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-quad-offline-heal-refresh.js')
|
||||||
|
const resilienceUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-quad-resilience-soak-refresh.js')
|
||||||
|
const largeRosterUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-quad-large-roster-heal-refresh.js')
|
||||||
|
const churnLargeRosterUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-quad-churn-large-roster-heal-refresh.js')
|
||||||
|
const offline = await import(offlineUi)
|
||||||
|
const resilience = await import(resilienceUi)
|
||||||
|
const largeRoster = await import(largeRosterUi)
|
||||||
|
const churnLargeRoster = await import(churnLargeRosterUi)
|
||||||
|
const view = await this.refreshView()
|
||||||
|
const kinds = bundleKeys.listMeshStabilityUiGuildQuadMidHealBundleRefreshKindKeys()
|
||||||
|
const snapshots = {
|
||||||
|
offlineHeal: offline.buildMeshStabilityGuildQuadOfflineHealRefreshSnapshot(view),
|
||||||
|
resilienceSoak: resilience.buildMeshStabilityGuildQuadResilienceSoakRefreshSnapshot(view),
|
||||||
|
largeRosterHeal: largeRoster.buildMeshStabilityGuildQuadLargeRosterHealRefreshSnapshot(view),
|
||||||
|
churnLargeRosterHeal: churnLargeRoster.buildMeshStabilityGuildQuadChurnLargeRosterHealRefreshSnapshot(view)
|
||||||
|
}
|
||||||
|
const stableOffline = offline.guildQuadOfflineHealNeedsRefresh(view, view)
|
||||||
|
return { guildId: gid, kinds, snapshots, stableOffline, view }
|
||||||
|
}
|
||||||
|
|
||||||
/** Journey stub: quad base heal bundle refresh predicates (Phase 1032). */
|
/** Journey stub: quad base heal bundle refresh predicates (Phase 1032). */
|
||||||
async runMeshStabilityUiGuildQuadBaseHealBundleRefreshJourney (guildId) {
|
async runMeshStabilityUiGuildQuadBaseHealBundleRefreshJourney (guildId) {
|
||||||
if (!this.platform) throw new Error('headless not started')
|
if (!this.platform) throw new Error('headless not started')
|
||||||
|
|||||||
Reference in New Issue
Block a user