socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.compute.events.vm.terminated

record key any

The bidder reports that the VM stopped; sent as the payload of a market.event.

record

fieldtypedescription
reason *string
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).
knownValues ["guest_poweroff","vmm_exited","oom","host_reboot","identity_mismatch","deleted_on_request","expired","image_refused","association_ended"]
exitCodeinteger
The VMM's exit status; the bidder does not write it today.
observedAt *string datetime
When the bidder saw the VM gone; createdAt is the same time.
requestcom.atproto.repo.strongRef
The compute.events.vm.delete that asked for the stop.
createdAt *string datetime
signaturesnetwork.attested.signature#signatures

used in

Host a bidder, Compute Contract Flow - Complete Architecture Map, flow: one compute contract, end to end, guest-events: events under a receipt, identity: signatures, key claims, associations, sign-in, protocol: the atproto protocol of socialweb-computer, lexicons-market: one row per lexicon, market: the RFP flow, The protocol spec

raw schema: lexicons/com/publicdomainrelay/temp/compute/events/vm/terminated.json
{
  "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"
          }
        }
      }
    }
  }
}