Skip to content

capture message #94667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

Christinarlong
Copy link
Contributor

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 30, 2025
Copy link

codecov bot commented Jun 30, 2025

❌ 7 Tests Failed:

Tests completed Failed Passed Skipped
27129 7 27122 249
View the top 3 failed test(s) by shortest run time
tests.sentry.integrations.utils.test_lifecycle_metrics.IntegrationEventLifecycleMetricTest::test_recording_failure_with_create_issue_false
Stack Traces | 0.046s run time
#x1B[1m#x1B[.../integrations/utils/test_lifecycle_metrics.py#x1B[0m:249: in test_recording_failure_with_create_issue_false
    mock_logger.warning.assert_called_once_with(
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1....../x64/lib/python3.13/unittest/mock.py#x1B[0m:989: in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1....../x64/lib/python3.13/unittest/mock.py#x1B[0m:977: in assert_called_with
    raise AssertionError(_error_message()) from cause
#x1B[1m#x1B[31mE   AssertionError: expected call not found.#x1B[0m
#x1B[1m#x1B[31mE   Expected: warning('integrations.slo.failure', extra={'extra': 'value', 'integration_domain': 'messaging', 'integration_name': 'my_integration', 'interaction_type': 'my_interaction', 'exception_summary': "ExampleException('test')"})#x1B[0m
#x1B[1m#x1B[31mE     Actual: warning('integrations.slo.failure', extra={'extra': 'value', 'integration_domain': 'messaging', 'integration_name': 'my_integration', 'interaction_type': 'my_interaction'})#x1B[0m
tests.sentry.integrations.utils.test_lifecycle_metrics.IntegrationEventLifecycleMetricTest::test_recording_explicit_failure_with_str
Stack Traces | 0.048s run time
#x1B[1m#x1B[.../integrations/utils/test_lifecycle_metrics.py#x1B[0m:195: in test_recording_explicit_failure_with_str
    mock_logger.warning.assert_called_once_with(
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1....../x64/lib/python3.13/unittest/mock.py#x1B[0m:989: in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1....../x64/lib/python3.13/unittest/mock.py#x1B[0m:977: in assert_called_with
    raise AssertionError(_error_message()) from cause
#x1B[1m#x1B[31mE   AssertionError: expected call not found.#x1B[0m
#x1B[1m#x1B[31mE   Expected: warning('integrations.slo.failure', extra={'outcome_reason': 'Integration went boom', 'extra': 'value', 'even': 'more', 'integration_domain': 'messaging', 'integration_name': 'my_integration', 'interaction_type': 'my_interaction'})#x1B[0m
#x1B[1m#x1B[31mE     Actual: warning('integrations.slo.failure', extra={'extra': 'value', 'even': 'more', 'integration_domain': 'messaging', 'integration_name': 'my_integration', 'interaction_type': 'my_interaction', 'slo_event_id': None, 'outcome_reason': 'Integration went boom'})#x1B[0m
tests.sentry.integrations.utils.test_lifecycle_metrics.IntegrationEventLifecycleMetricTest::test_recording_explicit_halt_with_exception
Stack Traces | 0.048s run time
#x1B[1m#x1B[.../integrations/utils/test_lifecycle_metrics.py#x1B[0m:96: in test_recording_explicit_halt_with_exception
    mock_logger.info.assert_called_once_with(
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1....../x64/lib/python3.13/unittest/mock.py#x1B[0m:989: in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
#x1B[1m#x1B[.../hostedtoolcache/Python/3.13.1....../x64/lib/python3.13/unittest/mock.py#x1B[0m:977: in assert_called_with
    raise AssertionError(_error_message()) from cause
#x1B[1m#x1B[31mE   AssertionError: expected call not found.#x1B[0m
#x1B[1m#x1B[31mE   Expected: info('integrations.slo.halted', extra={'extra': 'value', 'even': 'more', 'integration_domain': 'messaging', 'integration_name': 'my_integration', 'interaction_type': 'my_interaction', 'exception_summary': "ExampleException('')"})#x1B[0m
#x1B[1m#x1B[31mE     Actual: info('integrations.slo.halted', extra={'extra': 'value', 'even': 'more', 'integration_domain': 'messaging', 'integration_name': 'my_integration', 'interaction_type': 'my_interaction'})#x1B[0m

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant