{
  "slug": "datadog-ci-coverage-upload-adds-ignored-source-paths-383688e3e20a",
  "title": "datadog-ci coverage upload adds --ignored-source-paths",
  "tools": [
    "datadog-ci"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-17T09:46:45.000Z",
  "announced_at": "2026-08-17T09:46:45.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When uploading coverage and excluding selected source files, pass their patterns to `--ignored-source-paths`; the list applies to this upload and replaces the YAML `ignore` list for it.",
    "examples": [
      "datadog-ci coverage upload --ignored-source-paths \"<pattern1>,<pattern2>\" <path> [<another_path> ...]"
    ],
    "gotchas": [
      "Version: v5.23.0",
      "--ignored-source-paths <patterns>: Comma- or newline-separated source file patterns excluded from coverage computation. Patterns are matched server-side and sent verbatim. This list replaces the `ignore` list in `code-coverage.datadog.yml` for this upload; the lists are not merged.",
      "<path> [<another_path> ...] (required): One or more coverage report files, directories, or glob patterns to search; directory searches are recursive.",
      "Prerequisite: Set `DD_API_KEY` to a Datadog API key; it is required to authenticate requests."
    ]
  },
  "why_it_matters": "Upload coverage while excluding selected source paths.",
  "sources": [
    "https://github.com/DataDog/datadog-ci/releases/tag/v5.23.0",
    "https://github.com/DataDog/datadog-ci/blob/v5.23.0/packages/plugin-coverage/README.md"
  ],
  "rank": 0.92024,
  "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": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-14f8dbf09fed3e59-0:gate",
    "evidence_hash": "6fecf2c8f8d41b2d358b1d07674e2b0c29549cc4270b600887cc488b14996a77"
  },
  "review": {
    "draft_hash": "7ba1430ded5a79084fc4369ec35050824d61e3fc5031fe3581f722d3bec16f21",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
