lexicons and xrpc
- controlPlaneDown
- controlPlaneUp
- createCluster
- deleteCluster
- getKubeconfig
- listClusters
- listKubeconfigs
- revokeIdentity
- revokeKubeconfig
- subscribeClusters
- agentStart
- image
- memoryPressure
- oomKill
- publicKey
- r2Release
- r2Released
- r2Start
- requesterDid
- secrets
- secretsApplied
- secretsRequested
- secretsUpdated
- signalWebRTC
lexicon
computer.socialweb.ephemeralInfra
A short-lived deployment in an account's repo, which the socialweb-computer requester runs like a computer.socialweb.infra. It ends at createdAt plus ttlSeconds, or, with endWhen complete, once every requested contract is released or failed; then its contracts are released, and the record is kept with status.endedAt.
definitions: #status
record
| field | type | description |
|---|---|---|
description | string | maxLength 1024 |
contracts | array of computer.socialweb.infra#contract | maxLength 64 |
ttlSeconds * | integer | minimum 60 |
endWhen | string | knownValues ["complete","deadline"] |
status | #status | |
createdAt * | string datetime |
#status object
| field | type | description |
|---|---|---|
phase * | string | knownValues ["pending","staged","deploying","deployed","releasing","released","degraded","ending","deleting","ended"] |
contracts | array of computer.socialweb.infra#contractStatus | |
expiresAt | string datetime | |
endedAt | string datetime | |
endReason | string | knownValues ["complete","deadline","deleted"] |
used in
protocol: the atproto protocol of socialweb-computer
raw schema: lexicons/computer/socialweb/ephemeralInfra.json
{
"lexicon": 1,
"id": "computer.socialweb.ephemeralInfra",
"description": "A short-lived deployment in an account's repo, which the socialweb-computer requester runs like a computer.socialweb.infra. It ends at createdAt plus ttlSeconds, or, with endWhen complete, once every requested contract is released or failed; then its contracts are released, and the record is kept with status.endedAt.",
"defs": {
"main": {
"type": "record",
"key": "any",
"record": {
"type": "object",
"required": [
"createdAt",
"ttlSeconds"
],
"properties": {
"description": {
"type": "string",
"maxLength": 1024
},
"contracts": {
"type": "array",
"maxLength": 64,
"items": {
"type": "ref",
"ref": "computer.socialweb.infra#contract"
}
},
"ttlSeconds": {
"type": "integer",
"minimum": 60
},
"endWhen": {
"type": "string",
"knownValues": [
"complete",
"deadline"
]
},
"status": {
"type": "ref",
"ref": "#status"
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
}
},
"status": {
"type": "object",
"required": [
"phase"
],
"properties": {
"phase": {
"type": "string",
"knownValues": [
"pending",
"staged",
"deploying",
"deployed",
"releasing",
"released",
"degraded",
"ending",
"deleting",
"ended"
]
},
"contracts": {
"type": "array",
"items": {
"type": "ref",
"ref": "computer.socialweb.infra#contractStatus"
}
},
"expiresAt": {
"type": "string",
"format": "datetime"
},
"endedAt": {
"type": "string",
"format": "datetime"
},
"endReason": {
"type": "string",
"knownValues": [
"complete",
"deadline",
"deleted"
]
}
}
}
}
}