dev.knotless.minutes

lexicons.knotless.dev

Documentation

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.

main record

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.

Record Key any Any valid record key

Properties

allowance integer Optional

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
freeing array of ref #freeing Optional

When minutes counted now leave the 30 days, soonest first, for the days ahead that have any.

maxLength: 30 items
minutes integer Required

The minutes their steps took in the 30 days up to `updatedAt`, rounded down.

minimum: 0
owner string did Optional

The account whose repositories' runs these are.

updatedAt string datetime Required

When the runner last counted.

View raw schema
{
  "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"
}
freeing object

Minutes that stop counting at a time.

Properties

at string datetime Required

When they stop counting.

minutes integer Required

How many.

minimum: 0
View raw schema
{
  "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"
}

Lexicon Garden

@