{
  "slug": "pulumi-preview-and-up-can-open-a-neo-task-on-failure-bdf06c5f3790",
  "title": "Pulumi preview and up can open a Neo task on failure",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-04T22:51:28.000Z",
  "announced_at": "2026-03-04T22:51:28.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When running `pulumi preview` or `pulumi up` and you want a Neo task created on failure, add `--neo-task-on-failure` or set `NEO_TASK_ON_FAILURE` in the environment; the task is started to help debug operation errors. The option is a boolean flag, defaulting to false.",
    "examples": [
      "pulumi preview --neo-task-on-failure",
      "pulumi up --neo-task-on-failure",
      "NEO_TASK_ON_FAILURE=true pulumi preview"
    ],
    "gotchas": [
      "Version: v3.225.0",
      "--neo-task-on-failure: Boolean flag; starts a Neo task to help debug operation errors. Defaults to false.",
      "NEO_TASK_ON_FAILURE: Environment variable that triggers the same behavior as the flag; accepted values are not documented in the source page read.",
      "The behavior has no interactive prompts.",
      "It changes nothing for users who do not specify the flag or environment variable."
    ]
  },
  "why_it_matters": "When debugging a failed Pulumi preview or update, create a Neo task containing its error logs by enabling the failure option.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.225.0",
    "https://github.com/pulumi/pulumi/pull/21960",
    "https://github.com/pulumi/pulumi/blob/v3.225.0/pkg/cmd/pulumi/operations/preview.go",
    "https://github.com/pulumi/pulumi/blob/v3.225.0/pkg/cmd/pulumi/operations/up.go"
  ],
  "rank": 0.9303,
  "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-dac08aba15282235-5:gate",
    "evidence_hash": "a9c6b99297f8199a09a0dca513bf58c054a8876b8124414c9edaf71d9e3c91b9"
  },
  "review": {
    "draft_hash": "43c1b1c871254b592dedf31e5ed07abced2e606607aeb7d530630c567e92db04",
    "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.93 >= 0.9; 2 needed) and Jev gave 0.63 (>= 0.6 needed)."
  }
}
