{"action":"created","comment":{"url":"https://api.github.com/repos/ray-project/ray/pulls/comments/240446297","pull_request_review_id":183478575,"id":240446297,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDQ0NjI5Nw==","diff_hunk":"@@ -158,122 +122,129 @@ int write_bytes(int fd, uint8_t *cursor, size_t length) {\n     bytesleft -= nbytes;\n     offset += nbytes;\n   }\n-\n   return 0;\n }\n \n-int do_write_message(int fd, int64_t type, int64_t length, uint8_t *bytes) {\n-  int64_t version = RayConfig::instance().ray_protocol_version();\n-  int closed;\n-  closed = write_bytes(fd, (uint8_t *)&version, sizeof(version));\n-  if (closed) {\n-    return closed;\n-  }\n-  closed = write_bytes(fd, (uint8_t *)&type, sizeof(type));\n+void LocalSchedulerConnection::disconnect() {\n+  flatbuffers::FlatBufferBuilder fbb;\n+  auto message = ray::protocol::CreateDisconnectClient(fbb);\n+  fbb.Finish(message);\n+  write_message(MessageType::IntentionalDisconnectClient, &fbb);\n+}\n+\n+void LocalSchedulerConnection::read_message(MessageType type, uint8_t** message) {\n+  int64_t version;\n+  uint8_t *bytes;\n+  int64_t type_field;\n+  int64_t length;\n+  int closed = read_bytes((uint8_t *)&version, sizeof(version));\n+  if (closed) goto disconnected;\n+  RAY_CHECK(version == RayConfig::instance().ray_protocol_version());\n+  closed = read_bytes((uint8_t *)&type_field, sizeof(type_field));\n+  if (closed) goto disconnected;\n+  closed = read_bytes((uint8_t *)&length, sizeof(length));\n+  if (closed) goto disconnected;\n+  bytes = (uint8_t *)malloc(length * sizeof(uint8_t));\n+  closed = read_bytes(bytes, length);\n   if (closed) {\n-    return closed;\n+    free(bytes);\n+    goto disconnected;\n   }\n-  closed = write_bytes(fd, (uint8_t *)&length, sizeof(length));\n-  if (closed) {\n-    return closed;\n+  goto final_check;\n+\n+disconnected:\n+  /* Handle the case in which the socket is closed. */\n+  type_field = static_cast<int64_t>(MessageType::DisconnectClient);\n+  length = 0;\n+  bytes = nullptr;\n+\n+final_check:\n+  if (type_field == static_cast<int64_t>(MessageType::DisconnectClient)) {\n+    RAY_LOG(DEBUG) << \"Exiting because local scheduler closed connection.\";\n+    exit(1);\n   }\n-  closed = write_bytes(fd, bytes, length * sizeof(char));\n-  if (closed) {\n-    return closed;\n+  if (type_field != static_cast<int64_t>(type)) {\n+    RAY_LOG(FATAL) << \"Problem communicating with raylet from worker: check logs or \"\n+                      \"dmesg for previous errors.\";\n+    // TODO: Why don't fail-fast/exit here?\n   }\n+  *message = bytes;\n+}\n+\n+int LocalSchedulerConnection::write_message(MessageType type,\n+    flatbuffers::FlatBufferBuilder *fbb) {\n+  std::unique_lock<std::mutex> guard(write_mutex);\n+  int64_t version = RayConfig::instance().ray_protocol_version();\n+  int64_t length = fbb ? fbb->GetSize() : 0;\n+  uint8_t *bytes = fbb ? fbb->GetBufferPointer() : nullptr;\n+  int64_t type_field = static_cast<int64_t>(type);\n+  int closed;\n+  closed = write_bytes((uint8_t *)&version, sizeof(version));\n+  if (closed) return closed;\n+  closed = write_bytes((uint8_t *)&type_field, sizeof(type_field));\n+  if (closed) return closed;\n+  closed = write_bytes((uint8_t *)&length, sizeof(length));\n+  if (closed) return closed;\n+  closed = write_bytes(bytes, length * sizeof(char));\n+  if (closed) return closed;\n   return 0;\n }\n \n-int write_message(int fd, int64_t type, int64_t length, uint8_t *bytes,\n-                  std::mutex *mutex) {\n-  if (mutex != NULL) {\n-    std::unique_lock<std::mutex> guard(*mutex);\n-    return do_write_message(fd, type, length, bytes);\n-  } else {\n-    return do_write_message(fd, type, length, bytes);\n-  }\n+LocalSchedulerClient::LocalSchedulerClient(\n+  const char *local_scheduler_socket, const UniqueID &client_id, bool is_worker,\n+  const JobID &driver_id, const Language &language): client_id(client_id),\n+    is_worker(is_worker), driver_id(driver_id), language(language) {\n+  conn = new LocalSchedulerConnection(local_scheduler_socket, -1, -1);","path":"src/ray/raylet/local_scheduler_client.cc","position":266,"original_position":266,"commit_id":"b1105ff9a469f2cc901acf7a5ef7fb11b48a0692","original_commit_id":"b1105ff9a469f2cc901acf7a5ef7fb11b48a0692","user":{"login":"pcmoritz","id":113316,"node_id":"MDQ6VXNlcjExMzMxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/113316?v=4","gravatar_id":"","url":"https://api.github.com/users/pcmoritz","html_url":"https://github.com/pcmoritz","followers_url":"https://api.github.com/users/pcmoritz/followers","following_url":"https://api.github.com/users/pcmoritz/following{/other_user}","gists_url":"https://api.github.com/users/pcmoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoritz/subscriptions","organizations_url":"https://api.github.com/users/pcmoritz/orgs","repos_url":"https://api.github.com/users/pcmoritz/repos","events_url":"https://api.github.com/users/pcmoritz/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoritz/received_events","type":"User","site_admin":false},"body":"conn -> conn_ and make it a unique_ptr","created_at":"2018-12-11T01:37:00Z","updated_at":"2018-12-11T01:37:00Z","html_url":"https://github.com/ray-project/ray/pull/3511#discussion_r240446297","pull_request_url":"https://api.github.com/repos/ray-project/ray/pulls/3511","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ray-project/ray/pulls/comments/240446297"},"html":{"href":"https://github.com/ray-project/ray/pull/3511#discussion_r240446297"},"pull_request":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3511"}}},"pull_request":{"url":"https://api.github.com/repos/ray-project/ray/pulls/3511","id":237521337,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NTIxMzM3","html_url":"https://github.com/ray-project/ray/pull/3511","diff_url":"https://github.com/ray-project/ray/pull/3511.diff","patch_url":"https://github.com/ray-project/ray/pull/3511.patch","issue_url":"https://api.github.com/repos/ray-project/ray/issues/3511","number":3511,"state":"open","locked":false,"title":"Convert the raylet client (the code in local_scheduler_client.cc) to proper C++.","user":{"login":"suquark","id":13750372,"node_id":"MDQ6VXNlcjEzNzUwMzcy","avatar_url":"https://avatars1.githubusercontent.com/u/13750372?v=4","gravatar_id":"","url":"https://api.github.com/users/suquark","html_url":"https://github.com/suquark","followers_url":"https://api.github.com/users/suquark/followers","following_url":"https://api.github.com/users/suquark/following{/other_user}","gists_url":"https://api.github.com/users/suquark/gists{/gist_id}","starred_url":"https://api.github.com/users/suquark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suquark/subscriptions","organizations_url":"https://api.github.com/users/suquark/orgs","repos_url":"https://api.github.com/users/suquark/repos","events_url":"https://api.github.com/users/suquark/events{/privacy}","received_events_url":"https://api.github.com/users/suquark/received_events","type":"User","site_admin":false},"body":"Since I am fixing the possible problems caused by async APIs (moving notification sockets to raylet), I will change the client API. Before introducing new APIs, it is a good chance to improve the client interface.\r\n\r\n## What do these changes do?\r\n\r\nConvert the raylet client (the code in local_scheduler_client.cc) to proper C++.\r\nBut I haven't used `client_connection.h` because this causes too much changes and I don't know how to use it to create socket connections with socket path.\r\n\r\nI also wonder if we should rename `LocalSchedulerClient`. Maybe `RayletClient` is better? \r\n\r\nBTW, I want to put Cython interface stuffs into another PR after this is merged.\r\n\r\n## Related issue number\r\n\r\n#3014","created_at":"2018-12-11T01:24:31Z","updated_at":"2018-12-11T01:37:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca1d52c0774a65ab27f567b74c3bfd0a90e36b65","assignee":{"login":"suquark","id":13750372,"node_id":"MDQ6VXNlcjEzNzUwMzcy","avatar_url":"https://avatars1.githubusercontent.com/u/13750372?v=4","gravatar_id":"","url":"https://api.github.com/users/suquark","html_url":"https://github.com/suquark","followers_url":"https://api.github.com/users/suquark/followers","following_url":"https://api.github.com/users/suquark/following{/other_user}","gists_url":"https://api.github.com/users/suquark/gists{/gist_id}","starred_url":"https://api.github.com/users/suquark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suquark/subscriptions","organizations_url":"https://api.github.com/users/suquark/orgs","repos_url":"https://api.github.com/users/suquark/repos","events_url":"https://api.github.com/users/suquark/events{/privacy}","received_events_url":"https://api.github.com/users/suquark/received_events","type":"User","site_admin":false},"assignees":[{"login":"suquark","id":13750372,"node_id":"MDQ6VXNlcjEzNzUwMzcy","avatar_url":"https://avatars1.githubusercontent.com/u/13750372?v=4","gravatar_id":"","url":"https://api.github.com/users/suquark","html_url":"https://github.com/suquark","followers_url":"https://api.github.com/users/suquark/followers","following_url":"https://api.github.com/users/suquark/following{/other_user}","gists_url":"https://api.github.com/users/suquark/gists{/gist_id}","starred_url":"https://api.github.com/users/suquark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suquark/subscriptions","organizations_url":"https://api.github.com/users/suquark/orgs","repos_url":"https://api.github.com/users/suquark/repos","events_url":"https://api.github.com/users/suquark/events{/privacy}","received_events_url":"https://api.github.com/users/suquark/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"robertnishihara","id":249517,"node_id":"MDQ6VXNlcjI0OTUxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/249517?v=4","gravatar_id":"","url":"https://api.github.com/users/robertnishihara","html_url":"https://github.com/robertnishihara","followers_url":"https://api.github.com/users/robertnishihara/followers","following_url":"https://api.github.com/users/robertnishihara/following{/other_user}","gists_url":"https://api.github.com/users/robertnishihara/gists{/gist_id}","starred_url":"https://api.github.com/users/robertnishihara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertnishihara/subscriptions","organizations_url":"https://api.github.com/users/robertnishihara/orgs","repos_url":"https://api.github.com/users/robertnishihara/repos","events_url":"https://api.github.com/users/robertnishihara/events{/privacy}","received_events_url":"https://api.github.com/users/robertnishihara/received_events","type":"User","site_admin":false},{"login":"raulchen","id":2883335,"node_id":"MDQ6VXNlcjI4ODMzMzU=","avatar_url":"https://avatars2.githubusercontent.com/u/2883335?v=4","gravatar_id":"","url":"https://api.github.com/users/raulchen","html_url":"https://github.com/raulchen","followers_url":"https://api.github.com/users/raulchen/followers","following_url":"https://api.github.com/users/raulchen/following{/other_user}","gists_url":"https://api.github.com/users/raulchen/gists{/gist_id}","starred_url":"https://api.github.com/users/raulchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulchen/subscriptions","organizations_url":"https://api.github.com/users/raulchen/orgs","repos_url":"https://api.github.com/users/raulchen/repos","events_url":"https://api.github.com/users/raulchen/events{/privacy}","received_events_url":"https://api.github.com/users/raulchen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ray-project/ray/pulls/3511/commits","review_comments_url":"https://api.github.com/repos/ray-project/ray/pulls/3511/comments","review_comment_url":"https://api.github.com/repos/ray-project/ray/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/3511/comments","statuses_url":"https://api.github.com/repos/ray-project/ray/statuses/b1105ff9a469f2cc901acf7a5ef7fb11b48a0692","head":{"label":"suquark:interface","ref":"interface","sha":"b1105ff9a469f2cc901acf7a5ef7fb11b48a0692","user":{"login":"suquark","id":13750372,"node_id":"MDQ6VXNlcjEzNzUwMzcy","avatar_url":"https://avatars1.githubusercontent.com/u/13750372?v=4","gravatar_id":"","url":"https://api.github.com/users/suquark","html_url":"https://github.com/suquark","followers_url":"https://api.github.com/users/suquark/followers","following_url":"https://api.github.com/users/suquark/following{/other_user}","gists_url":"https://api.github.com/users/suquark/gists{/gist_id}","starred_url":"https://api.github.com/users/suquark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suquark/subscriptions","organizations_url":"https://api.github.com/users/suquark/orgs","repos_url":"https://api.github.com/users/suquark/repos","events_url":"https://api.github.com/users/suquark/events{/privacy}","received_events_url":"https://api.github.com/users/suquark/received_events","type":"User","site_admin":false},"repo":{"id":131614621,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE2MTQ2MjE=","name":"ray","full_name":"suquark/ray","private":false,"owner":{"login":"suquark","id":13750372,"node_id":"MDQ6VXNlcjEzNzUwMzcy","avatar_url":"https://avatars1.githubusercontent.com/u/13750372?v=4","gravatar_id":"","url":"https://api.github.com/users/suquark","html_url":"https://github.com/suquark","followers_url":"https://api.github.com/users/suquark/followers","following_url":"https://api.github.com/users/suquark/following{/other_user}","gists_url":"https://api.github.com/users/suquark/gists{/gist_id}","starred_url":"https://api.github.com/users/suquark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suquark/subscriptions","organizations_url":"https://api.github.com/users/suquark/orgs","repos_url":"https://api.github.com/users/suquark/repos","events_url":"https://api.github.com/users/suquark/events{/privacy}","received_events_url":"https://api.github.com/users/suquark/received_events","type":"User","site_admin":false},"html_url":"https://github.com/suquark/ray","description":"A high-performance distributed execution engine","fork":true,"url":"https://api.github.com/repos/suquark/ray","forks_url":"https://api.github.com/repos/suquark/ray/forks","keys_url":"https://api.github.com/repos/suquark/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suquark/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suquark/ray/teams","hooks_url":"https://api.github.com/repos/suquark/ray/hooks","issue_events_url":"https://api.github.com/repos/suquark/ray/issues/events{/number}","events_url":"https://api.github.com/repos/suquark/ray/events","assignees_url":"https://api.github.com/repos/suquark/ray/assignees{/user}","branches_url":"https://api.github.com/repos/suquark/ray/branches{/branch}","tags_url":"https://api.github.com/repos/suquark/ray/tags","blobs_url":"https://api.github.com/repos/suquark/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suquark/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suquark/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/suquark/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suquark/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/suquark/ray/languages","stargazers_url":"https://api.github.com/repos/suquark/ray/stargazers","contributors_url":"https://api.github.com/repos/suquark/ray/contributors","subscribers_url":"https://api.github.com/repos/suquark/ray/subscribers","subscription_url":"https://api.github.com/repos/suquark/ray/subscription","commits_url":"https://api.github.com/repos/suquark/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/suquark/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/suquark/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/suquark/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/suquark/ray/contents/{+path}","compare_url":"https://api.github.com/repos/suquark/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suquark/ray/merges","archive_url":"https://api.github.com/repos/suquark/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suquark/ray/downloads","issues_url":"https://api.github.com/repos/suquark/ray/issues{/number}","pulls_url":"https://api.github.com/repos/suquark/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/suquark/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/suquark/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suquark/ray/labels{/name}","releases_url":"https://api.github.com/repos/suquark/ray/releases{/id}","deployments_url":"https://api.github.com/repos/suquark/ray/deployments","created_at":"2018-04-30T15:43:51Z","updated_at":"2018-12-06T22:20:11Z","pushed_at":"2018-12-10T12:06:29Z","git_url":"git://github.com/suquark/ray.git","ssh_url":"git@github.com:suquark/ray.git","clone_url":"https://github.com/suquark/ray.git","svn_url":"https://github.com/suquark/ray","homepage":"","size":17578,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ray-project:master","ref":"master","sha":"1f4a01cff68ad20f3cfc083b6a10d197e5a090b4","user":{"login":"ray-project","id":22125274,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMTI1Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/22125274?v=4","gravatar_id":"","url":"https://api.github.com/users/ray-project","html_url":"https://github.com/ray-project","followers_url":"https://api.github.com/users/ray-project/followers","following_url":"https://api.github.com/users/ray-project/following{/other_user}","gists_url":"https://api.github.com/users/ray-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-project/subscriptions","organizations_url":"https://api.github.com/users/ray-project/orgs","repos_url":"https://api.github.com/users/ray-project/repos","events_url":"https://api.github.com/users/ray-project/events{/privacy}","received_events_url":"https://api.github.com/users/ray-project/received_events","type":"Organization","site_admin":false},"repo":{"id":71932349,"node_id":"MDEwOlJlcG9zaXRvcnk3MTkzMjM0OQ==","name":"ray","full_name":"ray-project/ray","private":false,"owner":{"login":"ray-project","id":22125274,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMTI1Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/22125274?v=4","gravatar_id":"","url":"https://api.github.com/users/ray-project","html_url":"https://github.com/ray-project","followers_url":"https://api.github.com/users/ray-project/followers","following_url":"https://api.github.com/users/ray-project/following{/other_user}","gists_url":"https://api.github.com/users/ray-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-project/subscriptions","organizations_url":"https://api.github.com/users/ray-project/orgs","repos_url":"https://api.github.com/users/ray-project/repos","events_url":"https://api.github.com/users/ray-project/events{/privacy}","received_events_url":"https://api.github.com/users/ray-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ray-project/ray","description":"A system for parallel and distributed Python that unifies the ML ecosystem.","fork":false,"url":"https://api.github.com/repos/ray-project/ray","forks_url":"https://api.github.com/repos/ray-project/ray/forks","keys_url":"https://api.github.com/repos/ray-project/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ray-project/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ray-project/ray/teams","hooks_url":"https://api.github.com/repos/ray-project/ray/hooks","issue_events_url":"https://api.github.com/repos/ray-project/ray/issues/events{/number}","events_url":"https://api.github.com/repos/ray-project/ray/events","assignees_url":"https://api.github.com/repos/ray-project/ray/assignees{/user}","branches_url":"https://api.github.com/repos/ray-project/ray/branches{/branch}","tags_url":"https://api.github.com/repos/ray-project/ray/tags","blobs_url":"https://api.github.com/repos/ray-project/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ray-project/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ray-project/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/ray-project/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ray-project/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/ray-project/ray/languages","stargazers_url":"https://api.github.com/repos/ray-project/ray/stargazers","contributors_url":"https://api.github.com/repos/ray-project/ray/contributors","subscribers_url":"https://api.github.com/repos/ray-project/ray/subscribers","subscription_url":"https://api.github.com/repos/ray-project/ray/subscription","commits_url":"https://api.github.com/repos/ray-project/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/ray-project/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/ray-project/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/ray-project/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/ray-project/ray/contents/{+path}","compare_url":"https://api.github.com/repos/ray-project/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ray-project/ray/merges","archive_url":"https://api.github.com/repos/ray-project/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ray-project/ray/downloads","issues_url":"https://api.github.com/repos/ray-project/ray/issues{/number}","pulls_url":"https://api.github.com/repos/ray-project/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/ray-project/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/ray-project/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ray-project/ray/labels{/name}","releases_url":"https://api.github.com/repos/ray-project/ray/releases{/id}","deployments_url":"https://api.github.com/repos/ray-project/ray/deployments","created_at":"2016-10-25T19:38:30Z","updated_at":"2018-12-11T01:20:51Z","pushed_at":"2018-12-11T01:24:32Z","git_url":"git://github.com/ray-project/ray.git","ssh_url":"git@github.com:ray-project/ray.git","clone_url":"https://github.com/ray-project/ray.git","svn_url":"https://github.com/ray-project/ray","homepage":"https://ray.readthedocs.io/en/latest/","size":17154,"stargazers_count":4969,"watchers_count":4969,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":674,"mirror_url":null,"archived":false,"open_issues_count":489,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":674,"open_issues":489,"watchers":4969,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3511"},"html":{"href":"https://github.com/ray-project/ray/pull/3511"},"issue":{"href":"https://api.github.com/repos/ray-project/ray/issues/3511"},"comments":{"href":"https://api.github.com/repos/ray-project/ray/issues/3511/comments"},"review_comments":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3511/comments"},"review_comment":{"href":"https://api.github.com/repos/ray-project/ray/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3511/commits"},"statuses":{"href":"https://api.github.com/repos/ray-project/ray/statuses/b1105ff9a469f2cc901acf7a5ef7fb11b48a0692"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"pcmoritz"}}