)]}'
{
  "commit": "751f9c8afffc3d0508a80bd43ea9291d9e50d884",
  "tree": "b5e3c7c790a16c3b83d9762698d9ebe0f191ff2e",
  "parents": [
    "78a1d1b46bb4b2aa01415c99d7c3982a52e59443"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Fri Jan 30 17:03:32 2026"
  },
  "committer": {
    "name": "WebRTC LUCI CQ",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Sat Jan 31 10:14:58 2026"
  },
  "message": "Reland \"Remove blocking calls from the stats gathering path in RTCStatsCollector\"\n\nThis is a reland of commit c2ffdeee34b23dc8a69360e8ed80d2b276d72377\n\nThe main fix related to the revert/reland was landed in a previous\nreland of a CL that this CL was based on. An additional change is in\npatchset #2 which preserves the previous behavior (not issuing callbacks\nduring shutdown although it theoretically might be possible).\n\nOriginal change\u0027s description:\n\u003e Remove blocking calls from the stats gathering path in RTCStatsCollector\n\u003e\n\u003e Improve tests for CancelPendingRequestAndGetShutdownTasks to more\n\u003e accurately simulate multithreaded shutdown. Any pending operations are\n\u003e cancelled as before, but CancelPendingRequestAndGetShutdownTasks will\n\u003e now optionally issue the pending callbacks immediately while also\n\u003e canceling pending async operations without blocking.\n\u003e\n\u003e Remove WaitForPendingRequest which was previously called from PC::Close.\n\u003e The dependency on the transport controller is not a concern anymore.\n\u003e\n\u003e * Introduce `worker_safety_` to guard tasks running on the worker\n\u003e   thread.\n\u003e * Refactor `PrepareTransceiverStatsInfosAndCallStats_s_w` to return\n\u003e   an `absl::AnyInvocable` and pass data via function arguments\n\u003e   instead of storing intermediate results in `collection_context_`.\n\u003e * Remove `network_report_event_` as manual synchronization is no\n\u003e   longer needed.\n\u003e * Ensure pending requests receive callbacks immediately during\n\u003e   shutdown or are safely dropped if the collector is destroyed.\n\u003e\n\u003e Bug: webrtc:42222804\n\u003e Change-Id: Ibb576e46dfa77e95c072d99282f6780a6df46458\n\u003e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/443460\n\u003e Reviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\n\u003e Commit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\n\u003e Cr-Commit-Position: refs/heads/main@{#46747}\n\nBug: webrtc:42222804\nChange-Id: I65664d832145a346e445fc6246a6c1ec54592d96\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/444440\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nReviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#46784}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ad71425d86168427b551400b46aec08fd31a1025",
      "old_mode": 33188,
      "old_path": "pc/peer_connection.cc",
      "new_id": "8921c1035051b7466693cd0f8a998f82fa227421",
      "new_mode": 33188,
      "new_path": "pc/peer_connection.cc"
    },
    {
      "type": "modify",
      "old_id": "d8757da80833144195f03cd4011579e59af0e961",
      "old_mode": 33188,
      "old_path": "pc/rtc_stats_collector.cc",
      "new_id": "31bf710b2344d8e83b661e1ea4964503eb426852",
      "new_mode": 33188,
      "new_path": "pc/rtc_stats_collector.cc"
    },
    {
      "type": "modify",
      "old_id": "8efd4bee2885ea16ab5924f967d9540dba840f99",
      "old_mode": 33188,
      "old_path": "pc/rtc_stats_collector.h",
      "new_id": "584c6b05c8844790e657fbcdb73e52b9205d5195",
      "new_mode": 33188,
      "new_path": "pc/rtc_stats_collector.h"
    },
    {
      "type": "modify",
      "old_id": "064168b9f853b9aaa3b50c5792dba1cee147b099",
      "old_mode": 33188,
      "old_path": "pc/rtc_stats_collector_unittest.cc",
      "new_id": "39ddb3ac82e9aa303f2b892504f5bead8dc8a33a",
      "new_mode": 33188,
      "new_path": "pc/rtc_stats_collector_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "ffa035c50cedca65bb4ec056c3e20250940aa20a",
      "old_mode": 33188,
      "old_path": "pc/rtc_stats_integrationtest.cc",
      "new_id": "d5898c7e333d7eaf3f0aed237744d090de0e1e08",
      "new_mode": 33188,
      "new_path": "pc/rtc_stats_integrationtest.cc"
    },
    {
      "type": "modify",
      "old_id": "cc00af6dd69449132d867193dceed24f37deaabb",
      "old_mode": 33188,
      "old_path": "pc/test/fake_peer_connection_for_stats.h",
      "new_id": "38dc4f6b36bd9809b6f6b6dc8aea80252ea9b617",
      "new_mode": 33188,
      "new_path": "pc/test/fake_peer_connection_for_stats.h"
    }
  ]
}
