{
  "slug": "datadog-ci-coverage-upload-adds-repeatable-flags-c9f972bc42fa",
  "title": "datadog-ci coverage upload adds repeatable --flags",
  "tools": [
    "datadog-ci"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-03T16:38:17.000Z",
  "announced_at": "2026-02-03T16:38:17.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When uploading coverage reports for grouping or filtering, pass each report flag with a repeatable `--flags` option; use no more than 32 flags per report. [Coverage upload README](https://github.com/DataDog/datadog-ci/blob/v5.6.0/packages/plugin-coverage/README.md)",
    "examples": [
      "datadog-ci coverage upload --flags type:unit-tests --flags jvm-21 unit-tests/coverage-reports acceptance-tests/coverage-reports e2e-tests/coverage-report.xml"
    ],
    "gotchas": [
      "Version: v5.6.0",
      "--flags <value>: Repeatable flag to mark coverage reports for grouping and filtering; maximum 32 flags per report.",
      "<path> <another_path> (required): Directories, files, or glob patterns used to find coverage reports; directories are searched recursively for supported reports.",
      "Prerequisite: Set `DD_API_KEY` to authenticate requests.",
      "Maximum 32 flags per report."
    ]
  },
  "why_it_matters": "When uploading coverage reports that need grouping or filtering, add custom flags to the upload command.",
  "sources": [
    "https://github.com/DataDog/datadog-ci/releases/tag/v5.6.0",
    "https://github.com/DataDog/datadog-ci/pull/2070",
    "https://github.com/DataDog/datadog-ci/blob/v5.6.0/packages/plugin-coverage/README.md"
  ],
  "rank": 0.94026,
  "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-bbb1de2ccb5d53cf-0:gate",
    "evidence_hash": "7e328063ab3582c8721d2e7d7825fbd0424332a90042d8d2d2a40dfc26edc993"
  },
  "review": {
    "draft_hash": "4e7f6eb74116b41ade7703fb43c4730c875a6e5188ab8c58f55ae48ef1ec370d",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-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.80 (>= 0.6 needed)."
  }
}
