payload: {"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/10269","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/10269/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/10269/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/10269/events","html_url":"https://github.com/bazelbuild/bazel/issues/10269","id":524740374,"node_id":"MDU6SXNzdWU1MjQ3NDAzNzQ=","number":10269,"title":"http_archive re-downloaded for every change in its build_file","user":{"login":"konste","id":2653844,"node_id":"MDQ6VXNlcjI2NTM4NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2653844?v=4","gravatar_id":"","url":"https://api.github.com/users/konste","html_url":"https://github.com/konste","followers_url":"https://api.github.com/users/konste/followers","following_url":"https://api.github.com/users/konste/following{/other_user}","gists_url":"https://api.github.com/users/konste/gists{/gist_id}","starred_url":"https://api.github.com/users/konste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konste/subscriptions","organizations_url":"https://api.github.com/users/konste/orgs","repos_url":"https://api.github.com/users/konste/repos","events_url":"https://api.github.com/users/konste/events{/privacy}","received_events_url":"https://api.github.com/users/konste/received_events","type":"User","site_admin":false},"labels":[{"id":1020663381,"node_id":"MDU6TGFiZWwxMDIwNjYzMzgx","url":"https://api.github.com/repos/bazelbuild/bazel/labels/team-ExternalDeps","name":"team-ExternalDeps","color":"f1f442","default":false,"description":"Issues for External Deps team (remote repositiories, WORKSPACE file)"},{"id":1020665933,"node_id":"MDU6TGFiZWwxMDIwNjY1OTMz","url":"https://api.github.com/repos/bazelbuild/bazel/labels/untriaged","name":"untriaged","color":"c34ddd","default":false,"description":""}],"state":"closed","locked":false,"assignee":{"login":"aehlig","id":9567293,"node_id":"MDQ6VXNlcjk1NjcyOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/9567293?v=4","gravatar_id":"","url":"https://api.github.com/users/aehlig","html_url":"https://github.com/aehlig","followers_url":"https://api.github.com/users/aehlig/followers","following_url":"https://api.github.com/users/aehlig/following{/other_user}","gists_url":"https://api.github.com/users/aehlig/gists{/gist_id}","starred_url":"https://api.github.com/users/aehlig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aehlig/subscriptions","organizations_url":"https://api.github.com/users/aehlig/orgs","repos_url":"https://api.github.com/users/aehlig/repos","events_url":"https://api.github.com/users/aehlig/events{/privacy}","received_events_url":"https://api.github.com/users/aehlig/received_events","type":"User","site_admin":false},"assignees":[{"login":"aehlig","id":9567293,"node_id":"MDQ6VXNlcjk1NjcyOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/9567293?v=4","gravatar_id":"","url":"https://api.github.com/users/aehlig","html_url":"https://github.com/aehlig","followers_url":"https://api.github.com/users/aehlig/followers","following_url":"https://api.github.com/users/aehlig/following{/other_user}","gists_url":"https://api.github.com/users/aehlig/gists{/gist_id}","starred_url":"https://api.github.com/users/aehlig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aehlig/subscriptions","organizations_url":"https://api.github.com/users/aehlig/orgs","repos_url":"https://api.github.com/users/aehlig/repos","events_url":"https://api.github.com/users/aehlig/events{/privacy}","received_events_url":"https://api.github.com/users/aehlig/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2019-11-19T02:52:09Z","updated_at":"2019-11-27T18:45:22Z","closed_at":"2019-11-26T15:40:14Z","author_association":"NONE","body":"### Description of the problem / feature request:\r\n\r\nWORKSPACE has the following rule:\r\n```\r\nhttp_archive(\r\n    name = \"boost\",\r\n    build_file = \"@//thirdparty:boost/boost.BUILD\",\r\n    sha256 = ...,\r\n    strip_prefix = ...,\r\n    urls = ...,\r\n)\r\n```\r\n\r\nEvery time I make any change to boost.BUILD file (which is in my workspace) 'bazel build' re-downloads the archive from the original URL. This is totally unnecessary as the archive stays the same and it is already in the local cache. This re-download may take significant time - 40 seconds in case of Boost library and contradicts to Bazel philosophy of not doing unnecessary work.\r\n\r\n### What operating system are you running Bazel on?\r\n\r\nWindows 10 1809\r\n\r\n### What's the output of `bazel info release`?\r\n\r\nrelease 1.1.0\r\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/559208568","html_url":"https://github.com/bazelbuild/bazel/issues/10269#issuecomment-559208568","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/10269","id":559208568,"node_id":"MDEyOklzc3VlQ29tbWVudDU1OTIwODU2OA==","user":{"login":"jwnimmer-tri","id":17596505,"node_id":"MDQ6VXNlcjE3NTk2NTA1","avatar_url":"https://avatars3.githubusercontent.com/u/17596505?v=4","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"created_at":"2019-11-27T18:45:22Z","updated_at":"2019-11-27T18:45:22Z","author_association":"CONTRIBUTOR","body":"Yes -- I did `echo \"# Hello\" >> thirdparty/boost/boost.build` in the above.  Without adding that line, the build only takes a few tens of milliseconds.  After adding the Hello, it takes around 9 seconds."}}
other: {"actor":{"display_login":"jwnimmer-tri"}}