socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.compute.events.vm.sandbox

record key any

A deno sandbox reports that its program ended, with its output; sent as the payload of a market.event.

record

fieldtypedescription
exitCode *integer
The program's exit status; -1 when it was stopped at its deadline, killed by a signal, or could not be run.
timedOutboolean
The sandbox was stopped at its deadline rather than ending on its own.
stdoutstring
The program's standard output, cut to its first 65536 bytes.
maxLength 65536
stderrstring
The program's standard error, cut to its last 65536 bytes.
maxLength 65536
createdAt *string datetime
signaturesnetwork.attested.signature#signatures

used in

Compute Contract Flow - Complete Architecture Map, guest-events: events under a receipt, lexicons-market: one row per lexicon, market: the RFP flow, The protocol spec

raw schema: lexicons/com/publicdomainrelay/temp/compute/events/vm/sandbox.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.compute.events.vm.sandbox",
  "description": "A deno sandbox reports that its program ended, with its output; sent as the payload of a market.event.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "exitCode",
          "createdAt"
        ],
        "properties": {
          "exitCode": {
            "type": "integer",
            "description": "The program's exit status; -1 when it was stopped at its deadline, killed by a signal, or could not be run."
          },
          "timedOut": {
            "type": "boolean",
            "description": "The sandbox was stopped at its deadline rather than ending on its own."
          },
          "stdout": {
            "type": "string",
            "maxLength": 65536,
            "description": "The program's standard output, cut to its first 65536 bytes."
          },
          "stderr": {
            "type": "string",
            "maxLength": 65536,
            "description": "The program's standard error, cut to its last 65536 bytes."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "signatures": {
            "type": "ref",
            "ref": "network.attested.signature#signatures"
          }
        }
      }
    }
  }
}