{
  "slug": "pulumi-stack-history-events-retrieves-update-engine-events-64dc696a8d24",
  "title": "pulumi stack history events retrieves update engine events",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-18T16:31:27.000Z",
  "announced_at": "2026-05-18T16:31:27.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When debugging an update stored in Pulumi Cloud, retrieve its engine events with `pulumi stack history events <update-id>`. Use `--all` for every event or `--count <N>` for at least N; those options are mutually exclusive.",
    "examples": [
      "pulumi stack history events <update-id>",
      "pulumi stack history events <update-id> --all --output json",
      "pulumi stack history events <update-id> --urn <resource-urn> --event-type <numeric-code>"
    ],
    "gotchas": [
      "Version: v3.241.0",
      "<update-id> (required): Identifies the update whose engine events to retrieve.",
      "--all: Return every event for the update; mutually exclusive with `--count`.",
      "--count <N>: Fetch enough pages to return at least N events; mutually exclusive with `--all`.",
      "--event-type <code>: Filter by numeric Pulumi Cloud engine-event type code; repeatable.",
      "--urn <resource-urn>: Filter events to one resource URN.",
      "--include-non-activated: Include events not yet marked activated.",
      "--output <format>: Select `default` or `json` output; JSON emits raw engine event payloads.",
      "--stack <stack>: Select the stack to operate on; defaults to the current stack.",
      "Prerequisite: The command requires the Pulumi Cloud backend.",
      "Docs conflict: The current CLI reference is generated for v3.268.0 and includes `--summary`, which is absent from the v3.241.0 implementation description. Do not rely on that newer option for this card."
    ]
  },
  "why_it_matters": "Debug a Pulumi Cloud update by inspecting its engine events.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.241.0",
    "https://github.com/pulumi/pulumi/pull/23109",
    "https://www.pulumi.com/docs/iac/cli/commands/pulumi_stack_history_events/"
  ],
  "rank": 0.96034,
  "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-324393f6bc5e4721-14:gate",
    "evidence_hash": "cb2114e220895d619c9aff2d08a948203ac1670a16a9148199165713324db9ff"
  },
  "review": {
    "draft_hash": "31ed436d897dbc95675c1885ac7afe034005506e87e3981be714b912279f7c89",
    "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.96 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
