)]}'
{
  "commit": "296d9892e34f2e7e30833f04f140aaa3c7771983",
  "tree": "1f0ab6d009cdf1803ee6d61b233a20cb17c426c2",
  "parents": [
    "8b3d88408b85bd744c37eb3a532248d544528703"
  ],
  "author": {
    "name": "Sarad Pant",
    "email": "saradr.pant@gmail.com",
    "time": "Tue Oct 27 19:49:17 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Oct 27 19:52:18 2026 -0700"
  },
  "message": "[10.0.0rc1] fix: Format target counts in Found summaries  (#31716)\n\n### Description\n\nUse `StringUtil.formatCount` in the `Found` summaries for builds and tests. Counts of 10,000 or more now include commas, matching other CLI messages.\n\nAdds seven regression tests covering build-only, test-only, and mixed summaries at the formatting boundary. All seven tests and the existing `ProgressReportingTest` pass.\n\n### Motivation\nFixes https://github.com/bazelbuild/bazel/issues/31718\nThese messages were missed in #28922, resulting in inconsistent output:\n\n```text\nINFO: Analyzed 380,363 targets ...\nINFO: Found 380363 targets...\n```\n\nThe second message now reads `Found 380,363 targets...`.\n\nReported in https://github.com/bazelbuild/bazel/pull/28922#issuecomment-6070426661.\n\n### Build API Changes\n\nNo\n\n### Checklist\n\n- [x] I have added tests for the new use cases (if any).\n- [x] I have updated the documentation (if applicable). No documentation changes needed.\n\n### Release Notes\n\nRELNOTES: Target counts of 10,000 or more in the \"Found\" summaries for builds and tests now include comma separators, matching other CLI messages.\n\nCloses #31716\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/bazel/pull/31716 from ssarad:master 83dbc3a18607dc7a4a1f1fdd9e233e8c4141e33b\nPiperOrigin-RevId: 1008564110\nChange-Id: I81023909dde0cbdf3ea6cb614dcf549305336cf4\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4a6070f2f55018e4f23706bec03b1ea7090ee86c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java",
      "new_id": "b1286b59be5d28b39a0902b501fcac20c77932ed",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java"
    },
    {
      "type": "modify",
      "old_id": "9e1ec6df2b3e4804a7e28ca2bdad40e2ce30dca7",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/BUILD",
      "new_id": "d9d52a0643803305873ceb140c87e7716a5124c2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d4ee134098d8c90973efadccd66b9d48470c273a",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunnerTest.java"
    },
    {
      "type": "modify",
      "old_id": "6f9a7a167e4203cf0526db0020bdca5310867750",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/buildtool/BUILD",
      "new_id": "af3cd3a921767d6ce1b919b35128206fd20e9bcf",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/BUILD"
    }
  ]
}
