)]}'
{
  "commit": "f177b0d79404e84d9bac6841a464682af97ab65f",
  "tree": "d6a3d5ed8188e544cfc26e160e106c00490f25c8",
  "parents": [
    "51a9596f592c183beffdeeffc43c86295c88a4a5"
  ],
  "author": {
    "name": "Klaus Aehlig",
    "email": "aehlig@google.com",
    "time": "Fri Apr 26 01:19:59 2019 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Apr 26 01:21:24 2019 -0700"
  },
  "message": "Command Execution: distinguish aborted processes\n\nIn some cases, bazel terminates a process, e.g., because an error\nwas found in some other part of the build. If this happens for\na process called from a Skylark repository rule, we want to abort\nthe rule here, and not hand control back the to the caller; on\nthe other hand, we want to give the caller the chance to handle\nall other kinds of abnormal termination, as executed commands\nmight be used to probe for properties of the underlying system.\n\nUnfortunately, we cannot do this distinction perfectly, as for a\nprocess terminated by signal 15, we do not know who sent that signal.\nHowever, handling those cases as aborted should not interfere with\nexisting uses, and there\u0027s always a workaround (like a wrapper\nprocess).\n\nFixes #7993.\n\nChange-Id: Ibd9630b38103094e56570d9bba2f67a4197c18c5\nPiperOrigin-RevId: 245381697\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "393379cbab617901783562281f4748e1e6d0af3b",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkExecutionResult.java",
      "new_id": "b17bacbf919f736fe5573acf81131060d0185d22",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/repository/skylark/SkylarkExecutionResult.java"
    },
    {
      "type": "modify",
      "old_id": "ff9579b975d95a6158de042b33e82e10e095fdbd",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/skylarkbuildapi/repository/SkylarkExecutionResultApi.java",
      "new_id": "94cdc249ff9405ddaa2934d928aee22133a824a6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/skylarkbuildapi/repository/SkylarkExecutionResultApi.java"
    },
    {
      "type": "modify",
      "old_id": "2df2986cfa7d0486d5b51b8d7846729386e38ecd",
      "old_mode": 33188,
      "old_path": "src/test/shell/bazel/BUILD",
      "new_id": "46dad514d2f730c6f7b76eda5c383345d2cf2e34",
      "new_mode": 33188,
      "new_path": "src/test/shell/bazel/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "30cee235710ba37d0d5b66175afabd17d7f5d606",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/repository_abort_test.sh"
    }
  ]
}
