{"action":"closed","number":358,"pull_request":{"url":"https://api.github.com/repos/moby/buildkit/pulls/358","id":185084448,"html_url":"https://github.com/moby/buildkit/pull/358","diff_url":"https://github.com/moby/buildkit/pull/358.diff","patch_url":"https://github.com/moby/buildkit/pull/358.patch","issue_url":"https://api.github.com/repos/moby/buildkit/issues/358","number":358,"state":"closed","locked":false,"title":"snapshotter: avoid snapshot removal race","user":{"login":"tonistiigi","id":585223,"avatar_url":"https://avatars1.githubusercontent.com/u/585223?v=4","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"body":"Avoid race where a reference is asked while it has been removed but not cleaned up by snapshotter GC yet. Currently, it is possible that stat returns ok although snapshot will get deleted when gc completes and next calls to prepare will fail because of a missing parent.\r\n\r\nSigned-off-by: Tonis Tiigi <tonistiigi@gmail.com>","created_at":"2018-04-30T22:49:52Z","updated_at":"2018-05-01T04:08:02Z","closed_at":"2018-05-01T04:08:02Z","merged_at":"2018-05-01T04:08:02Z","merge_commit_sha":"e671c79369e70a8f540204b0b06378d1074c12a7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/moby/buildkit/pulls/358/commits","review_comments_url":"https://api.github.com/repos/moby/buildkit/pulls/358/comments","review_comment_url":"https://api.github.com/repos/moby/buildkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moby/buildkit/issues/358/comments","statuses_url":"https://api.github.com/repos/moby/buildkit/statuses/d7f8a4e1a4eaf8a2aa5d9286f74d0ab614adcee5","head":{"label":"tonistiigi:snapshotter-race","ref":"snapshotter-race","sha":"d7f8a4e1a4eaf8a2aa5d9286f74d0ab614adcee5","user":{"login":"tonistiigi","id":585223,"avatar_url":"https://avatars1.githubusercontent.com/u/585223?v=4","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"repo":{"id":95247198,"name":"buildkit","full_name":"tonistiigi/buildkit","owner":{"login":"tonistiigi","id":585223,"avatar_url":"https://avatars1.githubusercontent.com/u/585223?v=4","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonistiigi/buildkit","description":null,"fork":true,"url":"https://api.github.com/repos/tonistiigi/buildkit","forks_url":"https://api.github.com/repos/tonistiigi/buildkit/forks","keys_url":"https://api.github.com/repos/tonistiigi/buildkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonistiigi/buildkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonistiigi/buildkit/teams","hooks_url":"https://api.github.com/repos/tonistiigi/buildkit/hooks","issue_events_url":"https://api.github.com/repos/tonistiigi/buildkit/issues/events{/number}","events_url":"https://api.github.com/repos/tonistiigi/buildkit/events","assignees_url":"https://api.github.com/repos/tonistiigi/buildkit/assignees{/user}","branches_url":"https://api.github.com/repos/tonistiigi/buildkit/branches{/branch}","tags_url":"https://api.github.com/repos/tonistiigi/buildkit/tags","blobs_url":"https://api.github.com/repos/tonistiigi/buildkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonistiigi/buildkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonistiigi/buildkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonistiigi/buildkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonistiigi/buildkit/statuses/{sha}","languages_url":"https://api.github.com/repos/tonistiigi/buildkit/languages","stargazers_url":"https://api.github.com/repos/tonistiigi/buildkit/stargazers","contributors_url":"https://api.github.com/repos/tonistiigi/buildkit/contributors","subscribers_url":"https://api.github.com/repos/tonistiigi/buildkit/subscribers","subscription_url":"https://api.github.com/repos/tonistiigi/buildkit/subscription","commits_url":"https://api.github.com/repos/tonistiigi/buildkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonistiigi/buildkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonistiigi/buildkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonistiigi/buildkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonistiigi/buildkit/contents/{+path}","compare_url":"https://api.github.com/repos/tonistiigi/buildkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonistiigi/buildkit/merges","archive_url":"https://api.github.com/repos/tonistiigi/buildkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonistiigi/buildkit/downloads","issues_url":"https://api.github.com/repos/tonistiigi/buildkit/issues{/number}","pulls_url":"https://api.github.com/repos/tonistiigi/buildkit/pulls{/number}","milestones_url":"https://api.github.com/repos/tonistiigi/buildkit/milestones{/number}","notifications_url":"https://api.github.com/repos/tonistiigi/buildkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonistiigi/buildkit/labels{/name}","releases_url":"https://api.github.com/repos/tonistiigi/buildkit/releases{/id}","deployments_url":"https://api.github.com/repos/tonistiigi/buildkit/deployments","created_at":"2017-06-23T18:44:36Z","updated_at":"2017-06-23T18:44:38Z","pushed_at":"2018-05-01T01:11:18Z","git_url":"git://github.com/tonistiigi/buildkit.git","ssh_url":"git@github.com:tonistiigi/buildkit.git","clone_url":"https://github.com/tonistiigi/buildkit.git","svn_url":"https://github.com/tonistiigi/buildkit","homepage":"","size":5554,"stargazers_count":0,"watchers_count":0,"language":"Go","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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"moby:master","ref":"master","sha":"2af19a8847e94f296ba63685d6dd92173c32bdf4","user":{"login":"moby","id":27259197,"avatar_url":"https://avatars1.githubusercontent.com/u/27259197?v=4","gravatar_id":"","url":"https://api.github.com/users/moby","html_url":"https://github.com/moby","followers_url":"https://api.github.com/users/moby/followers","following_url":"https://api.github.com/users/moby/following{/other_user}","gists_url":"https://api.github.com/users/moby/gists{/gist_id}","starred_url":"https://api.github.com/users/moby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moby/subscriptions","organizations_url":"https://api.github.com/users/moby/orgs","repos_url":"https://api.github.com/users/moby/repos","events_url":"https://api.github.com/users/moby/events{/privacy}","received_events_url":"https://api.github.com/users/moby/received_events","type":"Organization","site_admin":false},"repo":{"id":92969352,"name":"buildkit","full_name":"moby/buildkit","owner":{"login":"moby","id":27259197,"avatar_url":"https://avatars1.githubusercontent.com/u/27259197?v=4","gravatar_id":"","url":"https://api.github.com/users/moby","html_url":"https://github.com/moby","followers_url":"https://api.github.com/users/moby/followers","following_url":"https://api.github.com/users/moby/following{/other_user}","gists_url":"https://api.github.com/users/moby/gists{/gist_id}","starred_url":"https://api.github.com/users/moby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moby/subscriptions","organizations_url":"https://api.github.com/users/moby/orgs","repos_url":"https://api.github.com/users/moby/repos","events_url":"https://api.github.com/users/moby/events{/privacy}","received_events_url":"https://api.github.com/users/moby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moby/buildkit","description":"concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit","fork":false,"url":"https://api.github.com/repos/moby/buildkit","forks_url":"https://api.github.com/repos/moby/buildkit/forks","keys_url":"https://api.github.com/repos/moby/buildkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moby/buildkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moby/buildkit/teams","hooks_url":"https://api.github.com/repos/moby/buildkit/hooks","issue_events_url":"https://api.github.com/repos/moby/buildkit/issues/events{/number}","events_url":"https://api.github.com/repos/moby/buildkit/events","assignees_url":"https://api.github.com/repos/moby/buildkit/assignees{/user}","branches_url":"https://api.github.com/repos/moby/buildkit/branches{/branch}","tags_url":"https://api.github.com/repos/moby/buildkit/tags","blobs_url":"https://api.github.com/repos/moby/buildkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moby/buildkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moby/buildkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/moby/buildkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moby/buildkit/statuses/{sha}","languages_url":"https://api.github.com/repos/moby/buildkit/languages","stargazers_url":"https://api.github.com/repos/moby/buildkit/stargazers","contributors_url":"https://api.github.com/repos/moby/buildkit/contributors","subscribers_url":"https://api.github.com/repos/moby/buildkit/subscribers","subscription_url":"https://api.github.com/repos/moby/buildkit/subscription","commits_url":"https://api.github.com/repos/moby/buildkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/moby/buildkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/moby/buildkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/moby/buildkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/moby/buildkit/contents/{+path}","compare_url":"https://api.github.com/repos/moby/buildkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moby/buildkit/merges","archive_url":"https://api.github.com/repos/moby/buildkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moby/buildkit/downloads","issues_url":"https://api.github.com/repos/moby/buildkit/issues{/number}","pulls_url":"https://api.github.com/repos/moby/buildkit/pulls{/number}","milestones_url":"https://api.github.com/repos/moby/buildkit/milestones{/number}","notifications_url":"https://api.github.com/repos/moby/buildkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moby/buildkit/labels{/name}","releases_url":"https://api.github.com/repos/moby/buildkit/releases{/id}","deployments_url":"https://api.github.com/repos/moby/buildkit/deployments","created_at":"2017-05-31T17:04:10Z","updated_at":"2018-05-01T04:00:13Z","pushed_at":"2018-05-01T04:08:02Z","git_url":"git://github.com/moby/buildkit.git","ssh_url":"git@github.com:moby/buildkit.git","clone_url":"https://github.com/moby/buildkit.git","svn_url":"https://github.com/moby/buildkit","homepage":"https://github.com/moby/moby/issues/34227","size":5290,"stargazers_count":394,"watchers_count":394,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":41,"open_issues":40,"watchers":394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moby/buildkit/pulls/358"},"html":{"href":"https://github.com/moby/buildkit/pull/358"},"issue":{"href":"https://api.github.com/repos/moby/buildkit/issues/358"},"comments":{"href":"https://api.github.com/repos/moby/buildkit/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/moby/buildkit/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/moby/buildkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moby/buildkit/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/moby/buildkit/statuses/d7f8a4e1a4eaf8a2aa5d9286f74d0ab614adcee5"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"AkihiroSuda","id":9248427,"avatar_url":"https://avatars2.githubusercontent.com/u/9248427?v=4","gravatar_id":"","url":"https://api.github.com/users/AkihiroSuda","html_url":"https://github.com/AkihiroSuda","followers_url":"https://api.github.com/users/AkihiroSuda/followers","following_url":"https://api.github.com/users/AkihiroSuda/following{/other_user}","gists_url":"https://api.github.com/users/AkihiroSuda/gists{/gist_id}","starred_url":"https://api.github.com/users/AkihiroSuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkihiroSuda/subscriptions","organizations_url":"https://api.github.com/users/AkihiroSuda/orgs","repos_url":"https://api.github.com/users/AkihiroSuda/repos","events_url":"https://api.github.com/users/AkihiroSuda/events{/privacy}","received_events_url":"https://api.github.com/users/AkihiroSuda/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":10,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"AkihiroSuda"}}