)]}'
{
  "commit": "013f2d25560b9c09cf9e387fa7ab6f7bb7e58d45",
  "tree": "e1bc41559090c6bf0b439e853cef1351fdb2ee89",
  "parents": [
    "a9061604eabb19af172ddffc11c3e6b3bc1a03aa"
  ],
  "author": {
    "name": "Brian Sheedy",
    "email": "bsheedy@google.com",
    "time": "Thu Sep 11 21:56:31 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Sep 11 21:56:31 2025 -0700"
  },
  "message": "Refactor test name truncation\n\nRefactors the logic used for determining if test names need to be\ntruncated in order to fit within the 256 character limit for ResultDB.\n\nPreviously, we checked if the test class + some fixed value + the\nsanitized name was less than some arbitrary number of characters. This\nwas problematic since it did not cleanly take into account any prefixes\nadded to the test class or test names that were significantly longer\nthan the fixed value we used, leading to cases where tests were not\ntruncated when they should be.\n\nNow, we keep track of the longest test name we\u0027ve seen in the wild and\ntruncate if that + the sanitized parameters are over a threshold.\n\nBug: 413427416\nChange-Id: I097f7a9f58ab5f2d74f61d0750e1fb60c3fa167f\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/261440\nReviewed-by: Kai Ninomiya \u003ckainino@chromium.org\u003e\nCommit-Queue: Kai Ninomiya \u003ckainino@chromium.org\u003e\nAuto-Submit: Brian Sheedy \u003cbsheedy@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "380bc9c8c69ce567803ae63d0158d8d6f0bfd032",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/DawnTest.cpp",
      "new_id": "f8e1b9e12272e29af8b9e8ff495e6006efd67a6c",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/DawnTest.cpp"
    }
  ]
}
