)]}'
{
  "commit": "8e4b3ef836503574ec2f50ca491476e2f445ad01",
  "tree": "8f387dd5956ac0454d8f8f0554aa2b4b12d1b083",
  "parents": [
    "44cf06ca49c573cb6417260d55ab3a8aa570638c"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sun May 05 21:37:37 2024 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon May 06 10:36:20 2024 +0100"
  },
  "message": "Short-circuit on failed healthchecks\n\nBefore the full set of checks was always executed even if it was clear\nthat it would have failed because of one of the checks failing.\n\nAvoid running the additional checks when one of the checks is failing\nfor any reason and therefore running the full set would not be useful.\n\nIntroduce the new status NOT_RUN that clarifies that the check was\nnot executed because it would have not change the overall status.\n\nThis change allows a Gerrit to avoid running extra checks when the\nsystem is already struggling. Having too may healthchecks could\nactually prevent the system to become healthy again.\nMinimizing the execution of checks on a struggling system is paramount\nfor allowing it to recover more quickly.\n\nChange-Id: I885b3df06b60e322f12b77674be02536e8131499\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "773b6c01456d6cbb41af36d19b86ba0fd1922dca",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/check/GlobalHealthCheck.java",
      "new_id": "4e4cef70c37977b985543e4f1bc3dc6a340b85fb",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/check/GlobalHealthCheck.java"
    },
    {
      "type": "modify",
      "old_id": "7c4f8a1c6fccf0f0299288f5fde28c62b2f0291b",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/check/HealthCheck.java",
      "new_id": "db07320509d348e763689406cb75caaaae6961cb",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/healthcheck/check/HealthCheck.java"
    },
    {
      "type": "modify",
      "old_id": "56f96fe1e9463c9df29c2390c17f0638d4ba7d45",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/healthcheck/AbstractHealthCheckIntegrationTest.java",
      "new_id": "1b1cd70d1628e992b36841198778a9c6bf43d33f",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/healthcheck/AbstractHealthCheckIntegrationTest.java"
    },
    {
      "type": "modify",
      "old_id": "86ce328432487b095227b2873abfc5df06552288",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/healthcheck/HealthCheckIT.java",
      "new_id": "621ba17710adff4d5bd3de89dbd208b3a7321ca4",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/healthcheck/HealthCheckIT.java"
    }
  ]
}
