CI Critical Path Budget

Find the slowest dependency chain in a CI graph and identify jobs with no scheduling slack.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /ci-critical-path-budget/v1/check with an x402 V2 client.

Worked example

Request

{
  "jobs": [
    {
      "id": "build",
      "seconds": 40,
      "after": []
    },
    {
      "id": "lint",
      "seconds": 20,
      "after": []
    },
    {
      "id": "test",
      "seconds": 80,
      "after": [
        "build",
        "lint"
      ]
    }
  ]
}

Result

{
  "seconds": 120,
  "path": [
    "build",
    "test"
  ],
  "slack_seconds": {
    "build": 0,
    "lint": 20,
    "test": 0
  }
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter