{
  "slug": "pulumi-node-js-sdk-supports-bun-as-a-runtime-19fb2f24ea16",
  "title": "Pulumi Node.js SDK supports Bun as a runtime",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-12T15:52:58.000Z",
  "announced_at": "2026-03-12T15:52:58.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When the Pulumi CLI is v3.226.0 or later and the repository should use Bun, set `runtime: bun` in `Pulumi.yaml`; Bun runtime does not support function serialization.",
    "examples": [
      "runtime: bun",
      "pulumi up"
    ],
    "gotchas": [
      "Version: 3.226.0",
      "runtime (required): Set to `bun` to select the Bun runtime.",
      "Prerequisite: Use Pulumi CLI 3.226.0 or later and install Bun; the v3.226.0 source implements a minimum `@pulumi/pulumi` SDK check of 3.226.0 for Bun.",
      "Function serialization is not supported in Bun.",
      "Docs conflict: Current Pulumi TypeScript docs say Bun is first-class as of Pulumi 3.227.0; the v3.226.0 release source includes Bun runtime support. The current docs describe newer-version behavior."
    ]
  },
  "why_it_matters": "Run a Pulumi TypeScript or Node.js SDK program in a repository configured to use Bun.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.226.0",
    "https://github.com/pulumi/pulumi/pull/22049",
    "https://github.com/pulumi/pulumi/pull/22177",
    "https://github.com/pulumi/pulumi/blob/v3.226.0/sdk/nodejs/cmd/pulumi-language-nodejs/testdata/published/bun/projects/l1-builtin-can/Pulumi.yaml",
    "https://www.pulumi.com/docs/iac/languages-sdks/javascript/",
    "https://github.com/pulumi/pulumi/blob/v3.226.0/sdk/nodejs/cmd/pulumi-language-nodejs/main.go"
  ],
  "rank": 0.9403,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-a12c469d383d93f1-3:gate",
    "evidence_hash": "480fe051a956d91c0a16d99a60b89ebcccb9be9a52b52e85e7c4129d07828a30"
  },
  "review": {
    "draft_hash": "fbdd65fe8b50c44f6cef73ea4c2467bc250e6f9ff365a5c582ddf79fd5998a40",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
