dev.knotless.minutes

Kept in the runner's account, keyed by the owner's DID, and written again as the owner's runs end, at most every few minutes. Counts the time steps ran, not the time a run waited for a job, over the last 30 days. Private repositories' minutes are not counted here. Readers trust only a runner the repository names.

Details · record, key any
Kindrecord
Record keyany
Authorityknotless.dev
Indexed
cid bafyreict4rciaimwaezdi56qiggcxkl67hhyfk5hvtdbmdc5bf4ewnsxea

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "freeing": {
      "description": "Minutes that stop counting at a time.",
      "properties": {
        "at": {
          "description": "When they stop counting.",
          "format": "datetime",
          "type": "string"
        },
        "minutes": {
          "description": "How many.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "at",
        "minutes"
      ],
      "type": "object"
    },
    "main": {
      "description": "Kept in the runner's account, keyed by the owner's DID, and written again as the owner's runs end, at most every few minutes. Counts the time steps ran, not the time a run waited for a job, over the last 30 days. Private repositories' minutes are not counted here. Readers trust only a runner the repository names.",
      "key": "any",
      "record": {
        "properties": {
          "allowance": {
            "description": "The minutes in 30 days this runner gives the owner's runs before they go one at a time. Absent when there is no limit.",
            "minimum": 1,
            "type": "integer"
          },
          "freeing": {
            "description": "When minutes counted now leave the 30 days, soonest first, for the days ahead that have any.",
            "items": {
              "ref": "#freeing",
              "type": "ref"
            },
            "maxLength": 30,
            "type": "array"
          },
          "minutes": {
            "description": "The minutes their steps took in the 30 days up to `updatedAt`, rounded down.",
            "minimum": 0,
            "type": "integer"
          },
          "owner": {
            "description": "The account whose repositories' runs these are.",
            "format": "did",
            "type": "string"
          },
          "updatedAt": {
            "description": "When the runner last counted.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "minutes",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "The minutes a runner's steps took for one owner's public repositories, as that runner counts them.",
  "id": "dev.knotless.minutes",
  "lexicon": 1
}