~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
27 lines · 1.6 KB Raw History
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.compute.events.vm.terminated",
  "description": "The bidder reports that the VM stopped; sent as the payload of a market.event.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": ["reason", "observedAt", "createdAt"],
        "properties": {
          "reason": {
            "type": "string",
            "knownValues": ["guest_poweroff", "vmm_exited", "oom", "host_reboot", "identity_mismatch", "deleted_on_request", "expired", "image_refused", "association_ended"],
            "description": "Why the VM ended: guest_poweroff, vmm_exited, oom, host_reboot, identity_mismatch or image_refused when the VM was lost; deleted_on_request after a vm.delete or another release; expired when the bidder released it after the requester's contract-scoped association expired; association_ended when that association's contract ended (market.VMTerminatedReasons)."
          },
          "exitCode": { "type": "integer", "description": "The VMM's exit status; the bidder does not write it today." },
          "observedAt": { "type": "string", "format": "datetime", "description": "When the bidder saw the VM gone; createdAt is the same time." },
          "request": { "type": "ref", "ref": "com.atproto.repo.strongRef", "description": "The compute.events.vm.delete that asked for the stop." },
          "createdAt": { "type": "string", "format": "datetime" },
          "signatures": { "type": "ref", "ref": "network.attested.signature#signatures" }
        }
      }
    }
  }
}