)]}'
{
  "commit": "a4d7c356d56cf128c3087b4a1810f3900d91df05",
  "tree": "9d9da62dc1d6dfc218bc842fa4e3366e528b3114",
  "parents": [
    "7e656a8d5ade9c51fe35876a84c00b481c51c40c"
  ],
  "author": {
    "name": "Munawar Hussain",
    "email": "munawarhussain@google.com",
    "time": "Mon Oct 12 14:45:49 2026 +0000"
  },
  "committer": {
    "name": "Munawar Hussain",
    "email": "munawarhussain@google.com",
    "time": "Tue Oct 13 10:42:34 2026 +0000"
  },
  "message": "gen: Add suffixed OSStatus service per-host paths\n\nIn multi-host configurations, power-control registers the per-host\nOperatingSystem status service as\nxyz.openbmc_project.State.OperatingSystem{idx} and exposes the\nOperatingSystemState property on either\n/xyz/openbmc_project/state/host{idx} or\n/xyz/openbmc_project/state/os{idx} depending on platform configuration.\n\nPreviously, GenPSMConfig only paired the un-suffixed service name with\n/xyz/openbmc_project/state/host{idx} and the suffixed service name with\n/xyz/openbmc_project/state/os. Add the suffixed service name with both\n/xyz/openbmc_project/state/host{idx} and\n/xyz/openbmc_project/state/os{idx} so OSStatus:Inactive,\nOSStatus:Standby, and the Firmware stage duration are properly recorded\nacross multi-host systems.\n\nTested:\nVerified on multi-host systems (both /state/host{idx} and /state/os{idx}\nconfigurations) across functional checkpoint injection,\nComputerSystem.Reset (PowerCycle and ForceRestart), and Chassis.Reset\n(TrayPowerCycle):\n\nFull test logs:\nhttps://paste.googleplex.com/6755399435824681?raw\nhttps://paste.googleplex.com/6755399435854201?raw\n\n1. D-Bus \u0026 Service Logs:\nboot-time-monitor: SetNodeCheckpoint \u0027HostState:Off\u0027 for host0\nboot-time-monitor: SetNodeCheckpoint \u0027OSStatus:Inactive\u0027 for host0\nboot-time-monitor: SetNodeCheckpoint \u0027HostState:Off\u0027 for host1\nboot-time-monitor: SetNodeCheckpoint \u0027OSStatus:Inactive\u0027 for host1\nboot-time-monitor: SetNodeCheckpoint \u0027HostState:Running\u0027 for host1\nboot-time-monitor: SetNodeCheckpoint \u0027HostState:Running\u0027 for host0\nboot-time-monitor: SetNodeCheckpoint \u0027OSStatus:Standby\u0027 for host1\nboot-time-monitor: SetNodeCheckpoint \u0027OSStatus:Standby\u0027 for host0\n\n2. Redfish ComputerSystem.Reset (/redfish/v1/Systems/system{1,2}/Oem/Google/BootTime):\n- Config A (/state/host{1,2}, system1):\n  \"Breakdown\": [\n    {\"Duration\": 247.65, \"Stage\": \"Firmware\"},\n    {\"Duration\": 7.887, \"Stage\": \"Kernel\"},\n    {\"Duration\": 23.698, \"Stage\": \"Off\"},\n    {\"Duration\": 0.0, \"Stage\": \"RebootEnd\"},\n    {\"Duration\": 96.162, \"Stage\": \"TransitioningToKernel\"},\n    {\"Duration\": 101.201, \"Stage\": \"Userspace\"}\n  ]\n  \"Stat\": {\"IsRebooting\": false, \"PowerSource\": \"AC\"}, \"Total\": 476.598\n- Config B (/state/os{1,2}, system1 \u0026 system2):\n  - system1: Firmware: 296.35, Kernel: 26.717, Off: 235.936,\n    TransitioningToKernel: 208.725, Userspace: 197.858, Total: 965.596\n  - system2: Firmware: 589.63, Kernel: 25.623, Off: 240.255,\n    TransitioningToKernel: 209.46, Userspace: 217.957, Total: 1282.935\n\n3. Redfish TrayPowerCycle (/redfish/v1/Managers/bmc/Oem/Google/BootTime\n   \u0026 /redfish/v1/Systems/system{1,2}/Oem/Google/BootTime):\n- BMC: RebootStart -\u003e TrayPowerCycle -\u003e UserspaceEnd -\u003e RebootEnd\n  (IsRebooting: false, PowerSource: \"AC\", Total: 177.319 / 215.535)\n- system1 \u0026 system2: HostState:Off -\u003e OSStatus:Inactive -\u003e\n  TrayPowerCycle -\u003e HostState:Off -\u003e HostState:Running -\u003e\n  OSStatus:Standby -\u003e Userspace:BEGIN -\u003e Userspace -\u003e RebootEnd\n\nGoogle-Bug-Id: 399792269\nChange-Id: Id1a29dc128a8830972f2d5100b07311246daa14e\nSigned-off-by: Munawar Hussain \u003cmunawarhussain@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "68454d84508938e8f96d13054b05b769607e3adc",
      "old_mode": 33188,
      "old_path": ".clang-tidy",
      "new_id": "a1df213814fdbd3eec70c828d64505c42214673c",
      "new_mode": 33188,
      "new_path": ".clang-tidy"
    },
    {
      "type": "modify",
      "old_id": "43329603140da0ac581555f75c6babb0dc7d7cb0",
      "old_mode": 33188,
      "old_path": "include/gen.hpp",
      "new_id": "003ead8cd573dd2a4a2f3a62737a39759e089777",
      "new_mode": 33188,
      "new_path": "include/gen.hpp"
    }
  ]
}
