{
  "repository": "cloudflare/workers-sdk",
  "ref": "fa3edb325694670084bc38af02232957315ccdb5",
  "methods": [
    {
      "slug": "formal",
      "title": "Formal verification and model checking"
    },
    {
      "slug": "static_analysis",
      "title": "Static analysis"
    },
    {
      "slug": "testing",
      "title": "Testing"
    },
    {
      "slug": "formatting",
      "title": "Formatting and hygiene"
    },
    {
      "slug": "supply_chain",
      "title": "Supply chain"
    },
    {
      "slug": "unclassified",
      "title": "Unclassified"
    }
  ],
  "verifications": [
    {
      "tool": "semgrep",
      "method": "static_analysis",
      "commands": [
        "semgrep scan --config=auto"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/semgrep.yml",
          "locator": "jobs.semgrep.steps[4]"
        }
      ],
      "upstream": "https://github.com/semgrep/semgrep",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "tsc",
      "method": "static_analysis",
      "commands": [
        "tsc"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "tools/package.json",
          "locator": "scripts.check:type"
        },
        {
          "path": "package.json",
          "locator": "dependencies: typescript"
        }
      ],
      "upstream": "https://github.com/microsoft/TypeScript",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "vitest",
      "method": "testing",
      "commands": [
        "vitest run"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "tools/package.json",
          "locator": "scripts.test:ci"
        },
        {
          "path": "package.json",
          "locator": "dependencies: vitest"
        },
        {
          "path": "fixtures/additional-modules/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/browser-run/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/container-app/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/create-test-harness-example/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/d1-read-replication-app/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/d1-worker-app/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/dev-registry/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/durable-objects-app/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/durable-objects-exports-app/vitest.config.mts",
          "locator": "config file"
        },
        {
          "path": "fixtures/dynamic-worker-loading/vitest.config.mts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/vitest-dev/vitest",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "playwright",
      "method": "testing",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "fixtures/create-test-harness-example/playwright.config.ts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/microsoft/playwright",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "prettier",
      "method": "formatting",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "packages/create-cloudflare/templates/common/js/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/common/ts/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world-durable-object-with-assets/js/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world-durable-object-with-assets/ts/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world-durable-object/js/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world-durable-object/ts/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world-with-assets/js/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world-with-assets/ts/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world/js/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/hello-world/ts/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/pre-existing/js/.prettierrc",
          "locator": "config file"
        },
        {
          "path": "packages/create-cloudflare/templates/queues/js/.prettierrc",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/prettier/prettier",
      "docs": "https://prettier.io/docs/cli#exit-codes",
      "exit_codes": {
        "0": "everything formatted",
        "1": "something was not formatted (--check)",
        "2": "prettier error"
      },
      "autofix": true,
      "declared_only": true
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "api \"repos/${REPO}/commits/${HEAD_SHA}/check-runs?check_name=Run+Codeowners+Plus\" --jq '(.check_runs[0].details_url // \"\")"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/rerun-codeowners-privileged.yml",
          "locator": "jobs.rerun-codeowners.steps[0] (Re-run Codeowners check)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- node -r esbuild-register packages/create-cloudflare/scripts/e2e/run-tests.ts"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.test:e2e:c3"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- node -r esbuild-register tools/e2e/runIndividualE2EFiles.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/e2e-wrangler.yml",
          "locator": "jobs.e2e-wrangler-test.steps[4] (Run Wrangler E2E tests)"
        },
        {
          "path": "package.json",
          "locator": "scripts.test:e2e:wrangler"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- turbo check:lint check:type check:format type:tests"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- turbo check:type type:tests"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.check:type"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- turbo test"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.test"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- turbo test:ci"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check-other-node.yml",
          "locator": "jobs.test-other-node-versions.steps[5] (Run tests (packages))"
        },
        {
          "path": "package.json",
          "locator": "scripts.test:ci"
        },
        {
          "path": ".github/workflows/test-and-check-other-node.yml",
          "locator": "jobs.test-other-node-versions.steps[7] (Run tests (vite-plugin))"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- turbo test:e2e"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/e2e-local-explorer-ui.yml",
          "locator": "jobs.test.steps[5] (Run Local Explorer UI E2E tests)"
        },
        {
          "path": "package.json",
          "locator": "scripts.test:e2e"
        },
        {
          "path": ".github/workflows/e2e-vite.yml",
          "locator": "jobs.e2e-vite-plugin-test.steps[4] (Run Vite plugin E2E tests)"
        },
        {
          "path": ".github/workflows/e2e-wrangler.yml",
          "locator": "jobs.e2e-wrangler-test.steps[5] (Run getPlatformProxy() remote-bindings e2e tests)"
        },
        {
          "path": ".github/workflows/test-and-check-other-node.yml",
          "locator": "jobs.test-other-node-versions.steps[6] (Run e2e tests (unenv-preset))"
        },
        {
          "path": ".github/workflows/worker-playground-preview-testing-env-deploy-and-test.yml",
          "locator": "jobs.e2e-test.steps[4] (Run tests)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "dotenv -- turbo type:tests"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.type:tests"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node --input-type=module -e '"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/vite-plugin-playgrounds.yml",
          "locator": "jobs.test.steps[5] (Export plugin build hash for the playground cache key)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register test/run-test-file.ts"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "tools/package.json",
          "locator": "scripts.test:file"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/deploy-non-npm-packages.ts check"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:deployments"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/update-default-compat-date.ts check"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:compat-date"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/validate-catalog-usage.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:catalog"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/validate-fixtures.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:fixtures"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/validate-package-dependencies.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:package-deps"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/validate-pinned-dependencies.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:pinned-deps"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/deployments/validate-private-packages.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:private-packages"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/github-workflow-helpers/validate-action-pinning.ts"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        },
        {
          "path": "package.json",
          "locator": "scripts.check:workflows"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -r esbuild-register tools/test/run-fixture-shard.ts"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.test:ci:fixtures"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node lint-turbo.mjs"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[3] (Check for errors)"
        },
        {
          "path": "package.json",
          "locator": "scripts.check"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node packages/wrangler/src/__tests__/test-old-node-version.js error"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.check.steps[7] (Check for error message on Node.js < v22)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node tools/test/run-with-log.cjs"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/c3-e2e.yml",
          "locator": "jobs.e2e.steps[9]"
        },
        {
          "path": "package.json",
          "locator": "scripts.test:ci:logged"
        },
        {
          "path": ".github/workflows/c3-e2e.yml",
          "locator": "jobs.frameworks-e2e-shards.steps[10]"
        },
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.test-partitions.steps[4] (Run tests (tools only))"
        },
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.test-partitions.steps[5] (Run tests (packages))"
        },
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.test-partitions.steps[6] (Run tests (Vite and Vitest integrations))"
        },
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.test-partitions.steps[7] (Run tests (Wrangler and Miniflare shard))"
        },
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.test-partitions.steps[9] (Run tests (fixtures))"
        },
        {
          "path": ".github/workflows/test-and-check.yml",
          "locator": "jobs.test-partitions.steps[10] (Run tests (dev-registry))"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxfmt"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.fix"
        },
        {
          "path": "package.json",
          "locator": "scripts.prettify"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxfmt --check"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.check:format"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxlint --deny-warnings --type-aware"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.check:lint"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxlint --fix --type-aware"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.fix"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "turbo test:watch"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.test:watch"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    }
  ]
}
