{
  "slug": "tkn-pipelinerun-logs-adds-log-failed-68f79b93e2b4",
  "title": "tkn pipelinerun logs adds --log-failed",
  "tools": [
    "tkn"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-05T05:36:21.000Z",
  "announced_at": "2026-08-05T05:36:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When diagnosing a failed PipelineRun, run `tkn pipelinerun logs` with its name and `--log-failed` to show logs for failed tasks only.",
    "examples": [
      "tkn pipelinerun logs <pipelinerun-name> --log-failed -n <namespace>"
    ],
    "gotchas": [
      "Version: v0.46.0",
      "<pipelinerun-name> (required): Name of the PipelineRun whose logs to show.",
      "--log-failed: Show logs for failed tasks only.",
      "-n, --namespace <namespace>: Select the namespace; defaults to the namespace from KUBECONFIG."
    ]
  },
  "why_it_matters": "Inspect a PipelineRun's logs while diagnosing failed tasks.",
  "sources": [
    "https://github.com/tektoncd/cli/releases/tag/v0.46.0",
    "https://github.com/tektoncd/cli/blob/v0.46.0/docs/cmd/tkn_pipelinerun_logs.md"
  ],
  "rank": 0.94032,
  "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": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-78f92874b258fece-1:gate",
    "evidence_hash": "6aaa51aaf521862f49ff7f8971661326c4c9978e892932f8b884b14a52876906"
  },
  "review": {
    "draft_hash": "33e0fb798ef56b6e3f94263472b68676d764200e54e4a8110ed297e45bf5fc24",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.77 (>= 0.6 needed)."
  }
}
