)]}'
{
  "commit": "0a92de455b916fdfba525d65cb104e56399e8bbf",
  "tree": "f8801dcbf7c4a6f50dbd706a3fe2d829951d8bcb",
  "parents": [
    "56966c1d71fb0ce53bf43176e62eb9b40d558a43"
  ],
  "author": {
    "name": "Hao Jiang",
    "email": "jianghao@google.com",
    "time": "Sat Apr 18 02:21:48 2026 +0000"
  },
  "committer": {
    "name": "Muhammad Usama Chaudhry",
    "email": "muhammadusama@google.com",
    "time": "Wed Jul 29 10:11:41 2026 -0700"
  },
  "message": "mctp: refactor matching logic and priming query\n\nRefactored the MCTP matching logic to remove code duplication and\nimprove maintainability.\n\n1. Extracted the physical topology extraction logic from NVMeSensorMain\n   into a shared helper function `extractBusInfo` in MctpUtil. This\n   removed identical duplicate extraction loops that were used for both\n   the sensor configuration and the cached endpoint configurations.\n\n2. Merged the cache priming D-Bus query for associations with the\n   `performEmConfigQuery` function in MctpUtil. This eliminated the\n   redundant `GetManagedObjects` call and inline property parsing,\n   ensuring all EM queries follow the same execution and state tracking\n   path.\n\n3. Fixed inconsistent state setting in the cache priming loop to ensure\n   we don\u0027t trigger redundant queries on startup for existing devices.\n\nChange-Id: I6d5495e4be2b864cde90b4dfec805b2815e3e395\nGoogle-Bug-Id: 490106522\nSigned-off-by: Hao Jiang \u003cjianghao@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "106cb1073721ff925a69701e4e457c701c070a63",
      "old_mode": 33188,
      "old_path": "src/MctpUtil.cpp",
      "new_id": "add107a3ab34980099b7dd67577a17337e5435f3",
      "new_mode": 33188,
      "new_path": "src/MctpUtil.cpp"
    },
    {
      "type": "modify",
      "old_id": "580f7a004df9f4afa22aa4891a9a48f7ba6c7ab3",
      "old_mode": 33188,
      "old_path": "src/MctpUtil.hpp",
      "new_id": "b34fd8610ebc161f6d26e2dbb2b7d9fe1183db2d",
      "new_mode": 33188,
      "new_path": "src/MctpUtil.hpp"
    },
    {
      "type": "modify",
      "old_id": "c89eafcea834d34dd726efc42727d89edea88d7e",
      "old_mode": 33188,
      "old_path": "src/NVMeSensorMain.cpp",
      "new_id": "584fd8998c6e8410a7b0b4bd0e3a9c22c188076c",
      "new_mode": 33188,
      "new_path": "src/NVMeSensorMain.cpp"
    }
  ]
}
