)]}'
{
  "commit": "2e555f2aee3c002b9b95a9c78b02cff1d877b2e7",
  "tree": "8d9b354b9a718e0d78d17b22d709fce2ef118dcc",
  "parents": [
    "b011e782826a391813ff229b321911e00e4cd84f"
  ],
  "author": {
    "name": "Antonio Maiorano",
    "email": "amaiorano@google.com",
    "time": "Thu Sep 03 13:56:03 2026 -0700"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Sep 03 13:56:03 2026 -0700"
  },
  "message": "[dawn][native] Trim mappedData in DynamicUploader large reservation path\n\nIn commit c3845d0d9626, UploadReservation was spanified, but the large\nallocation path (\u003e4MiB) in DynamicUploader::Reserve left mappedData set\nto the full staging buffer range of size Align(allocationSize, 8).\n\nWhen allocationSize is not a multiple of 8, Span::CopyFrom triggers an\nassertion failure in BufferBase::UploadData (DAWN_CHECK(other.size() \u003d\u003d\nsize())), causing the process to abort on writeBuffer calls \u003e4MiB whose\nsize is not a multiple of 8.\n\nFix this by trimming mappedData with .first(allocationSize), matching\nthe ring buffer path.\n\nFixed: 556738097\nBug: 534203108\nChange-Id: I52caec20e3dfac18723db126880f84cf0e731aac\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/339375\nReviewed-by: Kai Ninomiya \u003ckainino@chromium.org\u003e\nCommit-Queue: Kai Ninomiya \u003ckainino@chromium.org\u003e\nCommit-Queue: Antonio Maiorano \u003camaiorano@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a6e9c9833a9571a8cf7af08466cd13e42eafb6e",
      "old_mode": 33188,
      "old_path": "src/dawn/native/DynamicUploader.cpp",
      "new_id": "fa2be4d4bc4a893296db99b41d57a77af1cc17d2",
      "new_mode": 33188,
      "new_path": "src/dawn/native/DynamicUploader.cpp"
    },
    {
      "type": "modify",
      "old_id": "624d1777a0adff197a2b9d8c74338ca858a33188",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/end2end/QueueTests.cpp",
      "new_id": "a91916f2c05122e5318f604b615c713e25989229",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/end2end/QueueTests.cpp"
    }
  ]
}
