feat(agentctl): Phase 724 worker release and integration manifest export journeys (v0.8.700)
Add runWorkerReleaseExportJsonJourney and runIntegrationManifestExportJsonJourney for signed worker export mesh regression. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
+33
@@ -3608,6 +3608,39 @@ class HeadlessSession {
|
||||
}
|
||||
}
|
||||
|
||||
async runWorkerReleaseExportJsonJourney () {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
await this.registerUser({ username: 'wr724', displayName: 'Worker Rel 724' })
|
||||
await this.createGuild({ name: 'Worker Rel 724', publicListing: false })
|
||||
await this.wait({ mode: 'guild' }, 45000)
|
||||
const pushed = await this.platform.pushWorkerReleaseJsonToMesh()
|
||||
const v = await this.refreshView()
|
||||
if (!pushed?.signature && !v.workerReleaseJsonMeta?.signature) {
|
||||
throw new Error('expected signed worker release export JSON after mesh push')
|
||||
}
|
||||
return {
|
||||
guildWorkerReleaseJsonCount: v.guildWorkerReleaseJsonCount || (v.workerReleaseJsonRows || []).length,
|
||||
hasMeta: v.workerReleaseJsonMeta != null
|
||||
}
|
||||
}
|
||||
|
||||
async runIntegrationManifestExportJsonJourney () {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
await this.registerUser({ username: 'im724', displayName: 'Manifest 724' })
|
||||
await this.createGuild({ name: 'Manifest 724', publicListing: false })
|
||||
await this.wait({ mode: 'guild' }, 45000)
|
||||
const pushed = await this.platform.pushIntegrationManifestExportToMesh()
|
||||
const v = await this.refreshView()
|
||||
if (!pushed?.signature && !v.integrationManifestExportJsonMeta?.signature) {
|
||||
throw new Error('expected signed integration manifest export JSON after mesh push')
|
||||
}
|
||||
return {
|
||||
guildIntegrationManifestJsonCount:
|
||||
v.guildIntegrationManifestJsonCount || (v.integrationManifestExportJsonRows || []).length,
|
||||
hasMeta: v.integrationManifestExportJsonMeta != null
|
||||
}
|
||||
}
|
||||
|
||||
async runSlashRegistryExportJsonJourney () {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
await this.registerUser({ username: 'sr723', displayName: 'Slash Reg 723' })
|
||||
|
||||
Reference in New Issue
Block a user