Skip to content

Conversation

@roaga
Copy link
Member

@roaga roaga commented Dec 6, 2025

The explorer client can now enable/disable coding tools, view returned file patches, and make and view PRs

Part of AIML-1698

Requires https://github.com/getsentry/seer/pull/4200/

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

linear bot commented Dec 6, 2025

@codecov
Copy link

codecov bot commented Dec 6, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
30224 2 30222 241
View the top 2 failed test(s) by shortest run time
tests.sentry.seer.endpoints.test_organization_seer_explorer_chat.OrganizationSeerExplorerChatEndpointTest::test_post_continue_conversation_calls_client
Stack Traces | 1.46s run time
#x1B[1m#x1B[.../seer/endpoints/test_organization_seer_explorer_chat.py#x1B[0m:93: in test_post_continue_conversation_calls_client
    mock_client_class.assert_called_once_with(self.organization, ANY, is_interactive=True)
#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: SeerExplorerClient(<Organization at 0x7fedb07ca210: id=4557238629171200, owner_id=None, name='baz', slug='baz'>, <ANY>, is_interactive=True)#x1B[0m
#x1B[1m#x1B[31mE     Actual: SeerExplorerClient(<Organization at 0x7fedc0dd6b70: id=4557238629171200, owner_id=None, name='baz', slug='baz'>, <SimpleLazyObject: RpcUser(id=749, pk=749, name='', email='admin@localhost', username='admin@localhost', actor_id=None, display_name='admin@localhost', label='admin@localhost', is_superuser=True, is_authenticated=True, is_anonymous=False, is_active=True, is_staff=True, is_unclaimed=False, last_active=datetime.datetime(2025, 12, 6, 23, 43, 34, 364857, tzinfo=datetime.timezone.utc), is_sentry_app=False, password_usable=True, is_password_expired=False, session_nonce=None, roles=frozenset(), permissions=frozenset(), avatar=None, emails=frozenset({'admin@localhost'}), useremails=[RpcUserEmail(id=761, email='admin@localhost', is_verified=True)], authenticators=[])>, is_interactive=True, enable_coding=True)#x1B[0m
tests.sentry.seer.endpoints.test_organization_seer_explorer_chat.OrganizationSeerExplorerChatEndpointTest::test_post_new_conversation_calls_client
Stack Traces | 1.66s run time
#x1B[1m#x1B[.../seer/endpoints/test_organization_seer_explorer_chat.py#x1B[0m:72: in test_post_new_conversation_calls_client
    mock_client_class.assert_called_once_with(self.organization, ANY, is_interactive=True)
#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: SeerExplorerClient(<Organization at 0x7fa1dc7d9ff0: id=4557238626680832, owner_id=None, name='baz', slug='baz'>, <ANY>, is_interactive=True)#x1B[0m
#x1B[1m#x1B[31mE     Actual: SeerExplorerClient(<Organization at 0x7fa1dc7da410: id=4557238626680832, owner_id=None, name='baz', slug='baz'>, <SimpleLazyObject: RpcUser(id=736, pk=736, name='', email='admin@localhost', username='admin@localhost', actor_id=None, display_name='admin@localhost', label='admin@localhost', is_superuser=True, is_authenticated=True, is_anonymous=False, is_active=True, is_staff=True, is_unclaimed=False, last_active=datetime.datetime(2025, 12, 6, 23, 42, 56, 581819, tzinfo=datetime.timezone.utc), is_sentry_app=False, password_usable=True, is_password_expired=False, session_nonce=None, roles=frozenset(), permissions=frozenset(), avatar=None, emails=frozenset({'admin@localhost'}), useremails=[RpcUserEmail(id=738, email='admin@localhost', is_verified=True)], authenticators=[])>, is_interactive=True, enable_coding=True)#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.

2 participants