diff --git a/requirements.txt b/requirements.txt index 437593381..32d6df2e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -251,7 +251,7 @@ s3transfer==0.3.4 # via boto3 sentry-sdk==1.19.1 # via -r requirements.in -shared @ git+ssh://git@github.com/codecov/shared.git@6a8a33248804a9c101d34f417efda7c11e4bbe63 +shared @ git+ssh://git@github.com/codecov/shared.git@4f65b0040ab6bb3dba2190ce544ade9a0ea3e354 # via -r requirements.in six==1.15.0 # via diff --git a/services/comparison/__init__.py b/services/comparison/__init__.py index c23051017..914cd7257 100644 --- a/services/comparison/__init__.py +++ b/services/comparison/__init__.py @@ -4,6 +4,12 @@ from shared.reports.changes import get_changes_using_rust, run_comparison_using_rust from shared.reports.types import Change +from shared.torngit.exceptions import ( + TorngitClientError, + TorngitClientGeneralError, + TorngitError, + TorngitObjectNotFoundError, +) from database.enums import CompareCommitState from database.models import CompareCommit @@ -162,25 +168,25 @@ async def get_behind_by(self): "Comparison does not have provider pull request information, unable to get behind_by" ) return None + branch_to_get = provider_pull["base"]["branch"] if self._branch is None: - branches = await self.repository_service.get_branches() - branch = [ - b for b in branches if b[0] == provider_pull["base"]["branch"] - ] - - if len(branch) == 0: + try: + branch_response = await self.repository_service.get_branch( + branch_to_get + ) + except TorngitClientGeneralError: log.warning( - "Unable to find branch in list of branches on repo", + "Unable to fetch base branch from Git provider", extra=dict( - branch=provider_pull["base"]["branch"], + branch=branch_to_get, ), ) return None - self._branch = branch + self._branch = branch_response distance = await self.repository_service.get_distance_in_commits( - self._branch[0][1], + self._branch["sha"], self.comparison.base.commit.commitid, with_commits=False, ) diff --git a/services/comparison/tests/unit/test_behind_by.py b/services/comparison/tests/unit/test_behind_by.py index 9674c6dcd..f2532f1f9 100644 --- a/services/comparison/tests/unit/test_behind_by.py +++ b/services/comparison/tests/unit/test_behind_by.py @@ -1,4 +1,5 @@ import pytest +from shared.torngit.exceptions import TorngitClientGeneralError from services.comparison import ComparisonProxy @@ -36,7 +37,11 @@ async def test_get_behind_by_no_provider_pull(self, mocker): @pytest.mark.asyncio async def test_get_behind_by_no_matching_branches(self, mocker, mock_repo_provider): - mock_repo_provider.get_branches.return_value = [] + mock_repo_provider.get_branch.side_effect = TorngitClientGeneralError( + 404, + None, + "Branch not found", + ) mocker.patch( "services.comparison.get_repo_provider_service", return_value=mock_repo_provider, diff --git a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify.yaml b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify.yaml index 825a1a728..8a4421905 100644 --- a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify.yaml +++ b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify.yaml @@ -189,29 +189,47 @@ interactions: method: POST uri: https://api.github.com/repos/ThiagoCodecov/example-python/issues/15/comments response: - content: "{\"url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/comments/570682170\",\"html_url\":\"https://github.com/ThiagoCodecov/example-python/pull/15#issuecomment-570682170\",\"issue_url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/15\",\"id\":570682170,\"node_id\":\"MDEyOklzc3VlQ29tbWVudDU3MDY4MjE3MA==\",\"user\":{\"login\":\"ThiagoCodecov\",\"id\":44376991,\"node_id\":\"MDQ6VXNlcjQ0Mzc2OTkx\",\"avatar_url\":\"https://avatars3.githubusercontent.com/u/44376991?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/ThiagoCodecov\",\"html_url\":\"https://github.com/ThiagoCodecov\",\"followers_url\":\"https://api.github.com/users/ThiagoCodecov/followers\",\"following_url\":\"https://api.github.com/users/ThiagoCodecov/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/ThiagoCodecov/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/ThiagoCodecov/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/ThiagoCodecov/subscriptions\",\"organizations_url\":\"https://api.github.com/users/ThiagoCodecov/orgs\",\"repos_url\":\"https://api.github.com/users/ThiagoCodecov/repos\",\"events_url\":\"https://api.github.com/users/ThiagoCodecov/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/ThiagoCodecov/received_events\",\"type\":\"User\",\"site_admin\":false},\"created_at\":\"2020-01-03T20:01:19Z\",\"updated_at\":\"2020-01-03T20:01:19Z\",\"author_association\":\"OWNER\",\"body\":\"# - [Codecov](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=h1) Report\\n> - Merging [#15](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=desc) into - [master](None/gh/ThiagoCodecov/example-python/commit/4535be18e90467d6d9a99c0ce651becec7f7eba6&el=desc) - will **increase** coverage by `10.00%`.\\n> The diff coverage is `n/a`.\\n\\n[![Impacted - file tree graph](None/gh/ThiagoCodecov/example-python/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=CJ00P0THAO)](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree)\\n\\n```diff\\n@@ - \ Coverage Diff @@\\n## master #15 +/- - \ ##\\n===========================================\\n+ Coverage 50.00% 60.00% - \ +10.00% \\n===========================================\\n Files 2 - \ 2 \\n Lines 6 10 +4 \\n Branches - \ 0 1 +1 \\n===========================================\\n+ - Hits 3 6 +3 \\n Misses 3 3 \\n- - Partials 0 1 +1 \\n```\\n\\n| Flag | Coverage \u0394 - | |\\n|---|---|---|\\n| #unit | `100.00% <\xF8> (?)` | |\\n\\n| [Impacted Files](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree) - | Coverage \u0394 | |\\n|---|---|---|\\n| [file\\\\_2.py](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree#diff-ZmlsZV8yLnB5) - | `50.00% <0.00%> (\xF8)` | :arrow_up: |\\n| [file\\\\_1.go](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree#diff-ZmlsZV8xLmdv) - | `62.50% <0.00%> (+12.50%)` | :arrow_up: |\\n\\n------\\n\\n[Continue to review - full report at Codecov](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=continue).\\n> - **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\\n> - `\u0394 = absolute (impact)`, `\xF8 = not affected`, `? = missing - data`\\n> Powered by [Codecov](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=footer). - Last update [d723f5c...2e2600a](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=lastupdated). - Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\\n\"}" + content: "{\"url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/comments/570682170\"\ + ,\"html_url\":\"https://github.com/ThiagoCodecov/example-python/pull/15#issuecomment-570682170\"\ + ,\"issue_url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/15\"\ + ,\"id\":570682170,\"node_id\":\"MDEyOklzc3VlQ29tbWVudDU3MDY4MjE3MA==\",\"user\"\ + :{\"login\":\"ThiagoCodecov\",\"id\":44376991,\"node_id\":\"MDQ6VXNlcjQ0Mzc2OTkx\"\ + ,\"avatar_url\":\"https://avatars3.githubusercontent.com/u/44376991?v=4\",\"\ + gravatar_id\":\"\",\"url\":\"https://api.github.com/users/ThiagoCodecov\",\"\ + html_url\":\"https://github.com/ThiagoCodecov\",\"followers_url\":\"https://api.github.com/users/ThiagoCodecov/followers\"\ + ,\"following_url\":\"https://api.github.com/users/ThiagoCodecov/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/ThiagoCodecov/gists{/gist_id}\"\ + ,\"starred_url\":\"https://api.github.com/users/ThiagoCodecov/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/ThiagoCodecov/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/ThiagoCodecov/orgs\",\"\ + repos_url\":\"https://api.github.com/users/ThiagoCodecov/repos\",\"events_url\"\ + :\"https://api.github.com/users/ThiagoCodecov/events{/privacy}\",\"received_events_url\"\ + :\"https://api.github.com/users/ThiagoCodecov/received_events\",\"type\":\"\ + User\",\"site_admin\":false},\"created_at\":\"2020-01-03T20:01:19Z\",\"updated_at\"\ + :\"2020-01-03T20:01:19Z\",\"author_association\":\"OWNER\",\"body\":\"# [Codecov](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=h1)\ + \ Report\\n> Merging [#15](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=desc)\ + \ into [master](None/gh/ThiagoCodecov/example-python/commit/4535be18e90467d6d9a99c0ce651becec7f7eba6&el=desc)\ + \ will **increase** coverage by `10.00%`.\\n> The diff coverage is `n/a`.\\\ + n\\n[![Impacted file tree graph](None/gh/ThiagoCodecov/example-python/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=CJ00P0THAO)](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## master\ + \ #15 +/- ##\\n===========================================\\n+\ + \ Coverage 50.00% 60.00% +10.00% \\n===========================================\\\ + n Files 2 2 \\n Lines 6 10\ + \ +4 \\n Branches 0 1 +1 \\n===========================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 3\ + \ \\n- Partials 0 1 +1 \\n```\\n\\n|\ + \ Flag | Coverage \u0394 | |\\n|---|---|---|\\n| #unit | `100.00% <\xF8> (?)`\ + \ | |\\n\\n| [Impacted Files](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree)\ + \ | Coverage \u0394 | |\\n|---|---|---|\\n| [file\\\\_2.py](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree#diff-ZmlsZV8yLnB5)\ + \ | `50.00% <0.00%> (\xF8)` | :arrow_up: |\\n| [file\\\\_1.go](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree#diff-ZmlsZV8xLmdv)\ + \ | `62.50% <0.00%> (+12.50%)` | :arrow_up: |\\n\\n------\\n\\n[Continue to\ + \ review full report at Codecov](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=continue).\\\ + n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\\\ + n> `\u0394 = absolute (impact)`, `\xF8 = not affected`, `? = missing\ + \ data`\\n> Powered by [Codecov](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=footer).\ + \ Last update [d723f5c...2e2600a](None/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=lastupdated).\ + \ Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\\\ + n\"}" headers: Access-Control-Allow-Origin: - '*' @@ -510,4 +528,433 @@ interactions: - '2022-11-28' http_version: HTTP/1.1 status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:5b174c2...joseph-sentry:5601846","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.patch","base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"ahead","ahead_by":1,"behind_by":0,"total_commits":1,"commits":[{"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","node_id":"C_kwDOJu7MkNoAKDU2MDE4NDY4NzFiODE0MmFiMGRmMWUwYjg3NzQ3NTZjNjU4YmNjN2Q","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:16:17Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:23:50Z"},"message":"make + change","tree":{"sha":"3ca6632aeb641e579bea4391294d9ebe55c062c7","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/3ca6632aeb641e579bea4391294d9ebe55c062c7"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQAmeUxSTgmd3FlcaYtRmVpuCh0n6L0/2Oy7wnsoGF6zjLoBO+aDz22vOG+bywNp4bc\nlmOl+Tu5Jk9woOhH2Olg8=\n-----END + SSH SIGNATURE-----","payload":"tree 3ca6632aeb641e579bea4391294d9ebe55c062c7\nparent + 5b174c2b40d501a70c479e91025d5109b1ad5c1b\nauthor joseph-sentry + 1692026177 -0400\ncommitter joseph-sentry 1692026630 + -0400\n\nmake change\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b"}]}],"files":[{"sha":"8664ca881cd0536ab32eac8dfee923a2b304167d","filename":"api/calculator/calculator.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/joseph-sentry/codecov-demo/blob/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","raw_url":"https://github.com/joseph-sentry/codecov-demo/raw/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/api%2Fcalculator%2Fcalculator.py?ref=5601846871b8142ab0df1e0b8774756c658bcc7d","patch":"@@ + -9,6 +9,4 @@ def multiply(x, y):\n return x * y\n \n def divide(x, + y):\n- if y == 0:\n- return ''Cannot divide by 0''\n- return + x * 1.0 / y\n\\ No newline at end of file\n+ return x * 1.0 / y"}]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:42 GMT + ETag: + - W/"3bcbc91ba2aac4e70b8b74075bc06a0b7436e42a61c15cd11f8c28af48d74080" + Last-Modified: + - Mon, 14 Aug 2023 15:23:50 GMT + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E726:5597:D48B2:1B1274:64EF8E1A + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4987' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '13' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main + response: + content: '{"name":"main","commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"_links":{"self":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main","html":"https://github.com/joseph-sentry/codecov-demo/tree/main"},"protected":false,"protection":{"enabled":false,"required_status_checks":{"enforcement_level":"off","contexts":[],"checks":[]}},"protection_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main/protection"}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:42 GMT + ETag: + - W/"28690f5aa55bcb187fc062a1ab6ad5901a1ccbe0225d6f96dacf712da8e22306" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E727:0526:134901:270CDD:64EF8E1A + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4986' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '14' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:38c2d02...joseph-sentry:5b174c2","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.patch","base_commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"behind","ahead_by":0,"behind_by":2,"total_commits":0,"commits":[],"files":[]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:42 GMT + ETag: + - W/"fb71dcba3dddf292e08598b556f7bcc763019abc6e1678ed3355d3d8ec57454f" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E728:44A9:1226D9:24CF0C:64EF8E1A + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4985' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '15' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '{"body": "## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell) + Report\n> Merging [#9](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell) + (5601846) into [main](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell) + (5b174c2) will **increase** coverage by `10.00%`.\n> Report is 2 commits behind + head on main.\n> The diff coverage is `n/a`.\n\n:exclamation: Your organization + is not using the GitHub App Integration. As a result you may experience degraded + service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) + for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\n\n[![Impacted + file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\n\n```diff\n@@ Coverage + Diff @@\n## main #9 +/- ##\n=============================================\n+ + Coverage 50.00% 60.00% +10.00% \n+ Complexity 11 10 -1 \n=============================================\n Files 2 2 \n Lines 6 10 +4 \n Branches 0 1 +1 \n=============================================\n+ + Hits 3 6 +3 \n Misses 3 3 \n- + Partials 0 1 +1 \n```\n\n| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell) + | Coverage \u0394 | Complexity \u0394 | |\n|---|---|---|---|\n| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell) + | `?` | `?` | |\n| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell) + | `100.00% <\u00f8> (?)` | `0.00 <\u00f8> (?)` | |\n\nFlags with carried forward + coverage won''t be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell#carryforward-flags-in-the-pull-request-comment) + to find out more.\n\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\n\n------\n\n[Continue + to review full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\n> + **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\n> + `\u0394 = absolute (impact)`, `\u00f8 = not affected`, `? = missing + data`\n> Powered by [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell). + Last update [5b174c2...5601846](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell). + Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\n"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '4719' + content-type: + - application/json + host: + - api.github.com + user-agent: + - Default + method: POST + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9/comments + response: + content: "{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669247\"\ + ,\"html_url\":\"https://github.com/joseph-sentry/codecov-demo/pull/9#issuecomment-1699669247\"\ + ,\"issue_url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9\"\ + ,\"id\":1699669247,\"node_id\":\"IC_kwDOJu7MkM5lTuT_\",\"user\":{\"login\":\"\ + joseph-sentry\",\"id\":136376984,\"node_id\":\"U_kgDOCCDymA\",\"avatar_url\"\ + :\"https://avatars.githubusercontent.com/u/136376984?u=8154f2067e6b4966acba9c27358d6e49cfbbf45d&v=4\"\ + ,\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/joseph-sentry\"\ + ,\"html_url\":\"https://github.com/joseph-sentry\",\"followers_url\":\"https://api.github.com/users/joseph-sentry/followers\"\ + ,\"following_url\":\"https://api.github.com/users/joseph-sentry/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/joseph-sentry/gists{/gist_id}\"\ + ,\"starred_url\":\"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/joseph-sentry/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/joseph-sentry/orgs\",\"\ + repos_url\":\"https://api.github.com/users/joseph-sentry/repos\",\"events_url\"\ + :\"https://api.github.com/users/joseph-sentry/events{/privacy}\",\"received_events_url\"\ + :\"https://api.github.com/users/joseph-sentry/received_events\",\"type\":\"\ + User\",\"site_admin\":false},\"created_at\":\"2023-08-30T18:44:43Z\",\"updated_at\"\ + :\"2023-08-30T18:44:43Z\",\"author_association\":\"OWNER\",\"body\":\"## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\ + \ Report\\n> Merging [#9](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\ + \ (5601846) into [main](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\ + \ (5b174c2) will **increase** coverage by `10.00%`.\\n> Report is 2 commits\ + \ behind head on main.\\n> The diff coverage is `n/a`.\\n\\n:exclamation: Your\ + \ organization is not using the GitHub App Integration. As a result you may\ + \ experience degraded service beginning May 15th. Please [install the GitHub\ + \ App Integration](https://github.com/apps/codecov) for your organization. [Read\ + \ more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\\\ + n\\n[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## \ + \ main #9 +/- ##\\n=============================================\\\ + n+ Coverage 50.00% 60.00% +10.00% \\n+ Complexity 11 \ + \ 10 -1 \\n=============================================\\n Files\ + \ 2 2 \\n Lines 6 10 \ + \ +4 \\n Branches 0 1 +1 \\n=============================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 \ + \ 3 \\n- Partials 0 1 +1 \\n```\\\ + n\\n| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\ + \ | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\ + \ | `?` | `?` | |\\n| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\ + \ | `100.00% <\xF8> (?)` | `0.00 <\xF8> (?)` | |\\n\\nFlags with carried forward\ + \ coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\\\ + n\\n------\\n\\n[Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\\\ + n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell)\\\ + n> `\u0394 = absolute (impact)`, `\xF8 = not affected`, `? = missing\ + \ data`\\n> Powered by [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\ + \ Last update [5b174c2...5601846](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\ + \ Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Mitchell).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669247/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Length: + - '6356' + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:43 GMT + ETag: + - '"a3267b6fdb96428f156fb276116e0b4c918da9a371be840fc5573f132fbe1dbe"' + Location: + - https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669247 + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E72A:35CC:109BE2:21B617:64EF8E1B + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4984' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '16' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 201 version: 1 diff --git a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_gitlab.yaml b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_gitlab.yaml index a209cff38..4840cdb66 100644 --- a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_gitlab.yaml +++ b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_gitlab.yaml @@ -197,29 +197,60 @@ interactions: method: POST uri: https://gitlab.com/api/v4/projects/47404140/merge_requests/1/notes response: - content: "{\"id\":1457135397,\"type\":null,\"body\":\"## [Codecov](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\u0026el=h1\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French) - Report\\n\\u003e Merging [#1](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\u0026el=desc\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French) - (0b6a213) into [main](https://app.codecov.io/gl/joseph-sentry/example-python/commit/0fc784af11c401449e56b24a174bae7b9af86c98?el=desc\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French) - (0fc784a) will **increase** coverage by `10.00%`.\\n\\u003e The diff coverage - is `n/a`.\\n\\n[![Impacted file tree graph](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1/graphs/tree.svg?width=650\\u0026height=150\\u0026src=pr\\u0026token=abcdefghij\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French)](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\u0026el=tree\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French)\\n\\n```diff\\n@@ - \ Coverage Diff @@\\n## main #1 - \ +/- ##\\n=============================================\\n+ Coverage - \ 50.00% 60.00% +10.00% \\n+ Complexity 11 10 -1 - \ \\n=============================================\\n Files 2 - \ 2 \\n Lines 6 10 +4 \\n - \ Branches 0 1 +1 \\n=============================================\\n+ - Hits 3 6 +3 \\n Misses 3 3 - \ \\n- Partials 0 1 +1 \\n```\\n\\n| - Flag | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| integration - | `?` | `?` | |\\n| unit | `100.00% \\u003c\xF8\\u003e (?)` | `0.00 \\u003c\xF8\\u003e - (?)` | |\\n\\nFlags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French#carryforward-flags-in-the-pull-request-comment) - to find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1/indirect-changes?src=pr\\u0026el=tree-more\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French)\\n\\n------\\n\\n[Continue - to review full report in Codecov by Sentry](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\u0026el=continue\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French).\\n\\u003e - **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French)\\n\\u003e - `\u0394 = absolute \\u003crelative\\u003e (impact)`, `\xF8 = not affected`, - `? = missing data`\\n\\u003e Powered by [Codecov](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\u0026el=footer\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French). - Last update [0fc784a...0b6a213](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\u0026el=lastupdated\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French). - Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French).\",\"attachment\":null,\"author\":{\"id\":15014576,\"username\":\"joseph-sentry\",\"name\":\"joseph-sentry\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/b8db468edebbae1ffa228d3095c230c5?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/joseph-sentry\"},\"created_at\":\"2023-07-04T17:54:03.693Z\",\"updated_at\":\"2023-07-04T17:54:03.693Z\",\"system\":false,\"noteable_id\":234535703,\"noteable_type\":\"MergeRequest\",\"project_id\":47404140,\"resolvable\":false,\"confidential\":false,\"internal\":false,\"noteable_iid\":1,\"commands_changes\":{}}" + content: "{\"id\":1457135397,\"type\":null,\"body\":\"## [Codecov](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\\ + u0026el=h1\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French) Report\\n\\u003e Merging\ + \ [#1](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\\ + u0026el=desc\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French) (0b6a213) into [main](https://app.codecov.io/gl/joseph-sentry/example-python/commit/0fc784af11c401449e56b24a174bae7b9af86c98?el=desc\\\ + u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French) (0fc784a) will **increase**\ + \ coverage by `10.00%`.\\n\\u003e The diff coverage is `n/a`.\\n\\n[![Impacted\ + \ file tree graph](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1/graphs/tree.svg?width=650\\\ + u0026height=150\\u0026src=pr\\u0026token=abcdefghij\\u0026utm_medium=referral\\\ + u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\\ + u0026utm_term=Gina+French)](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\\ + u0026el=tree\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French)\\n\\n```diff\\n@@\ + \ Coverage Diff @@\\n## main #1\ + \ +/- ##\\n=============================================\\n+ Coverage\ + \ 50.00% 60.00% +10.00% \\n+ Complexity 11 10 \ + \ -1 \\n=============================================\\n Files \ + \ 2 2 \\n Lines 6 10 +4\ + \ \\n Branches 0 1 +1 \\n=============================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 \ + \ 3 \\n- Partials 0 1 +1 \\n```\\\ + n\\n| Flag | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n|\ + \ integration | `?` | `?` | |\\n| unit | `100.00% \\u003c\xF8\\u003e (?)` |\ + \ `0.00 \\u003c\xF8\\u003e (?)` | |\\n\\nFlags with carried forward coverage\ + \ won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral\\\ + u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\\ + u0026utm_term=Gina+French#carryforward-flags-in-the-pull-request-comment) to\ + \ find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1/indirect-changes?src=pr\\\ + u0026el=tree-more\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French)\\n\\n------\\n\\n[Continue\ + \ to review full report in Codecov by Sentry](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\\ + u0026el=continue\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French).\\n\\u003e **Legend**\ + \ - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral\\\ + u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\\ + u0026utm_term=Gina+French)\\n\\u003e `\u0394 = absolute \\u003crelative\\u003e\ + \ (impact)`, `\xF8 = not affected`, `? = missing data`\\n\\u003e Powered by\ + \ [Codecov](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\\ + u0026el=footer\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French). Last update [0fc784a...0b6a213](https://app.codecov.io/gl/joseph-sentry/example-python/pull/1?src=pr\\\ + u0026el=lastupdated\\u0026utm_medium=referral\\u0026utm_source=gitlab\\u0026utm_content=comment\\\ + u0026utm_campaign=pr+comments\\u0026utm_term=Gina+French). Read the [comment\ + \ docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral\\\ + u0026utm_source=gitlab\\u0026utm_content=comment\\u0026utm_campaign=pr+comments\\\ + u0026utm_term=Gina+French).\",\"attachment\":null,\"author\":{\"id\":15014576,\"\ + username\":\"joseph-sentry\",\"name\":\"joseph-sentry\",\"state\":\"active\"\ + ,\"avatar_url\":\"https://secure.gravatar.com/avatar/b8db468edebbae1ffa228d3095c230c5?s=80\\\ + u0026d=identicon\",\"web_url\":\"https://gitlab.com/joseph-sentry\"},\"created_at\"\ + :\"2023-07-04T17:54:03.693Z\",\"updated_at\":\"2023-07-04T17:54:03.693Z\",\"\ + system\":false,\"noteable_id\":234535703,\"noteable_type\":\"MergeRequest\"\ + ,\"project_id\":47404140,\"resolvable\":false,\"confidential\":false,\"internal\"\ + :false,\"noteable_iid\":1,\"commands_changes\":{}}" headers: CF-Cache-Status: - DYNAMIC @@ -270,4 +301,79 @@ interactions: - '0.228506' http_version: HTTP/1.1 status_code: 201 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - gitlab.com + user-agent: + - Default + method: GET + uri: https://gitlab.com/api/v4/projects/47404140/repository/branches/main + response: + content: '{"message":"401 Unauthorized"}' + headers: + CF-Cache-Status: + - MISS + CF-RAY: + - 7fef2fd0182436fe-YYZ + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '30' + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Date: + - Wed, 30 Aug 2023 18:44:44 GMT + GitLab-LB: + - fe-05-lb-gprd + GitLab-SV: + - localhost + NEL: + - '{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}' + RateLimit-Limit: + - '2000' + RateLimit-Observed: + - '2' + RateLimit-Remaining: + - '1998' + RateLimit-Reset: + - '1693421144' + RateLimit-ResetTime: + - Wed, 30 Aug 2023 18:45:44 GMT + Referrer-Policy: + - strict-origin-when-cross-origin + Report-To: + - '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=lBgieih4yF%2BSFqCVeTidu8Y1w18hb7BV63ktECkxzQPrULx2APCFXvtqQDV6ZmRnfTxppDY%2F15MRyjs064ja6G4RylNKxJlsQ8C7GUpx67j3H%2BfnNW7ugAHn574%3D"}],"group":"cf-nel","max_age":604800}' + Server: + - cloudflare + Set-Cookie: + - _cfuvid=0RVizv.CnCUUI1sQDhOigxGHiJY1v6BbpkmTQn7RUNM-1693421084336-0-604800000; + path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Origin, Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-Gitlab-Meta: + - '{"correlation_id":"0a55ef3f31f3613df4edf90f82a78c20","version":"1"}' + X-Request-Id: + - 0a55ef3f31f3613df4edf90f82a78c20 + X-Runtime: + - '0.034387' + http_version: HTTP/1.1 + status_code: 401 version: 1 diff --git a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_new_layout.yaml b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_new_layout.yaml index c918cbde7..fdcd8b6e3 100644 --- a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_new_layout.yaml +++ b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_new_layout.yaml @@ -130,30 +130,50 @@ interactions: method: POST uri: https://api.github.com/repos/ThiagoCodecov/example-python/issues/15/comments response: - content: "{\"url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/comments/1620423805\",\"html_url\":\"https://github.com/ThiagoCodecov/example-python/pull/15#issuecomment-1620423805\",\"issue_url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/15\",\"id\":1620423805,\"node_id\":\"IC_kwDOCVXMMc5glbR9\",\"user\":{\"login\":\"joseph-sentry\",\"id\":136376984,\"node_id\":\"U_kgDOCCDymA\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/136376984?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/joseph-sentry\",\"html_url\":\"https://github.com/joseph-sentry\",\"followers_url\":\"https://api.github.com/users/joseph-sentry/followers\",\"following_url\":\"https://api.github.com/users/joseph-sentry/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/joseph-sentry/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/joseph-sentry/subscriptions\",\"organizations_url\":\"https://api.github.com/users/joseph-sentry/orgs\",\"repos_url\":\"https://api.github.com/users/joseph-sentry/repos\",\"events_url\":\"https://api.github.com/users/joseph-sentry/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/joseph-sentry/received_events\",\"type\":\"User\",\"site_admin\":false},\"created_at\":\"2023-07-04T15:10:22Z\",\"updated_at\":\"2023-07-04T15:10:22Z\",\"author_association\":\"NONE\",\"body\":\"## - [Codecov](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper) - Report\\nPatch coverage has no change and project coverage change: **`+10.00%`** - :tada:\\n> Comparison is base [(`4535be1`)](https://app.codecov.io/gh/ThiagoCodecov/example-python/commit/4535be18e90467d6d9a99c0ce651becec7f7eba6?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper) - 50.00% compared to head [(`2e2600a`)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper) - 60.00%.\\n\\n:exclamation: Your organization is not using the GitHub App Integration. - As a result you may experience degraded service beginning May 15th. Please [install - the GitHub App Integration](https://github.com/apps/codecov) for your organization. - [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper).\\n\\n
Additional - details and impacted files\\n\\n\\n[![Impacted file tree graph](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\\n\\n```diff\\n@@ - \ Coverage Diff @@\\n## master #15 - \ +/- ##\\n=============================================\\n+ Coverage - \ 50.00% 60.00% +10.00% \\n+ Complexity 11 10 -1 - \ \\n=============================================\\n Files 2 - \ 2 \\n Lines 6 10 +4 \\n - \ Branches 0 1 +1 \\n=============================================\\n+ - Hits 3 6 +3 \\n Misses 3 3 - \ \\n- Partials 0 1 +1 \\n```\\n\\n| - Flag | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| integration - | `?` | `?` | |\\n| unit | `100.00% <\xF8> (?)` | `0.00 <\xF8> (?)` | |\\n\\nFlags - with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper#carryforward-flags-in-the-pull-request-comment) - to find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\\n\\n
\\n\\n[:umbrella: - View full report in Codecov by Sentry](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper). - \ \\n:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper).\\n\",\"reactions\":{\"url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/comments/1620423805/reactions\",\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + content: "{\"url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/comments/1620423805\"\ + ,\"html_url\":\"https://github.com/ThiagoCodecov/example-python/pull/15#issuecomment-1620423805\"\ + ,\"issue_url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/15\"\ + ,\"id\":1620423805,\"node_id\":\"IC_kwDOCVXMMc5glbR9\",\"user\":{\"login\":\"\ + joseph-sentry\",\"id\":136376984,\"node_id\":\"U_kgDOCCDymA\",\"avatar_url\"\ + :\"https://avatars.githubusercontent.com/u/136376984?v=4\",\"gravatar_id\":\"\ + \",\"url\":\"https://api.github.com/users/joseph-sentry\",\"html_url\":\"https://github.com/joseph-sentry\"\ + ,\"followers_url\":\"https://api.github.com/users/joseph-sentry/followers\"\ + ,\"following_url\":\"https://api.github.com/users/joseph-sentry/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/joseph-sentry/gists{/gist_id}\"\ + ,\"starred_url\":\"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/joseph-sentry/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/joseph-sentry/orgs\",\"\ + repos_url\":\"https://api.github.com/users/joseph-sentry/repos\",\"events_url\"\ + :\"https://api.github.com/users/joseph-sentry/events{/privacy}\",\"received_events_url\"\ + :\"https://api.github.com/users/joseph-sentry/received_events\",\"type\":\"\ + User\",\"site_admin\":false},\"created_at\":\"2023-07-04T15:10:22Z\",\"updated_at\"\ + :\"2023-07-04T15:10:22Z\",\"author_association\":\"NONE\",\"body\":\"## [Codecov](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\ + \ Report\\nPatch coverage has no change and project coverage change: **`+10.00%`**\ + \ :tada:\\n> Comparison is base [(`4535be1`)](https://app.codecov.io/gh/ThiagoCodecov/example-python/commit/4535be18e90467d6d9a99c0ce651becec7f7eba6?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\ + \ 50.00% compared to head [(`2e2600a`)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\ + \ 60.00%.\\n\\n:exclamation: Your organization is not using the GitHub App Integration.\ + \ As a result you may experience degraded service beginning May 15th. Please\ + \ [install the GitHub App Integration](https://github.com/apps/codecov) for\ + \ your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper).\\\ + n\\n
Additional details and impacted files\\n\\n\\\ + n[![Impacted file tree graph](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## \ + \ master #15 +/- ##\\n=============================================\\\ + n+ Coverage 50.00% 60.00% +10.00% \\n+ Complexity 11 \ + \ 10 -1 \\n=============================================\\n Files\ + \ 2 2 \\n Lines 6 10 \ + \ +4 \\n Branches 0 1 +1 \\n=============================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 \ + \ 3 \\n- Partials 0 1 +1 \\n```\\\ + n\\n| Flag | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n|\ + \ integration | `?` | `?` | |\\n| unit | `100.00% <\xF8> (?)` | `0.00 <\xF8\ + > (?)` | |\\n\\nFlags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper)\\\ + n\\n
\\n\\n[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper).\ + \ \\n:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vernon+Cooper).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/ThiagoCodecov/example-python/issues/comments/1620423805/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" headers: Access-Control-Allow-Origin: - '*' @@ -376,4 +396,426 @@ interactions: - '2022-11-28' http_version: HTTP/1.1 status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:5b174c2...joseph-sentry:5601846","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.patch","base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"ahead","ahead_by":1,"behind_by":0,"total_commits":1,"commits":[{"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","node_id":"C_kwDOJu7MkNoAKDU2MDE4NDY4NzFiODE0MmFiMGRmMWUwYjg3NzQ3NTZjNjU4YmNjN2Q","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:16:17Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:23:50Z"},"message":"make + change","tree":{"sha":"3ca6632aeb641e579bea4391294d9ebe55c062c7","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/3ca6632aeb641e579bea4391294d9ebe55c062c7"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQAmeUxSTgmd3FlcaYtRmVpuCh0n6L0/2Oy7wnsoGF6zjLoBO+aDz22vOG+bywNp4bc\nlmOl+Tu5Jk9woOhH2Olg8=\n-----END + SSH SIGNATURE-----","payload":"tree 3ca6632aeb641e579bea4391294d9ebe55c062c7\nparent + 5b174c2b40d501a70c479e91025d5109b1ad5c1b\nauthor joseph-sentry + 1692026177 -0400\ncommitter joseph-sentry 1692026630 + -0400\n\nmake change\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b"}]}],"files":[{"sha":"8664ca881cd0536ab32eac8dfee923a2b304167d","filename":"api/calculator/calculator.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/joseph-sentry/codecov-demo/blob/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","raw_url":"https://github.com/joseph-sentry/codecov-demo/raw/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/api%2Fcalculator%2Fcalculator.py?ref=5601846871b8142ab0df1e0b8774756c658bcc7d","patch":"@@ + -9,6 +9,4 @@ def multiply(x, y):\n return x * y\n \n def divide(x, + y):\n- if y == 0:\n- return ''Cannot divide by 0''\n- return + x * 1.0 / y\n\\ No newline at end of file\n+ return x * 1.0 / y"}]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:44 GMT + ETag: + - W/"3bcbc91ba2aac4e70b8b74075bc06a0b7436e42a61c15cd11f8c28af48d74080" + Last-Modified: + - Mon, 14 Aug 2023 15:23:50 GMT + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E72C:7693:10E3C0:22520F:64EF8E1C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4983' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '17' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main + response: + content: '{"name":"main","commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"_links":{"self":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main","html":"https://github.com/joseph-sentry/codecov-demo/tree/main"},"protected":false,"protection":{"enabled":false,"required_status_checks":{"enforcement_level":"off","contexts":[],"checks":[]}},"protection_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main/protection"}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:44 GMT + ETag: + - W/"28690f5aa55bcb187fc062a1ab6ad5901a1ccbe0225d6f96dacf712da8e22306" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E72D:052A:11B090:23E126:64EF8E1C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4982' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '18' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:38c2d02...joseph-sentry:5b174c2","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.patch","base_commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"behind","ahead_by":0,"behind_by":2,"total_commits":0,"commits":[],"files":[]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:45 GMT + ETag: + - W/"fb71dcba3dddf292e08598b556f7bcc763019abc6e1678ed3355d3d8ec57454f" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E72E:16C4:FF10B:20679C:64EF8E1C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4981' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '19' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '{"body": "## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD) + Report\nPatch coverage has no change and project coverage change: **`+10.00%`** + :tada:\n> Comparison is base [(`5b174c2`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD) + 50.00% compared to head [(`5601846`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD) + 60.00%.\n> Report is 2 commits behind head on main.\n\n:exclamation: Your organization + is not using the GitHub App Integration. As a result you may experience degraded + service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) + for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD).\n\n
Additional + details and impacted files\n\n\n[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\n\n```diff\n@@ Coverage + Diff @@\n## main #9 +/- ##\n=============================================\n+ + Coverage 50.00% 60.00% +10.00% \n+ Complexity 11 10 -1 \n=============================================\n Files 2 2 \n Lines 6 10 +4 \n Branches 0 1 +1 \n=============================================\n+ + Hits 3 6 +3 \n Misses 3 3 \n- + Partials 0 1 +1 \n```\n\n| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD) + | Coverage \u0394 | Complexity \u0394 | |\n|---|---|---|---|\n| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD) + | `?` | `?` | |\n| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD) + | `100.00% <\u00f8> (?)` | `0.00 <\u00f8> (?)` | |\n\nFlags with carried forward + coverage won''t be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD#carryforward-flags-in-the-pull-request-comment) + to find out more.\n\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\n\n
\n\n[:umbrella: + View full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD). \n:loudspeaker: + Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD).\n"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '4148' + content-type: + - application/json + host: + - api.github.com + user-agent: + - Default + method: POST + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9/comments + response: + content: "{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669290\"\ + ,\"html_url\":\"https://github.com/joseph-sentry/codecov-demo/pull/9#issuecomment-1699669290\"\ + ,\"issue_url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9\"\ + ,\"id\":1699669290,\"node_id\":\"IC_kwDOJu7MkM5lTuUq\",\"user\":{\"login\":\"\ + joseph-sentry\",\"id\":136376984,\"node_id\":\"U_kgDOCCDymA\",\"avatar_url\"\ + :\"https://avatars.githubusercontent.com/u/136376984?u=8154f2067e6b4966acba9c27358d6e49cfbbf45d&v=4\"\ + ,\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/joseph-sentry\"\ + ,\"html_url\":\"https://github.com/joseph-sentry\",\"followers_url\":\"https://api.github.com/users/joseph-sentry/followers\"\ + ,\"following_url\":\"https://api.github.com/users/joseph-sentry/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/joseph-sentry/gists{/gist_id}\"\ + ,\"starred_url\":\"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/joseph-sentry/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/joseph-sentry/orgs\",\"\ + repos_url\":\"https://api.github.com/users/joseph-sentry/repos\",\"events_url\"\ + :\"https://api.github.com/users/joseph-sentry/events{/privacy}\",\"received_events_url\"\ + :\"https://api.github.com/users/joseph-sentry/received_events\",\"type\":\"\ + User\",\"site_admin\":false},\"created_at\":\"2023-08-30T18:44:45Z\",\"updated_at\"\ + :\"2023-08-30T18:44:45Z\",\"author_association\":\"OWNER\",\"body\":\"## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\ + \ Report\\nPatch coverage has no change and project coverage change: **`+10.00%`**\ + \ :tada:\\n> Comparison is base [(`5b174c2`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\ + \ 50.00% compared to head [(`5601846`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\ + \ 60.00%.\\n> Report is 2 commits behind head on main.\\n\\n:exclamation: Your\ + \ organization is not using the GitHub App Integration. As a result you may\ + \ experience degraded service beginning May 15th. Please [install the GitHub\ + \ App Integration](https://github.com/apps/codecov) for your organization. [Read\ + \ more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD).\\\ + n\\n
Additional details and impacted files\\n\\n\\\ + n[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## \ + \ main #9 +/- ##\\n=============================================\\\ + n+ Coverage 50.00% 60.00% +10.00% \\n+ Complexity 11 \ + \ 10 -1 \\n=============================================\\n Files\ + \ 2 2 \\n Lines 6 10 \ + \ +4 \\n Branches 0 1 +1 \\n=============================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 \ + \ 3 \\n- Partials 0 1 +1 \\n```\\\ + n\\n| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\ + \ | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\ + \ | `?` | `?` | |\\n| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\ + \ | `100.00% <\xF8> (?)` | `0.00 <\xF8> (?)` | |\\n\\nFlags with carried forward\ + \ coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD)\\\ + n\\n
\\n\\n[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD).\ + \ \\n:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tara+Grant+MD).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669290/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Length: + - '5793' + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:45 GMT + ETag: + - '"69ff846c9b55de3f6af22231c0b2754e020dda53e7d719ba917e41faf23d5f4d"' + Location: + - https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669290 + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E730:2F64:165FAC:2D5DB0:64EF8E1D + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4980' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '20' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 201 version: 1 diff --git a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_with_components.yaml b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_with_components.yaml index 0e966e030..8775ec3d1 100644 --- a/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_with_components.yaml +++ b/services/notification/notifiers/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify_with_components.yaml @@ -129,31 +129,51 @@ interactions: method: POST uri: https://api.github.com/repos/codecove2e/example-python/issues/4/comments response: - content: "{\"url\":\"https://api.github.com/repos/codecove2e/example-python/issues/comments/1253851153\",\"html_url\":\"https://github.com/codecove2e/example-python/pull/4#issuecomment-1253851153\",\"issue_url\":\"https://api.github.com/repos/codecove2e/example-python/issues/4\",\"id\":1253851153,\"node_id\":\"IC_kwDOHrbKcs5KvEAR\",\"user\":{\"login\":\"codecove2e\",\"id\":93560619,\"node_id\":\"U_kgDOBZOfKw\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/93560619?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/codecove2e\",\"html_url\":\"https://github.com/codecove2e\",\"followers_url\":\"https://api.github.com/users/codecove2e/followers\",\"following_url\":\"https://api.github.com/users/codecove2e/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/codecove2e/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/codecove2e/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/codecove2e/subscriptions\",\"organizations_url\":\"https://api.github.com/users/codecove2e/orgs\",\"repos_url\":\"https://api.github.com/users/codecove2e/repos\",\"events_url\":\"https://api.github.com/users/codecove2e/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/codecove2e/received_events\",\"type\":\"User\",\"site_admin\":false},\"created_at\":\"2022-09-21T15:11:06Z\",\"updated_at\":\"2022-09-21T15:11:06Z\",\"author_association\":\"OWNER\",\"body\":\"## - [Codecov](None/gh/codecove2e/example-python/pull/4?src=pr&el=h1) Report\\nBase: - **50.00**% // Head: **60.00**% // Increases project coverage by **`+10.00%`** - :tada:\\n> Coverage data is based on head [(`8589c19`)](None/gh/codecove2e/example-python/pull/4?src=pr&el=desc) - compared to base [(`93189ce`)](None/gh/codecove2e/example-python/commit/93189ce50f224296d6412e2884b93dcc3c7c8654?el=desc).\\n> - Patch has no changes to coverable lines.\\n\\n
Additional details - and impacted files\\n\\n\\n[![Impacted file tree graph](None/gh/codecove2e/example-python/pull/4/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree)\\n\\n```diff\\n@@ - \ Coverage Diff @@\\n## master #4 - \ +/- ##\\n=============================================\\n+ Coverage - \ 50.00% 60.00% +10.00% \\n+ Complexity 11 10 -1 - \ \\n=============================================\\n Files 2 - \ 2 \\n Lines 6 10 +4 \\n - \ Branches 0 1 +1 \\n=============================================\\n+ - Hits 3 6 +3 \\n Misses 3 3 - \ \\n- Partials 0 1 +1 \\n```\\n\\n| - Flag | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| integration - | `?` | `?` | |\\n| unit | `100.00% <\xF8> (?)` | `0.00 <\xF8> (?)` | |\\n\\nFlags - with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Molly+Taylor#carryforward-flags-in-the-pull-request-comment) - to find out more.\\n\\n| [Impacted Files](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree) - | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| [file\\\\_2.py](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree#diff-ZmlsZV8yLnB5) - | `50.00% <0.00%> (\xF8)` | `0.00% <0.00%> (\xF8%)` | |\\n| [file\\\\_1.go](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree#diff-ZmlsZV8xLmdv) - | `62.50% <0.00%> (+12.50%)` | `10.00% <0.00%> (-1.00%)` | :arrow_up: |\\n\\n
\\n\\n[:umbrella: - View full report in Codecov by Sentry](None/gh/codecove2e/example-python/pull/4?src=pr&el=continue). - \ \\n:loudspeaker: Do you have feedback about the report comment? [Let us know - in this issue](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Molly+Taylor).\\n\",\"reactions\":{\"url\":\"https://api.github.com/repos/codecove2e/example-python/issues/comments/1253851153/reactions\",\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + content: "{\"url\":\"https://api.github.com/repos/codecove2e/example-python/issues/comments/1253851153\"\ + ,\"html_url\":\"https://github.com/codecove2e/example-python/pull/4#issuecomment-1253851153\"\ + ,\"issue_url\":\"https://api.github.com/repos/codecove2e/example-python/issues/4\"\ + ,\"id\":1253851153,\"node_id\":\"IC_kwDOHrbKcs5KvEAR\",\"user\":{\"login\":\"\ + codecove2e\",\"id\":93560619,\"node_id\":\"U_kgDOBZOfKw\",\"avatar_url\":\"\ + https://avatars.githubusercontent.com/u/93560619?v=4\",\"gravatar_id\":\"\"\ + ,\"url\":\"https://api.github.com/users/codecove2e\",\"html_url\":\"https://github.com/codecove2e\"\ + ,\"followers_url\":\"https://api.github.com/users/codecove2e/followers\",\"\ + following_url\":\"https://api.github.com/users/codecove2e/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/codecove2e/gists{/gist_id}\",\"\ + starred_url\":\"https://api.github.com/users/codecove2e/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/codecove2e/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/codecove2e/orgs\",\"repos_url\"\ + :\"https://api.github.com/users/codecove2e/repos\",\"events_url\":\"https://api.github.com/users/codecove2e/events{/privacy}\"\ + ,\"received_events_url\":\"https://api.github.com/users/codecove2e/received_events\"\ + ,\"type\":\"User\",\"site_admin\":false},\"created_at\":\"2022-09-21T15:11:06Z\"\ + ,\"updated_at\":\"2022-09-21T15:11:06Z\",\"author_association\":\"OWNER\",\"\ + body\":\"## [Codecov](None/gh/codecove2e/example-python/pull/4?src=pr&el=h1)\ + \ Report\\nBase: **50.00**% // Head: **60.00**% // Increases project coverage\ + \ by **`+10.00%`** :tada:\\n> Coverage data is based on head [(`8589c19`)](None/gh/codecove2e/example-python/pull/4?src=pr&el=desc)\ + \ compared to base [(`93189ce`)](None/gh/codecove2e/example-python/commit/93189ce50f224296d6412e2884b93dcc3c7c8654?el=desc).\\\ + n> Patch has no changes to coverable lines.\\n\\n
Additional\ + \ details and impacted files\\n\\n\\n[![Impacted file tree graph](None/gh/codecove2e/example-python/pull/4/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## \ + \ master #4 +/- ##\\n=============================================\\\ + n+ Coverage 50.00% 60.00% +10.00% \\n+ Complexity 11 \ + \ 10 -1 \\n=============================================\\n Files\ + \ 2 2 \\n Lines 6 10 \ + \ +4 \\n Branches 0 1 +1 \\n=============================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 \ + \ 3 \\n- Partials 0 1 +1 \\n```\\\ + n\\n| Flag | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n|\ + \ integration | `?` | `?` | |\\n| unit | `100.00% <\xF8> (?)` | `0.00 <\xF8\ + > (?)` | |\\n\\nFlags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Molly+Taylor#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n| [Impacted Files](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree)\ + \ | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| [file\\\\\ + _2.py](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree#diff-ZmlsZV8yLnB5)\ + \ | `50.00% <0.00%> (\xF8)` | `0.00% <0.00%> (\xF8%)` | |\\n| [file\\\\_1.go](None/gh/codecove2e/example-python/pull/4?src=pr&el=tree#diff-ZmlsZV8xLmdv)\ + \ | `62.50% <0.00%> (+12.50%)` | `10.00% <0.00%> (-1.00%)` | :arrow_up: |\\\ + n\\n
\\n\\n[:umbrella: View full report in Codecov by Sentry](None/gh/codecove2e/example-python/pull/4?src=pr&el=continue).\ + \ \\n:loudspeaker: Do you have feedback about the report comment? [Let us\ + \ know in this issue](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Molly+Taylor).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/codecove2e/example-python/issues/comments/1253851153/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" headers: Access-Control-Allow-Origin: - '*' @@ -375,4 +395,432 @@ interactions: - '2022-11-28' http_version: HTTP/1.1 status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:5b174c2...joseph-sentry:5601846","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.patch","base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"ahead","ahead_by":1,"behind_by":0,"total_commits":1,"commits":[{"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","node_id":"C_kwDOJu7MkNoAKDU2MDE4NDY4NzFiODE0MmFiMGRmMWUwYjg3NzQ3NTZjNjU4YmNjN2Q","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:16:17Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:23:50Z"},"message":"make + change","tree":{"sha":"3ca6632aeb641e579bea4391294d9ebe55c062c7","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/3ca6632aeb641e579bea4391294d9ebe55c062c7"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQAmeUxSTgmd3FlcaYtRmVpuCh0n6L0/2Oy7wnsoGF6zjLoBO+aDz22vOG+bywNp4bc\nlmOl+Tu5Jk9woOhH2Olg8=\n-----END + SSH SIGNATURE-----","payload":"tree 3ca6632aeb641e579bea4391294d9ebe55c062c7\nparent + 5b174c2b40d501a70c479e91025d5109b1ad5c1b\nauthor joseph-sentry + 1692026177 -0400\ncommitter joseph-sentry 1692026630 + -0400\n\nmake change\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b"}]}],"files":[{"sha":"8664ca881cd0536ab32eac8dfee923a2b304167d","filename":"api/calculator/calculator.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/joseph-sentry/codecov-demo/blob/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","raw_url":"https://github.com/joseph-sentry/codecov-demo/raw/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/api%2Fcalculator%2Fcalculator.py?ref=5601846871b8142ab0df1e0b8774756c658bcc7d","patch":"@@ + -9,6 +9,4 @@ def multiply(x, y):\n return x * y\n \n def divide(x, + y):\n- if y == 0:\n- return ''Cannot divide by 0''\n- return + x * 1.0 / y\n\\ No newline at end of file\n+ return x * 1.0 / y"}]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:46 GMT + ETag: + - W/"3bcbc91ba2aac4e70b8b74075bc06a0b7436e42a61c15cd11f8c28af48d74080" + Last-Modified: + - Mon, 14 Aug 2023 15:23:50 GMT + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E731:28BF:EE6EF:1E528B:64EF8E1E + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4979' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '21' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main + response: + content: '{"name":"main","commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"_links":{"self":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main","html":"https://github.com/joseph-sentry/codecov-demo/tree/main"},"protected":false,"protection":{"enabled":false,"required_status_checks":{"enforcement_level":"off","contexts":[],"checks":[]}},"protection_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main/protection"}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:46 GMT + ETag: + - W/"28690f5aa55bcb187fc062a1ab6ad5901a1ccbe0225d6f96dacf712da8e22306" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E732:13D8:116896:235695:64EF8E1E + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4978' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '22' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:38c2d02...joseph-sentry:5b174c2","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.patch","base_commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"behind","ahead_by":0,"behind_by":2,"total_commits":0,"commits":[],"files":[]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:46 GMT + ETag: + - W/"fb71dcba3dddf292e08598b556f7bcc763019abc6e1678ed3355d3d8ec57454f" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E733:16C4:FF333:206BFB:64EF8E1E + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4977' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '23' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '{"body": "## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + Report\nPatch coverage has no change and project coverage change: **`+10.00%`** + :tada:\n> Comparison is base [(`5b174c2`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + 50.00% compared to head [(`5601846`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + 60.00%.\n> Report is 2 commits behind head on main.\n\n:exclamation: Your organization + is not using the GitHub App Integration. As a result you may experience degraded + service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) + for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal).\n\n
Additional + details and impacted files\n\n\n[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\n\n```diff\n@@ Coverage + Diff @@\n## main #9 +/- ##\n=============================================\n+ + Coverage 50.00% 60.00% +10.00% \n+ Complexity 11 10 -1 \n=============================================\n Files 2 2 \n Lines 6 10 +4 \n Branches 0 1 +1 \n=============================================\n+ + Hits 3 6 +3 \n Misses 3 3 \n- + Partials 0 1 +1 \n```\n\n| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + | Coverage \u0394 | Complexity \u0394 | |\n|---|---|---|---|\n| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + | `?` | `?` | |\n| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + | `100.00% <\u00f8> (?)` | `0.00 <\u00f8> (?)` | |\n\nFlags with carried forward + coverage won''t be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal#carryforward-flags-in-the-pull-request-comment) + to find out more.\n\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\n\n| + [Components](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + | Coverage \u0394 | |\n|---|---|---|\n| [go_files](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal) + | `62.50% <\u00f8> (+12.50%)` | :arrow_up: |\n\n
\n\n[:umbrella: View + full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal). \n:loudspeaker: + Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal).\n"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '4689' + content-type: + - application/json + host: + - api.github.com + user-agent: + - Default + method: POST + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9/comments + response: + content: "{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669323\"\ + ,\"html_url\":\"https://github.com/joseph-sentry/codecov-demo/pull/9#issuecomment-1699669323\"\ + ,\"issue_url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9\"\ + ,\"id\":1699669323,\"node_id\":\"IC_kwDOJu7MkM5lTuVL\",\"user\":{\"login\":\"\ + joseph-sentry\",\"id\":136376984,\"node_id\":\"U_kgDOCCDymA\",\"avatar_url\"\ + :\"https://avatars.githubusercontent.com/u/136376984?u=8154f2067e6b4966acba9c27358d6e49cfbbf45d&v=4\"\ + ,\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/joseph-sentry\"\ + ,\"html_url\":\"https://github.com/joseph-sentry\",\"followers_url\":\"https://api.github.com/users/joseph-sentry/followers\"\ + ,\"following_url\":\"https://api.github.com/users/joseph-sentry/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/joseph-sentry/gists{/gist_id}\"\ + ,\"starred_url\":\"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/joseph-sentry/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/joseph-sentry/orgs\",\"\ + repos_url\":\"https://api.github.com/users/joseph-sentry/repos\",\"events_url\"\ + :\"https://api.github.com/users/joseph-sentry/events{/privacy}\",\"received_events_url\"\ + :\"https://api.github.com/users/joseph-sentry/received_events\",\"type\":\"\ + User\",\"site_admin\":false},\"created_at\":\"2023-08-30T18:44:47Z\",\"updated_at\"\ + :\"2023-08-30T18:44:47Z\",\"author_association\":\"OWNER\",\"body\":\"## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ Report\\nPatch coverage has no change and project coverage change: **`+10.00%`**\ + \ :tada:\\n> Comparison is base [(`5b174c2`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ 50.00% compared to head [(`5601846`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ 60.00%.\\n> Report is 2 commits behind head on main.\\n\\n:exclamation: Your\ + \ organization is not using the GitHub App Integration. As a result you may\ + \ experience degraded service beginning May 15th. Please [install the GitHub\ + \ App Integration](https://github.com/apps/codecov) for your organization. [Read\ + \ more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal).\\\ + n\\n
Additional details and impacted files\\n\\n\\\ + n[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## \ + \ main #9 +/- ##\\n=============================================\\\ + n+ Coverage 50.00% 60.00% +10.00% \\n+ Complexity 11 \ + \ 10 -1 \\n=============================================\\n Files\ + \ 2 2 \\n Lines 6 10 \ + \ +4 \\n Branches 0 1 +1 \\n=============================================\\\ + n+ Hits 3 6 +3 \\n Misses 3 \ + \ 3 \\n- Partials 0 1 +1 \\n```\\\ + n\\n| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ | Coverage \u0394 | Complexity \u0394 | |\\n|---|---|---|---|\\n| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ | `?` | `?` | |\\n| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ | `100.00% <\xF8> (?)` | `0.00 <\xF8> (?)` | |\\n\\nFlags with carried forward\ + \ coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\\\ + n\\n| [Components](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ | Coverage \u0394 | |\\n|---|---|---|\\n| [go_files](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal)\ + \ | `62.50% <\xF8> (+12.50%)` | :arrow_up: |\\n\\n
\\n\\n[:umbrella:\ + \ View full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal).\ + \ \\n:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Juan+Villarreal).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669323/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Length: + - '6326' + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:47 GMT + ETag: + - '"dbd1e35f816e49a046e87cc8afcaff84664ea90b7cdc670b21e81765f512f702"' + Location: + - https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669323 + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E734:35CC:10A06A:21BF7A:64EF8E1E + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4976' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '24' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:36:05 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 201 version: 1 diff --git a/services/notification/notifiers/tests/integration/test_comment.py b/services/notification/notifiers/tests/integration/test_comment.py index 7380db804..466a53da1 100644 --- a/services/notification/notifiers/tests/integration/test_comment.py +++ b/services/notification/notifiers/tests/integration/test_comment.py @@ -55,7 +55,7 @@ def codecove2e_comparison(dbsession, request, sample_report, small_report): provider_pull={ "author": {"id": "12345", "username": "codecove2e"}, "base": { - "branch": "master", + "branch": "main", "commitid": "93189ce50f224296d6412e2884b93dcc3c7c8654", }, "head": { @@ -76,26 +76,26 @@ def codecove2e_comparison(dbsession, request, sample_report, small_report): def sample_comparison(dbsession, request, sample_report, small_report): repository = RepositoryFactory.create( owner__service="github", - owner__username="ThiagoCodecov", - name="example-python", + owner__username="joseph-sentry", + name="codecov-demo", owner__unencrypted_oauth_token="ghp_testmgzs9qm7r27wp376fzv10aobbpva7hd3", image_token="abcdefghij", ) dbsession.add(repository) dbsession.flush() base_commit = CommitFactory.create( - repository=repository, commitid="4535be18e90467d6d9a99c0ce651becec7f7eba6" + repository=repository, commitid="5b174c2b40d501a70c479e91025d5109b1ad5c1b" ) head_commit = CommitFactory.create( repository=repository, - branch="new_branch", - commitid="2e2600aa09525e2e1e1d98b09de61454d29c94bb", + branch="test", + commitid="5601846871b8142ab0df1e0b8774756c658bcc7d", ) pull = PullFactory.create( repository=repository, base=base_commit.commitid, head=head_commit.commitid, - pullid=15, + pullid=9, ) dbsession.add(base_commit) dbsession.add(head_commit) @@ -115,19 +115,19 @@ def sample_comparison(dbsession, request, sample_report, small_report): enriched_pull=EnrichedPull( database_pull=pull, provider_pull={ - "author": {"id": "12345", "username": "hootener"}, + "author": {"id": "12345", "username": "joseph-sentry"}, "base": { - "branch": "master", - "commitid": "30cc1ed751a59fa9e7ad8e79fff41a6fe11ef5dd", + "branch": "main", + "commitid": "5b174c2b40d501a70c479e91025d5109b1ad5c1b", }, "head": { - "branch": "thiago/test-1", - "commitid": "2e2600aa09525e2e1e1d98b09de61454d29c94bb", + "branch": "test", + "commitid": "5601846871b8142ab0df1e0b8774756c658bcc7d", }, "state": "open", - "title": "Thiago/test 1", - "id": "15", - "number": "15", + "title": "make change", + "id": "9", + "number": "9", }, ), ) @@ -302,7 +302,7 @@ def sample_comparison_for_limited_upload( provider_pull={ "author": {"id": "12345", "username": "dana-yaish"}, "base": { - "branch": "master", + "branch": "main", "commitid": "ef6edf5ae6643d53a7971fb8823d3f7b2ac65619", }, "head": { @@ -339,18 +339,18 @@ async def test_notify(self, sample_comparison, codecov_vcr, mock_configuration): assert result.notification_successful assert result.explanation is None message = [ - "## [Codecov](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=h1) Report", - "> Merging [#15](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=desc) (2e2600a) into [master](https://app.codecov.io/gh/ThiagoCodecov/example-python/commit/4535be18e90467d6d9a99c0ce651becec7f7eba6?el=desc) (4535be1) will **increase** coverage by `10.00%`.", - "> Report is 52 commits behind head on master.", + "## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1) Report", + "> Merging [#9](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc) (5601846) into [main](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc) (5b174c2) will **increase** coverage by `10.00%`.", + "> Report is 2 commits behind head on main.", "> The diff coverage is `n/a`.", "", ":exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/).", "", - "[![Impacted file tree graph](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree)", + "[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree)", "", "```diff", "@@ Coverage Diff @@", - "## master #15 +/- ##", + "## main #9 +/- ##", "=============================================", "+ Coverage 50.00% 60.00% +10.00% ", "+ Complexity 11 10 -1 ", @@ -364,28 +364,28 @@ async def test_notify(self, sample_comparison, codecov_vcr, mock_configuration): "- Partials 0 1 +1 ", "```", "", - "| [Flag](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/flags?src=pr&el=flags) | Coverage Δ | Complexity Δ | |", + "| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags) | Coverage Δ | Complexity Δ | |", "|---|---|---|---|", - "| [integration](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/flags?src=pr&el=flag) | `?` | `?` | |", - "| [unit](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/flags?src=pr&el=flag) | `100.00% <ø> (?)` | `0.00 <ø> (?)` | |", + "| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `?` | `?` | |", + "| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `100.00% <ø> (?)` | `0.00 <ø> (?)` | |", "", "Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.", "", - "[see 2 files with indirect coverage changes](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/indirect-changes?src=pr&el=tree-more)", + "[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more)", "", "------", "", - "[Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=continue).", + "[Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue).", "> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)", "> `Δ = absolute (impact)`, `ø = not affected`, `? = missing data`", - "> Powered by [Codecov](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=footer). Last update [30cc1ed...2e2600a](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).", + "> Powered by [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=footer). Last update [5b174c2...5601846](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).", "", ] for exp, res in zip(result.data_sent["message"], message): assert exp == res assert result.data_sent["message"] == message - assert result.data_sent == {"commentid": None, "message": message, "pullid": 15} - assert result.data_received == {"id": 570682170} + assert result.data_sent == {"commentid": None, "message": message, "pullid": 9} + assert result.data_received == {"id": 1699669247} @pytest.mark.asyncio async def test_notify_upgrade( @@ -551,20 +551,20 @@ async def test_notify_new_layout( assert result.notification_successful assert result.explanation is None message = [ - "## [Codecov](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=h1) Report", + "## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1) Report", "Patch coverage has no change and project coverage change: **`+10.00%`** :tada:", - "> Comparison is base [(`4535be1`)](https://app.codecov.io/gh/ThiagoCodecov/example-python/commit/4535be18e90467d6d9a99c0ce651becec7f7eba6?el=desc) 50.00% compared to head [(`2e2600a`)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=desc) 60.00%.", - "> Report is 52 commits behind head on master.", + "> Comparison is base [(`5b174c2`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc) 50.00% compared to head [(`5601846`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc) 60.00%.", + "> Report is 2 commits behind head on main.", "", ":exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/).", "", "
Additional details and impacted files\n", "", - "[![Impacted file tree graph](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=tree)", + "[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree)", "", "```diff", "@@ Coverage Diff @@", - "## master #15 +/- ##", + "## main #9 +/- ##", "=============================================", "+ Coverage 50.00% 60.00% +10.00% ", "+ Complexity 11 10 -1 ", @@ -578,18 +578,18 @@ async def test_notify_new_layout( "- Partials 0 1 +1 ", "```", "", - "| [Flag](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/flags?src=pr&el=flags) | Coverage Δ | Complexity Δ | |", + "| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags) | Coverage Δ | Complexity Δ | |", "|---|---|---|---|", - "| [integration](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/flags?src=pr&el=flag) | `?` | `?` | |", - "| [unit](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/flags?src=pr&el=flag) | `100.00% <ø> (?)` | `0.00 <ø> (?)` | |", + "| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `?` | `?` | |", + "| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `100.00% <ø> (?)` | `0.00 <ø> (?)` | |", "", "Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.", "", - "[see 2 files with indirect coverage changes](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15/indirect-changes?src=pr&el=tree-more)", + "[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more)", "", "
", "", - "[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/ThiagoCodecov/example-python/pull/15?src=pr&el=continue). ", + "[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue). ", ":loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/).", "", ] @@ -597,15 +597,15 @@ async def test_notify_new_layout( assert exp == res assert result.data_sent["message"] == message - assert result.data_sent == {"commentid": None, "message": message, "pullid": 15} - assert result.data_received == {"id": 1620423805} + assert result.data_sent == {"commentid": None, "message": message, "pullid": 9} + assert result.data_received == {"id": 1699669290} @pytest.mark.asyncio async def test_notify_with_components( - self, codecove2e_comparison, codecov_vcr, mock_configuration + self, sample_comparison, codecov_vcr, mock_configuration ): mock_configuration._params["setup"] = {"codecov_dashboard_url": None} - comparison = codecove2e_comparison + comparison = sample_comparison notifier = CommentNotifier( repository=comparison.head.commit.repository, title="title", @@ -627,19 +627,20 @@ async def test_notify_with_components( assert result.notification_successful assert result.explanation is None message = [ - "## [Codecov](https://app.codecov.io/gh/codecove2e/example-python/pull/4?src=pr&el=h1) Report", + "## [Codecov](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1) Report", "Patch coverage has no change and project coverage change: **`+10.00%`** :tada:", - "> Comparison is base [(`93189ce`)](https://app.codecov.io/gh/codecove2e/example-python/commit/93189ce50f224296d6412e2884b93dcc3c7c8654?el=desc) 50.00% compared to head [(`8589c19`)](https://app.codecov.io/gh/codecove2e/example-python/pull/4?src=pr&el=desc) 60.00%.", + "> Comparison is base [(`5b174c2`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc) 50.00% compared to head [(`5601846`)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc) 60.00%.", + "> Report is 2 commits behind head on main.", "", ":exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/).", "", "
Additional details and impacted files\n", "", - "[![Impacted file tree graph](https://app.codecov.io/gh/codecove2e/example-python/pull/4/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://app.codecov.io/gh/codecove2e/example-python/pull/4?src=pr&el=tree)", + "[![Impacted file tree graph](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree)", "", "```diff", "@@ Coverage Diff @@", - "## master #4 +/- ##", + "## main #9 +/- ##", "=============================================", "+ Coverage 50.00% 60.00% +10.00% ", "+ Complexity 11 10 -1 ", @@ -653,22 +654,22 @@ async def test_notify_with_components( "- Partials 0 1 +1 ", "```", "", - "| [Flag](https://app.codecov.io/gh/codecove2e/example-python/pull/4/flags?src=pr&el=flags) | Coverage Δ | Complexity Δ | |", + "| [Flag](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags) | Coverage Δ | Complexity Δ | |", "|---|---|---|---|", - "| [integration](https://app.codecov.io/gh/codecove2e/example-python/pull/4/flags?src=pr&el=flag) | `?` | `?` | |", - "| [unit](https://app.codecov.io/gh/codecove2e/example-python/pull/4/flags?src=pr&el=flag) | `100.00% <ø> (?)` | `0.00 <ø> (?)` | |", + "| [integration](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `?` | `?` | |", + "| [unit](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `100.00% <ø> (?)` | `0.00 <ø> (?)` | |", "", "Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.", "", - "[see 2 files with indirect coverage changes](https://app.codecov.io/gh/codecove2e/example-python/pull/4/indirect-changes?src=pr&el=tree-more)", + "[see 2 files with indirect coverage changes](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/indirect-changes?src=pr&el=tree-more)", "", - "| [Components](https://app.codecov.io/gh/codecove2e/example-python/pull/4/components?src=pr&el=components) | Coverage Δ | |", + "| [Components](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/components?src=pr&el=components) | Coverage Δ | |", "|---|---|---|", - "| [go_files](https://app.codecov.io/gh/codecove2e/example-python/pull/4/components?src=pr&el=component) | `62.50% <ø> (+12.50%)` | :arrow_up: |", + "| [go_files](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9/components?src=pr&el=component) | `62.50% <ø> (+12.50%)` | :arrow_up: |", "", "
", "", - "[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/codecove2e/example-python/pull/4?src=pr&el=continue). ", + "[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue). ", ":loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/).", "", ] @@ -676,5 +677,5 @@ async def test_notify_with_components( assert exp == res assert result.data_sent["message"] == message - assert result.data_sent == {"commentid": None, "message": message, "pullid": 4} - assert result.data_received == {"id": 1253851153} + assert result.data_sent == {"commentid": None, "message": message, "pullid": 9} + assert result.data_received == {"id": 1699669323} diff --git a/services/notification/notifiers/tests/unit/test_comment.py b/services/notification/notifiers/tests/unit/test_comment.py index 0779509ac..837bee350 100644 --- a/services/notification/notifiers/tests/unit/test_comment.py +++ b/services/notification/notifiers/tests/unit/test_comment.py @@ -7,6 +7,7 @@ from shared.reports.types import Change, LineSession, ReportLine, ReportTotals from shared.torngit.exceptions import ( TorngitClientError, + TorngitClientGeneralError, TorngitObjectNotFoundError, TorngitServerUnreachableError, ) @@ -193,15 +194,15 @@ def mock_repo_provider(mock_repo_provider): ], } - branches_result = [ - ("main", "aaaaaaa"), - ] + branch_result = {"name": "test", "sha": "aaaaaaa"} mock_repo_provider.get_compare.return_value = compare_result mock_repo_provider.post_comment.return_value = {} mock_repo_provider.edit_comment.return_value = {} mock_repo_provider.delete_comment.return_value = {} - mock_repo_provider.get_branches.return_value = branches_result + mock_repo_provider.get_branch.side_effect = TorngitClientGeneralError( + 404, None, "Branch not found" + ) return mock_repo_provider diff --git a/tasks/tests/integration/cassetes/test_notify_task/TestNotifyTask/test_simple_call_status_and_notifiers.yaml b/tasks/tests/integration/cassetes/test_notify_task/TestNotifyTask/test_simple_call_status_and_notifiers.yaml index 730b4f2f2..7c3730cae 100644 --- a/tasks/tests/integration/cassetes/test_notify_task/TestNotifyTask/test_simple_call_status_and_notifiers.yaml +++ b/tasks/tests/integration/cassetes/test_notify_task/TestNotifyTask/test_simple_call_status_and_notifiers.yaml @@ -794,7 +794,8 @@ interactions: Diff @@\n## main #1 +/- ##\n=======================================\n Coverage 85.00% 85.00% \n=======================================\n Files 3 3 \n Lines 20 20 \n=======================================\n Hits 17 17 \n Misses 3 3 \n```\n\n| Flag | Coverage \u0394 | |\n|---|---|---|\n| unit | `85.00% <\u00f8> (\u00f8)` | |\n\nFlags with carried forward coverage won''t be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano#carryforward-flags-in-the-pull-request-comment) - to find out more.\n\n\n------\n\n[Continue to review full report in Codecov by Sentry](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=continue).\n> + to find out more.\n\n\n------\n\n[Continue to review full report in Codecov + by Sentry](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano)\n> `\u0394 = absolute (impact)`, `\u00f8 = not affected`, `? = missing data`\n> Powered by [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=footer). @@ -818,26 +819,48 @@ interactions: method: POST uri: https://api.github.com/repos/test-acc9/test_example/issues/1/comments response: - content: "{\"url\":\"https://api.github.com/repos/test-acc9/test_example/issues/comments/1203062549\",\"html_url\":\"https://github.com/test-acc9/test_example/pull/1#issuecomment-1203062549\",\"issue_url\":\"https://api.github.com/repos/test-acc9/test_example/issues/1\",\"id\":1203062549,\"node_id\":\"IC_kwDOHP_eEc5HtUcV\",\"user\":{\"login\":\"test-acc9\",\"id\":104562106,\"node_id\":\"U_kgDOBjt9ug\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/104562106?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/test-acc9\",\"html_url\":\"https://github.com/test-acc9\",\"followers_url\":\"https://api.github.com/users/test-acc9/followers\",\"following_url\":\"https://api.github.com/users/test-acc9/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/test-acc9/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/test-acc9/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/test-acc9/subscriptions\",\"organizations_url\":\"https://api.github.com/users/test-acc9/orgs\",\"repos_url\":\"https://api.github.com/users/test-acc9/repos\",\"events_url\":\"https://api.github.com/users/test-acc9/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/test-acc9/received_events\",\"type\":\"User\",\"site_admin\":false},\"created_at\":\"2022-08-02T18:15:10Z\",\"updated_at\":\"2022-08-02T18:15:10Z\",\"author_association\":\"OWNER\",\"body\":\"# - [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=h1) - Report\\n> Merging [#1](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=desc) - (610ada9) into [main](https://myexamplewebsite.io/gh/test-acc9/test_example/commit/ef6edf5ae6643d53a7971fb8823d3f7b2ac65619?el=desc) - (ef6edf5) will **not change** coverage.\\n> The diff coverage is `n/a`.\\n\\n> - :exclamation: Current head 610ada9 differs from pull request most recent head - a2d3e3c. Consider uploading reports for the commit a2d3e3c to get more accurate - results\\n\\n[![Impacted file tree graph](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=tree)\\n\\n```diff\\n@@ - \ Coverage Diff @@\\n## main #1 +/- ##\\n=======================================\\n - \ Coverage 85.00% 85.00% \\n=======================================\\n - \ Files 3 3 \\n Lines 20 20 \\n=======================================\\n - \ Hits 17 17 \\n Misses 3 3 \\n```\\n\\n| - Flag | Coverage \u0394 | |\\n|---|---|---|\\n| unit | `85.00% <\xF8> (\xF8)` - | |\\n\\nFlags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano#carryforward-flags-in-the-pull-request-comment) - to find out more.\\n\\n\\n------\\n\\n[Continue to review full report in Codecov by Sentry](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=continue).\\n> - **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano)\\n> - `\u0394 = absolute (impact)`, `\xF8 = not affected`, `? = missing - data`\\n> Powered by [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=footer). - Last update [ef6edf5...a2d3e3c](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=lastupdated). - Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano).\\n\",\"reactions\":{\"url\":\"https://api.github.com/repos/test-acc9/test_example/issues/comments/1203062549/reactions\",\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + content: "{\"url\":\"https://api.github.com/repos/test-acc9/test_example/issues/comments/1203062549\"\ + ,\"html_url\":\"https://github.com/test-acc9/test_example/pull/1#issuecomment-1203062549\"\ + ,\"issue_url\":\"https://api.github.com/repos/test-acc9/test_example/issues/1\"\ + ,\"id\":1203062549,\"node_id\":\"IC_kwDOHP_eEc5HtUcV\",\"user\":{\"login\":\"\ + test-acc9\",\"id\":104562106,\"node_id\":\"U_kgDOBjt9ug\",\"avatar_url\":\"\ + https://avatars.githubusercontent.com/u/104562106?v=4\",\"gravatar_id\":\"\"\ + ,\"url\":\"https://api.github.com/users/test-acc9\",\"html_url\":\"https://github.com/test-acc9\"\ + ,\"followers_url\":\"https://api.github.com/users/test-acc9/followers\",\"following_url\"\ + :\"https://api.github.com/users/test-acc9/following{/other_user}\",\"gists_url\"\ + :\"https://api.github.com/users/test-acc9/gists{/gist_id}\",\"starred_url\"\ + :\"https://api.github.com/users/test-acc9/starred{/owner}{/repo}\",\"subscriptions_url\"\ + :\"https://api.github.com/users/test-acc9/subscriptions\",\"organizations_url\"\ + :\"https://api.github.com/users/test-acc9/orgs\",\"repos_url\":\"https://api.github.com/users/test-acc9/repos\"\ + ,\"events_url\":\"https://api.github.com/users/test-acc9/events{/privacy}\"\ + ,\"received_events_url\":\"https://api.github.com/users/test-acc9/received_events\"\ + ,\"type\":\"User\",\"site_admin\":false},\"created_at\":\"2022-08-02T18:15:10Z\"\ + ,\"updated_at\":\"2022-08-02T18:15:10Z\",\"author_association\":\"OWNER\",\"\ + body\":\"# [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=h1)\ + \ Report\\n> Merging [#1](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=desc)\ + \ (610ada9) into [main](https://myexamplewebsite.io/gh/test-acc9/test_example/commit/ef6edf5ae6643d53a7971fb8823d3f7b2ac65619?el=desc)\ + \ (ef6edf5) will **not change** coverage.\\n> The diff coverage is `n/a`.\\\ + n\\n> :exclamation: Current head 610ada9 differs from pull request most recent\ + \ head a2d3e3c. Consider uploading reports for the commit a2d3e3c to get more\ + \ accurate results\\n\\n[![Impacted file tree graph](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=tree)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## main\ + \ #1 +/- ##\\n=======================================\\n Coverage\ + \ 85.00% 85.00% \\n=======================================\\n\ + \ Files 3 3 \\n Lines 20 20 \ + \ \\n=======================================\\n Hits 17 \ + \ 17 \\n Misses 3 3 \\n```\\n\\n| Flag\ + \ | Coverage \u0394 | |\\n|---|---|---|\\n| unit | `85.00% <\xF8> (\xF8)` |\ + \ |\\n\\nFlags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n\\n------\\n\\n[Continue to review full report in Codecov\ + \ by Sentry](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=continue).\\\ + n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano)\\\ + n> `\u0394 = absolute (impact)`, `\xF8 = not affected`, `? = missing\ + \ data`\\n> Powered by [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=footer).\ + \ Last update [ef6edf5...a2d3e3c](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=lastupdated).\ + \ Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Arellano).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/test-acc9/test_example/issues/comments/1203062549/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" headers: Access-Control-Allow-Origin: - '*' @@ -974,4 +997,841 @@ interactions: - 2022-08-24 01:18:21 UTC http_version: HTTP/1.1 status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/status?page=1&per_page=100 + response: + content: '{"state":"success","statuses":[{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24842855406,"node_id":"SC_kwDOJu7MkM8AAAAFyL_j7g","state":"success","description":"No + unexpected coverage changes found","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/changes","created_at":"2023-08-30T16:03:04Z","updated_at":"2023-08-30T16:03:04Z"},{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24843016906,"node_id":"SC_kwDOJu7MkM8AAAAFyMJayg","state":"success","description":"Coverage + not affected when comparing 38c2d02...5601846","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/patch","created_at":"2023-08-30T16:10:45Z","updated_at":"2023-08-30T16:10:45Z"},{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24844653606,"node_id":"SC_kwDOJu7MkM8AAAAFyNtUJg","state":"success","description":"85.00% + (+0.00%) compared to 5b174c2","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/project","created_at":"2023-08-30T17:32:52Z","updated_at":"2023-08-30T17:32:52Z"}],"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","total_count":3,"repository":{"id":653184144,"node_id":"R_kgDOJu7MkA","name":"codecov-demo","full_name":"joseph-sentry/codecov-demo","private":false,"owner":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"html_url":"https://github.com/joseph-sentry/codecov-demo","description":null,"fork":true,"url":"https://api.github.com/repos/joseph-sentry/codecov-demo","forks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/forks","keys_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/teams","hooks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/hooks","issue_events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/events{/number}","events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/events","assignees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/assignees{/user}","branches_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches{/branch}","tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/tags","blobs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/languages","stargazers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/stargazers","contributors_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contributors","subscribers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscribers","subscription_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscription","commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/{+path}","compare_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/merges","archive_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/downloads","issues_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues{/number}","pulls_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/labels{/name}","releases_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/releases{/id}","deployments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/deployments"},"commit_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/status"}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:59 GMT + ETag: + - W/"a8ba6029cdf0ed9473d1b0c81a03c7bc00d743b518b84fffbfe5f117a3da131f" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - repo, repo:status + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E74D:052D:10DCAE:223F5B:64EF8E2B + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4975' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '25' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9 + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9","id":1494493271,"node_id":"PR_kwDOJu7MkM5ZFChX","html_url":"https://github.com/joseph-sentry/codecov-demo/pull/9","diff_url":"https://github.com/joseph-sentry/codecov-demo/pull/9.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/pull/9.patch","issue_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9","number":9,"state":"open","locked":false,"title":"make + change","user":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"body":null,"created_at":"2023-08-29T21:33:06Z","updated_at":"2023-08-30T18:44:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cda7a5ab6d25555ff6503973ce16ef7c5fb1cd37","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9/commits","review_comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9/comments","review_comment_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9/comments","statuses_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","head":{"label":"joseph-sentry:test","ref":"test","sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","user":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"repo":{"id":653184144,"node_id":"R_kgDOJu7MkA","name":"codecov-demo","full_name":"joseph-sentry/codecov-demo","private":false,"owner":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"html_url":"https://github.com/joseph-sentry/codecov-demo","description":null,"fork":true,"url":"https://api.github.com/repos/joseph-sentry/codecov-demo","forks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/forks","keys_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/teams","hooks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/hooks","issue_events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/events{/number}","events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/events","assignees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/assignees{/user}","branches_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches{/branch}","tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/tags","blobs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/languages","stargazers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/stargazers","contributors_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contributors","subscribers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscribers","subscription_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscription","commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/{+path}","compare_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/merges","archive_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/downloads","issues_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues{/number}","pulls_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/labels{/name}","releases_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/releases{/id}","deployments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/deployments","created_at":"2023-06-13T14:58:33Z","updated_at":"2023-06-13T15:45:15Z","pushed_at":"2023-08-29T21:33:07Z","git_url":"git://github.com/joseph-sentry/codecov-demo.git","ssh_url":"git@github.com:joseph-sentry/codecov-demo.git","clone_url":"https://github.com/joseph-sentry/codecov-demo.git","svn_url":"https://github.com/joseph-sentry/codecov-demo","homepage":null,"size":3500,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT + License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":1,"watchers":0,"default_branch":"main"}},"base":{"label":"joseph-sentry:main","ref":"main","sha":"38c2d0214f2a48c9212a140f5311977059a15b35","user":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"repo":{"id":653184144,"node_id":"R_kgDOJu7MkA","name":"codecov-demo","full_name":"joseph-sentry/codecov-demo","private":false,"owner":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"html_url":"https://github.com/joseph-sentry/codecov-demo","description":null,"fork":true,"url":"https://api.github.com/repos/joseph-sentry/codecov-demo","forks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/forks","keys_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/teams","hooks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/hooks","issue_events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/events{/number}","events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/events","assignees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/assignees{/user}","branches_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches{/branch}","tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/tags","blobs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/languages","stargazers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/stargazers","contributors_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contributors","subscribers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscribers","subscription_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscription","commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/{+path}","compare_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/merges","archive_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/downloads","issues_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues{/number}","pulls_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/labels{/name}","releases_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/releases{/id}","deployments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/deployments","created_at":"2023-06-13T14:58:33Z","updated_at":"2023-06-13T15:45:15Z","pushed_at":"2023-08-29T21:33:07Z","git_url":"git://github.com/joseph-sentry/codecov-demo.git","ssh_url":"git@github.com:joseph-sentry/codecov-demo.git","clone_url":"https://github.com/joseph-sentry/codecov-demo.git","svn_url":"https://github.com/joseph-sentry/codecov-demo","homepage":null,"size":3500,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT + License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":1,"watchers":0,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9"},"html":{"href":"https://github.com/joseph-sentry/codecov-demo/pull/9"},"issue":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9"},"comments":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d"}},"author_association":"OWNER","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":3,"changed_files":1}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:59 GMT + ETag: + - W/"bcd044d2f0b0d1685fee462d0406adcdf71bf58d7ed6e4318a371a0548c311ef" + Last-Modified: + - Wed, 30 Aug 2023 18:44:47 GMT + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E74E:11AB:100C7C:209FCB:64EF8E2B + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4974' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '26' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/pulls/9/commits?per_page=250 + response: + content: '[{"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","node_id":"C_kwDOJu7MkNoAKDU2MDE4NDY4NzFiODE0MmFiMGRmMWUwYjg3NzQ3NTZjNjU4YmNjN2Q","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:16:17Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:23:50Z"},"message":"make + change","tree":{"sha":"3ca6632aeb641e579bea4391294d9ebe55c062c7","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/3ca6632aeb641e579bea4391294d9ebe55c062c7"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQAmeUxSTgmd3FlcaYtRmVpuCh0n6L0/2Oy7wnsoGF6zjLoBO+aDz22vOG+bywNp4bc\nlmOl+Tu5Jk9woOhH2Olg8=\n-----END + SSH SIGNATURE-----","payload":"tree 3ca6632aeb641e579bea4391294d9ebe55c062c7\nparent + 5b174c2b40d501a70c479e91025d5109b1ad5c1b\nauthor joseph-sentry + 1692026177 -0400\ncommitter joseph-sentry 1692026630 + -0400\n\nmake change\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b"}]}]' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:44:59 GMT + ETag: + - W/"502ab99dca2a22266f17c9b4931ebcc7979de45c6e6bf4cdd99ad419bae1024c" + Last-Modified: + - Wed, 30 Aug 2023 18:44:47 GMT + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E74E:11AB:100CD6:20A07F:64EF8E2B + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4973' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '27' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:5b174c2...joseph-sentry:5601846","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/5b174c2b40d501a70c479e91025d5109b1ad5c1b...5601846871b8142ab0df1e0b8774756c658bcc7d.patch","base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"ahead","ahead_by":1,"behind_by":0,"total_commits":1,"commits":[{"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","node_id":"C_kwDOJu7MkNoAKDU2MDE4NDY4NzFiODE0MmFiMGRmMWUwYjg3NzQ3NTZjNjU4YmNjN2Q","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:16:17Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:23:50Z"},"message":"make + change","tree":{"sha":"3ca6632aeb641e579bea4391294d9ebe55c062c7","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/3ca6632aeb641e579bea4391294d9ebe55c062c7"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQAmeUxSTgmd3FlcaYtRmVpuCh0n6L0/2Oy7wnsoGF6zjLoBO+aDz22vOG+bywNp4bc\nlmOl+Tu5Jk9woOhH2Olg8=\n-----END + SSH SIGNATURE-----","payload":"tree 3ca6632aeb641e579bea4391294d9ebe55c062c7\nparent + 5b174c2b40d501a70c479e91025d5109b1ad5c1b\nauthor joseph-sentry + 1692026177 -0400\ncommitter joseph-sentry 1692026630 + -0400\n\nmake change\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b"}]}],"files":[{"sha":"8664ca881cd0536ab32eac8dfee923a2b304167d","filename":"api/calculator/calculator.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/joseph-sentry/codecov-demo/blob/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","raw_url":"https://github.com/joseph-sentry/codecov-demo/raw/5601846871b8142ab0df1e0b8774756c658bcc7d/api%2Fcalculator%2Fcalculator.py","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/api%2Fcalculator%2Fcalculator.py?ref=5601846871b8142ab0df1e0b8774756c658bcc7d","patch":"@@ + -9,6 +9,4 @@ def multiply(x, y):\n return x * y\n \n def divide(x, + y):\n- if y == 0:\n- return ''Cannot divide by 0''\n- return + x * 1.0 / y\n\\ No newline at end of file\n+ return x * 1.0 / y"}]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:45:00 GMT + ETag: + - W/"649a89b4b5093758f87a21af1f020ef04640b12c19dde25535fd5962d059092d" + Last-Modified: + - Mon, 14 Aug 2023 15:23:50 GMT + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E74F:5672:1000AA:209300:64EF8E2B + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4972' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '28' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '{"state": "success", "target_url": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9", + "context": "codecov/patch", "description": "Coverage not affected when comparing + 5b174c2...5601846"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '203' + content-type: + - application/json + host: + - api.github.com + user-agent: + - Default + method: POST + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24846000025,"node_id":"SC_kwDOJu7MkM8AAAAFyO_fmQ","state":"success","description":"Coverage + not affected when comparing 5b174c2...5601846","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/patch","created_at":"2023-08-30T18:45:00Z","updated_at":"2023-08-30T18:45:00Z","creator":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false}}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Length: + - '1478' + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:45:00 GMT + ETag: + - '"6082b52302afdc137a43de77d677c72bca91f142539336b3dd79fe2658a7ce2c"' + Location: + - https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E750:2FFC:F1072:1EA6B3:64EF8E2C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4971' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '29' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 201 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main + response: + content: '{"name":"main","commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"_links":{"self":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main","html":"https://github.com/joseph-sentry/codecov-demo/tree/main"},"protected":false,"protection":{"enabled":false,"required_status_checks":{"enforcement_level":"off","contexts":[],"checks":[]}},"protection_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches/main/protection"}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:45:00 GMT + ETag: + - W/"03c43fb66e2e87ed9b951aaf1a14277a1108501b49f79548c81f11090224b5ba" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E751:13D8:117A2A:2379C9:64EF8E2C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4970' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '30' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b + response: + content: '{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b","permalink_url":"https://github.com/joseph-sentry/codecov-demo/compare/joseph-sentry:38c2d02...joseph-sentry:5b174c2","diff_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.diff","patch_url":"https://github.com/joseph-sentry/codecov-demo/compare/38c2d0214f2a48c9212a140f5311977059a15b35...5b174c2b40d501a70c479e91025d5109b1ad5c1b.patch","base_commit":{"sha":"38c2d0214f2a48c9212a140f5311977059a15b35","node_id":"C_kwDOJu7MkNoAKDM4YzJkMDIxNGYyYTQ4YzkyMTJhMTQwZjUzMTE5NzcwNTlhMTViMzU","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-18T16:48:10Z"},"message":"make + change to app\n\nSigned-off-by: joseph-sentry ","tree":{"sha":"9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/38c2d0214f2a48c9212a140f5311977059a15b35","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQJe3OYXkY7fA1+RZ130Zrab06lH36l2XC9HMqjHDAW8iCW5VUbvNhOxNpKSokDItdd\nroqDRnazyFj3+oWVCvxgM=\n-----END + SSH SIGNATURE-----","payload":"tree 9ba2c9dd228af0bbaf34cc8dcac85a1bdeed6043\nparent + 1713006782821e36912c23baa98901c7361ee83c\nauthor joseph-sentry + 1692377290 -0400\ncommitter joseph-sentry 1692377290 + -0400\n\nmake change to app\n\nSigned-off-by: joseph-sentry \n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/38c2d0214f2a48c9212a140f5311977059a15b35","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/38c2d0214f2a48c9212a140f5311977059a15b35/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"1713006782821e36912c23baa98901c7361ee83c","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/1713006782821e36912c23baa98901c7361ee83c","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/1713006782821e36912c23baa98901c7361ee83c"}]},"merge_base_commit":{"sha":"5b174c2b40d501a70c479e91025d5109b1ad5c1b","node_id":"C_kwDOJu7MkNoAKDViMTc0YzJiNDBkNTAxYTcwYzQ3OWU5MTAyNWQ1MTA5YjFhZDVjMWI","commit":{"author":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"committer":{"name":"joseph-sentry","email":"joseph.sawaya@sentry.io","date":"2023-08-14T15:19:08Z"},"message":"make + change on main","tree":{"sha":"a9d6c66e50012a6d42f3f4c4e6d6de845230e73b","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees/a9d6c66e50012a6d42f3f4c4e6d6de845230e73b"},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN + SSH SIGNATURE-----\nU1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgZAgzn4ZBqwutNsBP2EqViyU9PP\n/bJINxsDu+12+Wr9EAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5\nAAAAQCSXJE75ylD7PwNrXf6ITnsvh9gIP5b/JASjGlKqB7f37XPt9wLvT2YaV3HcSyTRyt\nCY9zBOZT+tELiyZcpqKwY=\n-----END + SSH SIGNATURE-----","payload":"tree a9d6c66e50012a6d42f3f4c4e6d6de845230e73b\nparent + 3fe10c352faae434e0cca7c1c5984c1c98000288\nauthor joseph-sentry + 1692026348 -0400\ncommitter joseph-sentry 1692026348 + -0400\n\nmake change on main\n"}},"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5b174c2b40d501a70c479e91025d5109b1ad5c1b/comments","author":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"committer":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"parents":[{"sha":"3fe10c352faae434e0cca7c1c5984c1c98000288","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/3fe10c352faae434e0cca7c1c5984c1c98000288","html_url":"https://github.com/joseph-sentry/codecov-demo/commit/3fe10c352faae434e0cca7c1c5984c1c98000288"}]},"status":"behind","ahead_by":0,"behind_by":2,"total_commits":0,"commits":[],"files":[]}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:45:00 GMT + ETag: + - W/"c000dea59114b2e2fa8073bc817bc28ac3ae901be2bdbb129bd291c73eda0211" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E752:44A9:123CC6:24FB74:64EF8E2C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4969' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '31' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 +- request: + body: '{"body": "## [Codecov](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1) + Report\n> Merging [#9](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc) + (5601846) into [main](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc) + (5b174c2) will **not change** coverage.\n> Report is 2 commits behind head on + main.\n> The diff coverage is `n/a`.\n\n:exclamation: Your organization is not + using the GitHub App Integration. As a result you may experience degraded service + beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) + for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker).\n\n[![Impacted + file tree graph](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree)\n\n```diff\n@@ Coverage + Diff @@\n## main #9 +/- ##\n=======================================\n Coverage 85.00% 85.00% \n=======================================\n Files 3 3 \n Lines 20 20 \n=======================================\n Hits 17 17 \n Misses 3 3 \n```\n\n| + [Flag](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags) + | Coverage \u0394 | |\n|---|---|---|\n| [unit](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) + | `85.00% <\u00f8> (\u00f8)` | |\n\nFlags with carried forward coverage won''t + be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker#carryforward-flags-in-the-pull-request-comment) + to find out more.\n\n\n------\n\n[Continue to review full report in Codecov + by Sentry](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue).\n> + **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker)\n> + `\u0394 = absolute (impact)`, `\u00f8 = not affected`, `? = missing + data`\n> Powered by [Codecov](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=footer). + Last update [5b174c2...5601846](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=lastupdated). + Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker).\n"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '2969' + content-type: + - application/json + host: + - api.github.com + user-agent: + - Default + method: POST + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9/comments + response: + content: "{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669573\"\ + ,\"html_url\":\"https://github.com/joseph-sentry/codecov-demo/pull/9#issuecomment-1699669573\"\ + ,\"issue_url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/9\"\ + ,\"id\":1699669573,\"node_id\":\"IC_kwDOJu7MkM5lTuZF\",\"user\":{\"login\":\"\ + joseph-sentry\",\"id\":136376984,\"node_id\":\"U_kgDOCCDymA\",\"avatar_url\"\ + :\"https://avatars.githubusercontent.com/u/136376984?u=8154f2067e6b4966acba9c27358d6e49cfbbf45d&v=4\"\ + ,\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/joseph-sentry\"\ + ,\"html_url\":\"https://github.com/joseph-sentry\",\"followers_url\":\"https://api.github.com/users/joseph-sentry/followers\"\ + ,\"following_url\":\"https://api.github.com/users/joseph-sentry/following{/other_user}\"\ + ,\"gists_url\":\"https://api.github.com/users/joseph-sentry/gists{/gist_id}\"\ + ,\"starred_url\":\"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}\"\ + ,\"subscriptions_url\":\"https://api.github.com/users/joseph-sentry/subscriptions\"\ + ,\"organizations_url\":\"https://api.github.com/users/joseph-sentry/orgs\",\"\ + repos_url\":\"https://api.github.com/users/joseph-sentry/repos\",\"events_url\"\ + :\"https://api.github.com/users/joseph-sentry/events{/privacy}\",\"received_events_url\"\ + :\"https://api.github.com/users/joseph-sentry/received_events\",\"type\":\"\ + User\",\"site_admin\":false},\"created_at\":\"2023-08-30T18:45:01Z\",\"updated_at\"\ + :\"2023-08-30T18:45:01Z\",\"author_association\":\"OWNER\",\"body\":\"## [Codecov](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1)\ + \ Report\\n> Merging [#9](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc)\ + \ (5601846) into [main](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc)\ + \ (5b174c2) will **not change** coverage.\\n> Report is 2 commits behind head\ + \ on main.\\n> The diff coverage is `n/a`.\\n\\n:exclamation: Your organization\ + \ is not using the GitHub App Integration. As a result you may experience degraded\ + \ service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov)\ + \ for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker).\\\ + n\\n[![Impacted file tree graph](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree)\\\ + n\\n```diff\\n@@ Coverage Diff @@\\n## main\ + \ #9 +/- ##\\n=======================================\\n Coverage\ + \ 85.00% 85.00% \\n=======================================\\n\ + \ Files 3 3 \\n Lines 20 20 \ + \ \\n=======================================\\n Hits 17 \ + \ 17 \\n Misses 3 3 \\n```\\n\\n| [Flag](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags)\ + \ | Coverage \u0394 | |\\n|---|---|---|\\n| [unit](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag)\ + \ | `85.00% <\xF8> (\xF8)` | |\\n\\nFlags with carried forward coverage won't\ + \ be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker#carryforward-flags-in-the-pull-request-comment)\ + \ to find out more.\\n\\n\\n------\\n\\n[Continue to review full report in Codecov\ + \ by Sentry](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue).\\\ + n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker)\\\ + n> `\u0394 = absolute (impact)`, `\xF8 = not affected`, `? = missing\ + \ data`\\n> Powered by [Codecov](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=footer).\ + \ Last update [5b174c2...5601846](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=lastupdated).\ + \ Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sheena+Parker).\\\ + n\",\"reactions\":{\"url\":\"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669573/reactions\"\ + ,\"total_count\":0,\"+1\":0,\"-1\":0,\"laugh\":0,\"hooray\":0,\"confused\":0,\"\ + heart\":0,\"rocket\":0,\"eyes\":0},\"performed_via_github_app\":null}" + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Length: + - '4610' + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:45:01 GMT + ETag: + - '"ad3f2b237aded0e1db3d185e2c0668ad471be827d9159b129b0087cdcfdff72d"' + Location: + - https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments/1699669573 + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - '' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E753:7D95:14DBB6:2A469F:64EF8E2C + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4968' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '32' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 201 +- request: + body: '' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.github.com + user-agent: + - Default + method: GET + uri: https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/status?page=1&per_page=100 + response: + content: '{"state":"success","statuses":[{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24842855406,"node_id":"SC_kwDOJu7MkM8AAAAFyL_j7g","state":"success","description":"No + unexpected coverage changes found","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/changes","created_at":"2023-08-30T16:03:04Z","updated_at":"2023-08-30T16:03:04Z"},{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24844653606,"node_id":"SC_kwDOJu7MkM8AAAAFyNtUJg","state":"success","description":"85.00% + (+0.00%) compared to 5b174c2","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/project","created_at":"2023-08-30T17:32:52Z","updated_at":"2023-08-30T17:32:52Z"},{"url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/5601846871b8142ab0df1e0b8774756c658bcc7d","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","id":24846000025,"node_id":"SC_kwDOJu7MkM8AAAAFyO_fmQ","state":"success","description":"Coverage + not affected when comparing 5b174c2...5601846","target_url":"https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9","context":"codecov/patch","created_at":"2023-08-30T18:45:00Z","updated_at":"2023-08-30T18:45:00Z"}],"sha":"5601846871b8142ab0df1e0b8774756c658bcc7d","total_count":3,"repository":{"id":653184144,"node_id":"R_kgDOJu7MkA","name":"codecov-demo","full_name":"joseph-sentry/codecov-demo","private":false,"owner":{"login":"joseph-sentry","id":136376984,"node_id":"U_kgDOCCDymA","avatar_url":"https://avatars.githubusercontent.com/u/136376984?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-sentry","html_url":"https://github.com/joseph-sentry","followers_url":"https://api.github.com/users/joseph-sentry/followers","following_url":"https://api.github.com/users/joseph-sentry/following{/other_user}","gists_url":"https://api.github.com/users/joseph-sentry/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-sentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-sentry/subscriptions","organizations_url":"https://api.github.com/users/joseph-sentry/orgs","repos_url":"https://api.github.com/users/joseph-sentry/repos","events_url":"https://api.github.com/users/joseph-sentry/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-sentry/received_events","type":"User","site_admin":false},"html_url":"https://github.com/joseph-sentry/codecov-demo","description":null,"fork":true,"url":"https://api.github.com/repos/joseph-sentry/codecov-demo","forks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/forks","keys_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/teams","hooks_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/hooks","issue_events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/events{/number}","events_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/events","assignees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/assignees{/user}","branches_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/branches{/branch}","tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/tags","blobs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/languages","stargazers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/stargazers","contributors_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contributors","subscribers_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscribers","subscription_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/subscription","commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/contents/{+path}","compare_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/merges","archive_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/downloads","issues_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/issues{/number}","pulls_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/labels{/name}","releases_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/releases{/id}","deployments_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/deployments"},"commit_url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d","url":"https://api.github.com/repos/joseph-sentry/codecov-demo/commits/5601846871b8142ab0df1e0b8774756c658bcc7d/status"}' + headers: + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, + X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, + X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, + X-GitHub-Request-Id, Deprecation, Sunset + Cache-Control: + - private, max-age=60, s-maxage=60 + Content-Encoding: + - gzip + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 30 Aug 2023 18:50:27 GMT + ETag: + - W/"4ba0e4b8ad7e097c9f90d3f1f8e4a5d3c5abd99c161ec3597f00e3b678f2fa30" + Referrer-Policy: + - origin-when-cross-origin, strict-origin-when-cross-origin + Server: + - GitHub.com + Strict-Transport-Security: + - max-age=31536000; includeSubdomains; preload + Transfer-Encoding: + - chunked + Vary: + - Accept, Authorization, Cookie, X-GitHub-OTP + - Accept-Encoding, Accept, X-Requested-With + X-Accepted-OAuth-Scopes: + - repo, repo:status + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + X-GitHub-Media-Type: + - github.v3 + X-GitHub-Request-Id: + - E81A:1F44:10C6EC:22160D:64EF8F72 + X-OAuth-Scopes: + - repo + X-RateLimit-Limit: + - '5000' + X-RateLimit-Remaining: + - '4967' + X-RateLimit-Reset: + - '1693424656' + X-RateLimit-Resource: + - core + X-RateLimit-Used: + - '33' + X-XSS-Protection: + - '0' + github-authentication-token-expiration: + - 2023-09-29 15:50:41 UTC + x-github-api-version-selected: + - '2022-11-28' + http_version: HTTP/1.1 + status_code: 200 version: 1 diff --git a/tasks/tests/integration/test_notify_task.py b/tasks/tests/integration/test_notify_task.py index 39cb55848..325e92a98 100644 --- a/tasks/tests/integration/test_notify_task.py +++ b/tasks/tests/integration/test_notify_task.py @@ -788,29 +788,29 @@ async def test_simple_call_status_and_notifiers( mocker.patch.object(NotifyTask, "app") repository = RepositoryFactory.create( owner__unencrypted_oauth_token=sample_token, - owner__username="test-acc9", + owner__username="joseph-sentry", owner__service="github", - owner__service_id="104562106", - owner__email="atest7321@gmail.com", - name="test_example", + owner__service_id="136376984", + owner__email="joseph.sawaya@sentry.io", + name="codecov-demo", image_token="abcdefghij", ) dbsession.add(repository) dbsession.flush() - head_commitid = "610ada9fa2bbc49f1a08917da3f73bef2d03709c" - master_sha = "ef6edf5ae6643d53a7971fb8823d3f7b2ac65619" + head_commitid = "5601846871b8142ab0df1e0b8774756c658bcc7d" + master_sha = "5b174c2b40d501a70c479e91025d5109b1ad5c1b" master_commit = CommitFactory.create( message="", pullid=None, - branch="master", + branch="main", commitid=master_sha, repository=repository, author=repository.owner, ) commit = CommitFactory.create( message="", - pullid=None, - branch="featureA", + pullid=9, + branch="test", commitid=head_commitid, parent_commit_id=master_commit.commitid, repository=repository, @@ -859,7 +859,7 @@ async def test_simple_call_status_and_notifiers( }, ) expected_author_dict = { - "username": "test-acc9", + "username": "joseph-sentry", "service_id": repository.owner.service_id, "email": repository.owner.email, "service": "github", @@ -877,14 +877,14 @@ async def test_simple_call_status_and_notifiers( "explanation": None, "data_sent": { "repo": { - "url": "https://myexamplewebsite.io/gh/test-acc9/test_example", + "url": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo", "service_id": repository.service_id, - "name": "test_example", + "name": "codecov-demo", "private": True, }, "head": { "author": expected_author_dict, - "url": "https://myexamplewebsite.io/gh/test-acc9/test_example/commit/610ada9fa2bbc49f1a08917da3f73bef2d03709c", + "url": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d", "timestamp": "2019-02-01T17:59:47", "totals": { "files": 3, @@ -916,13 +916,13 @@ async def test_simple_call_status_and_notifiers( ], }, "commitid": head_commitid, - "service_url": f"https://github.com/test-acc9/test_example/commit/{head_commitid}", - "branch": "featureA", + "service_url": f"https://github.com/joseph-sentry/codecov-demo/commit/{head_commitid}", + "branch": "test", "message": "", }, "base": { "author": expected_author_dict, - "url": "https://myexamplewebsite.io/gh/test-acc9/test_example/commit/ef6edf5ae6643d53a7971fb8823d3f7b2ac65619", + "url": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b", "timestamp": "2019-02-01T17:59:47", "totals": { "files": 3, @@ -953,34 +953,34 @@ async def test_simple_call_status_and_notifiers( 0, ], }, - "commitid": "ef6edf5ae6643d53a7971fb8823d3f7b2ac65619", - "service_url": "https://github.com/test-acc9/test_example/commit/ef6edf5ae6643d53a7971fb8823d3f7b2ac65619", - "branch": "master", + "commitid": "5b174c2b40d501a70c479e91025d5109b1ad5c1b", + "service_url": "https://github.com/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b", + "branch": "main", "message": "", }, "compare": { - "url": "https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1", + "url": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9", "message": "no change", "coverage": Decimal("0.00"), "notation": "", }, "owner": { - "username": "test-acc9", + "username": "joseph-sentry", "service_id": repository.owner.service_id, "service": "github", }, "pull": { "head": { - "commit": "610ada9fa2bbc49f1a08917da3f73bef2d03709c", + "commit": "5601846871b8142ab0df1e0b8774756c658bcc7d", "branch": "master", }, - "number": "1", + "number": "9", "base": { - "commit": "ef6edf5ae6643d53a7971fb8823d3f7b2ac65619", + "commit": "5b174c2b40d501a70c479e91025d5109b1ad5c1b", "branch": "master", }, "open": True, - "id": 1, + "id": 9, "merged": False, }, }, @@ -995,9 +995,9 @@ async def test_simple_call_status_and_notifiers( "notification_successful": True, "explanation": None, "data_sent": { - "text": f"Coverage for *no change* `` on `featureA` is `85.00000%` via ``", + "text": f"Coverage for *no change* `` on `test` is `85.00000%` via ``", "author_name": "Codecov", - "author_link": "https://myexamplewebsite.io/gh/test-acc9/test_example/commit/610ada9fa2bbc49f1a08917da3f73bef2d03709c", + "author_link": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/commit/5601846871b8142ab0df1e0b8774756c658bcc7d", "attachments": [], }, "data_received": None, @@ -1056,18 +1056,18 @@ async def test_simple_call_status_and_notifiers( "notification_successful": True, "explanation": "Successfully notified slack app", "data_sent": { - "repository": "test_example", - "owner": "test-acc9", + "repository": "codecov-demo", + "owner": "joseph-sentry", "comparison": { - "url": "https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1", + "url": "https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9", "message": "no change", "coverage": "0.00", "notation": "", "head_commit": { - "commitid": "610ada9fa2bbc49f1a08917da3f73bef2d03709c", - "branch": "featureA", + "commitid": "5601846871b8142ab0df1e0b8774756c658bcc7d", + "branch": "test", "message": "", - "author": "test-acc9", + "author": "joseph-sentry", "timestamp": "2019-02-01T17:59:47", "ci_passed": True, "totals": { @@ -1099,13 +1099,13 @@ async def test_simple_call_status_and_notifiers( "p": 0, "s": 1, }, - "pull": None, + "pull": 9, }, "base_commit": { - "commitid": "ef6edf5ae6643d53a7971fb8823d3f7b2ac65619", - "branch": "master", + "commitid": "5b174c2b40d501a70c479e91025d5109b1ad5c1b", + "branch": "main", "message": "", - "author": "test-acc9", + "author": "joseph-sentry", "timestamp": "2019-02-01T17:59:47", "ci_passed": True, "totals": { @@ -1154,19 +1154,18 @@ async def test_simple_call_status_and_notifiers( "explanation": None, "data_sent": { "message": [ - "## [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=h1) Report", - "> Merging [#1](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=desc) (610ada9) into [main](https://myexamplewebsite.io/gh/test-acc9/test_example/commit/ef6edf5ae6643d53a7971fb8823d3f7b2ac65619?el=desc) (ef6edf5) will **not change** coverage.", + "## [Codecov](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=h1) Report", + "> Merging [#9](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=desc) (5601846) into [main](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/commit/5b174c2b40d501a70c479e91025d5109b1ad5c1b?el=desc) (5b174c2) will **not change** coverage.", + "> Report is 2 commits behind head on main.", "> The diff coverage is `n/a`.", "", - "> :exclamation: Current head 610ada9 differs from pull request most recent head a2d3e3c. Consider uploading reports for the commit a2d3e3c to get more accurate results", - "", ":exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please [install the GitHub App Integration](https://github.com/apps/codecov) for your organization. [Read more](https://about.codecov.io/blog/codecov-is-updating-its-github-integration/).", "", - "[![Impacted file tree graph](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=tree)", + "[![Impacted file tree graph](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/graphs/tree.svg?width=650&height=150&src=pr&token=abcdefghij)](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=tree)", "", "```diff", "@@ Coverage Diff @@", - "## main #1 +/- ##", + "## main #9 +/- ##", "=======================================", " Coverage 85.00% 85.00% ", "=======================================", @@ -1177,9 +1176,9 @@ async def test_simple_call_status_and_notifiers( " Misses 3 3 ", "```", "", - "| [Flag](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1/flags?src=pr&el=flags) | Coverage Δ | |", + "| [Flag](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flags) | Coverage Δ | |", "|---|---|---|", - "| [unit](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1/flags?src=pr&el=flag) | `85.00% <ø> (ø)` | |", + "| [unit](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9/flags?src=pr&el=flag) | `85.00% <ø> (ø)` | |", "", "Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more." "", @@ -1187,23 +1186,23 @@ async def test_simple_call_status_and_notifiers( "", "------", "", - "[Continue to review full report in Codecov by Sentry](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=continue).", + "[Continue to review full report in Codecov by Sentry](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=continue).", "> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)", "> `Δ = absolute (impact)`, `ø = not affected`, `? = missing data`", - "> Powered by [Codecov](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=footer). Last update [ef6edf5...a2d3e3c](https://myexamplewebsite.io/gh/test-acc9/test_example/pull/1?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).", + "> Powered by [Codecov](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=footer). Last update [5b174c2...5601846](https://myexamplewebsite.io/gh/joseph-sentry/codecov-demo/pull/9?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).", "", ], "commentid": None, - "pullid": 1, + "pullid": 9, }, - "data_received": {"id": 1203062549}, + "data_received": {"id": 1699669573}, }, }, ], } - pull = dbsession.query(Pull).filter_by(pullid=1, repoid=commit.repoid).first() - assert pull.commentid == "1203062549" + pull = dbsession.query(Pull).filter_by(pullid=9, repoid=commit.repoid).first() + assert pull.commentid == "1699669573" assert len(result["notifications"]) == len(expected_result["notifications"]) for expected, actual in zip(