{"action":"closed","issue":{"url":"https://api.github.com/repos/codecov/support/issues/94","labels_url":"https://api.github.com/repos/codecov/support/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/codecov/support/issues/94/comments","events_url":"https://api.github.com/repos/codecov/support/issues/94/events","html_url":"https://github.com/codecov/support/issues/94","id":111221202,"number":94,"title":"Project status: respect deleted files in diff during compare.","user":{"login":"stevepeak","id":2041757,"avatar_url":"https://avatars.githubusercontent.com/u/2041757?v=3","gravatar_id":"","url":"https://api.github.com/users/stevepeak","html_url":"https://github.com/stevepeak","followers_url":"https://api.github.com/users/stevepeak/followers","following_url":"https://api.github.com/users/stevepeak/following{/other_user}","gists_url":"https://api.github.com/users/stevepeak/gists{/gist_id}","starred_url":"https://api.github.com/users/stevepeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevepeak/subscriptions","organizations_url":"https://api.github.com/users/stevepeak/orgs","repos_url":"https://api.github.com/users/stevepeak/repos","events_url":"https://api.github.com/users/stevepeak/events{/privacy}","received_events_url":"https://api.github.com/users/stevepeak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codecov/support/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T16:45:17Z","updated_at":"2015-10-29T09:32:12Z","closed_at":"2015-10-29T09:32:12Z","body":"> Codecov's `project` status posted on Github reflects the entire projects coverage and passes/fails the build based on if the coverage is maintained or decreased, respectively.\r\n\r\nThe issue is be illustrated below: \r\n\r\n##### Commit\r\n```diff\r\n + line 1\r\n + line 2\r\n - line 2\r\n```\r\n> `+ == hit`, `- == miss`. Coverage is 66%\r\n\r\n##### Next commit\r\n```diff\r\n- + line 1\r\n + line 2\r\n - line 2\r\n```\r\n> Line 1 removed. Coverage is 50%\r\n\r\nThe `codecov/project` status **should** remain :white_check_mark: because coverage was maintained. Codecov needs to respect the coverage may decrease when previous covered lines are removed and lowing the overall coverage percentage."}}