sentry
sentry copied to clipboard
ref(scm): abstraction for repository integrations
Adds a RepositoryIntegration abstract base class that represents the same set of functionality as RepositoryMixin. Also ties RepositoryIntegration to a new RepositoryClient abstract base class that represents the expected functionality of a SCM integration client tied to the SCM integration installation class.
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
:x: Failed Test Results:
Completed 21748 tests with 2 failed, 21545 passed and 201 skipped.
View the full list of failed tests
pytest
-
Class name: tests.sentry.integrations.gitlab.test_integration.GitlabIntegrationTest
Test name: test_get_stacktrace_link_file_doesnt_exist Flags:- backend
#x1B[1m#x1B[.../integrations/gitlab/test_integration.py#x1B[0m:285: in test_get_stacktrace_link_file_doesnt_exist
assert not source_url
#x1B[1m#x1B[31mE AssertionError: assert not 'https://gitlab.example..../blob/master/README.md'#x1B[0m - backend
-
Class name: tests.sentry.integrations.gitlab.test_integration.GitlabIntegrationTest
Test name: test_get_stacktrace_link_use_default_if_version_404 Flags:- backend
#x1B[1m#x1B[.../integrations/gitlab/test_integration.py#x1B[0m:360: in test_get_stacktrace_link_use_default_if_version_404
assert (
#x1B[1m#x1B[31mE AssertionError: assert 'https://gitl...678/README.md' == 'https://gitl...ter/README.md'#x1B[0m
#x1B[1m#x1B[31mE #x1B[0m
#x1B[1m#x1B[31mE Skipping 45 identical leading characters in diff, use -v to show#x1B[0m
#x1B[1m#x1B[31mE - .../blob/master/README.md#x1B[0m
#x1B[1m#x1B[31mE + .../blob/12345678/README.md#x1B[0m - backend