)]}'
{
  "commit": "3ab810b1fcaa3aaf88d39a9ce1b47917870f845d",
  "tree": "0b2fcf610353db9922e302163992a025beca0070",
  "parents": [
    "658143c1b48c3ddb60f7f60544ff943486b201c9"
  ],
  "author": {
    "name": "jmmv",
    "email": "jmmv@google.com",
    "time": "Fri Aug 25 21:14:27 2017 +0200"
  },
  "committer": {
    "name": "Vladimir Moskva",
    "email": "vladmos@google.com",
    "time": "Mon Aug 28 16:08:18 2017 +0200"
  },
  "message": "Ensure our \"Another command is running\" messages hold realistic PIDs.\n\nInstead of blocking indefinitely for the server lock to become available\nwhen other commands are running, busy-wait for the lock to be released.\nThis allows us to detect changes in the PID of the client that is\nholding the lock, and thus lets us make our wait messages more accurate.\n\nThere have been multiple bug reports over time (especially from macOS\nusers) where they complain that Bazel is stuck waiting for a\nnon-existent PID.  The code doesn\u0027t look obviously bogus, so this might\njust be a case of confusion based on the printed PID.  By improving the\ndiagnostic messages we output, we\u0027ll either make this confusion go away\nor have a chance of gathering more data when/if this happens again.\n\nThis change has the side-effect of homogenizing the wait messages\nprinted by both the Blaze client and the Blaze server and also adds\ndetails to know which component is printing what.\n\nPiperOrigin-RevId: 166508406\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55567b9f93e3e913d9c1af3482b1f4070be273b6",
      "old_mode": 33188,
      "old_path": "src/main/cpp/blaze_util_posix.cc",
      "new_id": "a53b9316d4962194e9fc2cad9882562778f4c2b3",
      "new_mode": 33188,
      "new_path": "src/main/cpp/blaze_util_posix.cc"
    },
    {
      "type": "modify",
      "old_id": "bfa3f28489c640cd371b859c3e113d991dde9312",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java",
      "new_id": "c6313276cbec51e01b8f8ada44de982a3328c779",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java"
    }
  ]
}
