)]}'
{
  "commit": "b0c275d7b499e2dffa3d99b8ffeac3f1b7bdab9c",
  "tree": "ecb0cc67cabe995ea6d7455b116b9c8781df9a9c",
  "parents": [
    "5ab09d328b135a9f31d810cdbcbe1deac0940ee3"
  ],
  "author": {
    "name": "Hunter Freyer",
    "email": "hjfreyer@google.com",
    "time": "Wed Nov 11 21:53:19 2020 +0000"
  },
  "committer": {
    "name": "CQ Bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Nov 11 21:53:19 2020 +0000"
  },
  "message": "[system-health-check] check_and_set_system_health\n\nMerges check_system_health and set_active_configuration_healthy into a\nsingle new operation with the following semantics:\n\n- If the current configuration is marked \"Pending\" according to the\n  paver, run health checks. If they fail, return an error. Eventually,\n  seeing this error will cause system-update-checker and omaha-client\n  to trigger reboot.\n\n- Otherwise, mark the current configuration as healthy and the\n  alternate configuration as unbootable.\n\nTest: did an OTA, checked that the system logs were as expected on\n  first boot (set healthy followed by set unbootable), and that\n  //src/sys/pkg:tests passed on the newly updated system. Rebooted the\n  machine and repeated this process, verifying the \"skipping health\n  checks\" message appeared.\n\nFixed: 51480\nChange-Id: I90a0952b3fe702f1f90184bd4497b00c98438f80\nReviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/442202\nReviewed-by: Aaron Wood \u003caaronwood@google.com\u003e\nReviewed-by: Zach Kirschenbaum \u003czkbaum@google.com\u003e\nReviewed-by: John Wittrock \u003cwittrock@google.com\u003e\nTestability-Review: Zach Kirschenbaum \u003czkbaum@google.com\u003e\nCommit-Queue: Hunter Freyer \u003chjfreyer@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e119f6e8a2799e8a57bd694c8091c969f686f54e",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/bin/omaha-client/src/main.rs",
      "new_id": "8dc5e2b2dd1b480fe3155c833e474792103ddbbd",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/bin/omaha-client/src/main.rs"
    },
    {
      "type": "modify",
      "old_id": "3f8d5cdd8ad3298885be9f870739dea6d9f4cb0d",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/bin/system-update-checker/src/main.rs",
      "new_id": "b6859a58706d23430fcb86c7ed068915c5d77706",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/bin/system-update-checker/src/main.rs"
    },
    {
      "type": "modify",
      "old_id": "3f86efd59143b97b4b39cf8ba3e6fd57e4e5fc83",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/lib/system-health-check/BUILD.gn",
      "new_id": "375aa94c820d1a3991f7fce444597e6921013b03",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/lib/system-health-check/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "6cc42cfc5f9abdd1b05d09bbd61ad78c0a1bb959",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/lib/system-health-check/README.md",
      "new_id": "8fc27f83a81a889ab1d16320ed3a80f4b03e2d6c",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/lib/system-health-check/README.md"
    },
    {
      "type": "delete",
      "old_id": "9cae81b77fa0c9e15d5cc8eb7d3f5e6585e90aa7",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/lib/system-health-check/src/check.rs",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "a5fa1f8993327e93c5e84d85f7cf4f6cdd5e4519",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/lib/system-health-check/src/lib.rs",
      "new_id": "4966fc48c5c97e661b4538e63d0d56787b81843c",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/lib/system-health-check/src/lib.rs"
    },
    {
      "type": "delete",
      "old_id": "3714a7eebb17565bf5ecd330a8156d8ab8b1022b",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/lib/system-health-check/src/mark.rs",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "088a0e5bde386b65ac7503488ffe31cf77be2b80",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/tests/omaha-client/src/lib.rs",
      "new_id": "286ffd733cdaf83e0403554c7f290cb81652fc36",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/tests/omaha-client/src/lib.rs"
    },
    {
      "type": "modify",
      "old_id": "5f56527d3e3667740ae83a5aae2231f31007e1f3",
      "old_mode": 33188,
      "old_path": "src/sys/pkg/tests/system-update-checker/src/lib.rs",
      "new_id": "3cdd74ee74adea3b4795bdade2d8a4260efaab9c",
      "new_mode": 33188,
      "new_path": "src/sys/pkg/tests/system-update-checker/src/lib.rs"
    }
  ]
}
