)]}'
{
  "commit": "855705fe5ecfff41d1c442717e0fb68459147264",
  "tree": "b337bc01045e914909bf78a19a366e4c24dc4c87",
  "parents": [
    "d63b2687e16c9a39ebdce288d1667f414065f432"
  ],
  "author": {
    "name": "Hao Jiang",
    "email": "jianghao@google.com",
    "time": "Fri Aug 14 21:30:19 2026 +0000"
  },
  "committer": {
    "name": "Hao Jiang",
    "email": "jianghao@google.com",
    "time": "Wed Aug 19 13:30:21 2026 -0700"
  },
  "message": "nvme: restore backward compatibility for mi_i2c without bus property\n\nFor NVMe devices configured with protocol \"mi_i2c\" and associated\nwith MCTP reactor configurations (isMctpReactorDevice), the \"Bus\"\nproperty is optional because endpoint discovery and routing are\nresolved dynamically via MCTP associations.\n\nA recent commit enforced that both \"mi_basic\" and \"mi_i2c\" require\nthe \"Bus\" property upfront, which caused valid \"mi_i2c\" reactor\nconfigurations lacking the \"Bus\" property to be skipped.\n\nThis change separates the protocol validation logic so that \"mi_i2c\"\nonly enforces the presence of \"Bus\" when the device is not an MCTP\nreactor device, restoring backward compatibility.\n\nTested:\n- Added a temporary unit test simulating NVMe configurations with\n  Protocol \"mi_i2c\" and MctpReactorConfigPath without a \"Bus\" property,\n  verifying that the NVMeSubsystem and NVMeDevice are created.\n- Verified that direct \"mi_i2c\" (without MCTP reactor config) and\n  \"mi_basic\" configurations without \"Bus\" continue to be rejected.\n\nGoogle-Bug-Id: 546682451\nChange-Id: I6db4c1a47860b6ac1e8ccf5393f3230ba85b8642\nSigned-off-by: Hao Jiang \u003cjianghao@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3a713711eff758c9cb37225f90108bcabb11b2bd",
      "old_mode": 33188,
      "old_path": "src/NVMeSensorMain.cpp",
      "new_id": "3d71f09bec724cc7ac8105e2405dc1356139660e",
      "new_mode": 33188,
      "new_path": "src/NVMeSensorMain.cpp"
    },
    {
      "type": "modify",
      "old_id": "a5933784d820349a01af21cee0a9078317c5e35e",
      "old_mode": 33188,
      "old_path": "tests/setup.sh",
      "new_id": "b394faa6693966c87752f6714bb4e83c509c8502",
      "new_mode": 33188,
      "new_path": "tests/setup.sh"
    }
  ]
}
