Skip to content

WIP feat(code_mapping): Support single file #91147

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

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented May 7, 2025

This is very WIP. It's only a start.

@armenzg armenzg requested a review from a team as a code owner May 7, 2025 16:54
@armenzg armenzg marked this pull request as draft May 7, 2025 16:54
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 7, 2025
@armenzg armenzg added WIP and removed Scope: Backend Automatically applied to PRs that change backend components labels May 7, 2025
Copy link

codecov bot commented May 7, 2025

❌ 10 Tests Failed:

Tests completed Failed Passed Skipped
24649 10 24639 317
View the top 3 failed test(s) by shortest run time
tests.sentry.issues.auto_source_code_config.test_code_mapping.TestFrameInfo::test_raises_unsupported
Stack Traces | 0.041s run time
#x1B[1m#x1B[.../issues/auto_source_code_config/test_code_mapping.py#x1B[0m:118: in test_raises_unsupported
    FrameInfo({"filename": filepath})
#x1B[1m#x1B[.../issues/auto_source_code_config/code_mapping.py#x1B[0m:106: in __init__
    raise NeedsExtension("It needs an extension.")
#x1B[1m#x1B[31mE   sentry.issues.auto_source_code_config.code_mapping.NeedsExtension: It needs an extension.#x1B[0m
tests.sentry.issues.auto_source_code_config.test_code_mapping::test_buckets_logic
Stack Traces | 0.041s run time
#x1B[1m#x1B[.../issues/auto_source_code_config/test_code_mapping.py#x1B[0m:101: in test_buckets_logic
    assert buckets == {
#x1B[1m#x1B[.../issues/auto_source_code_config/code_mapping.py#x1B[0m:103: in __init__
    raise UnsupportedFrameInfo("This path is not supported.")
#x1B[1m#x1B[31mE   sentry.issues.auto_source_code_config.code_mapping.UnsupportedFrameInfo: This path is not supported.#x1B[0m
tests.sentry.issues.auto_source_code_config.test_code_mapping.TestFrameInfo::test_straight_path_prefix[../../../../../../packages/something.py-../../../../../../packages]
Stack Traces | 0.054s run time
#x1B[1m#x1B[.../issues/auto_source_code_config/test_code_mapping.py#x1B[0m:204: in test_straight_path_prefix
    frame_info = FrameInfo({"filename": frame_filename})
#x1B[1m#x1B[.../issues/auto_source_code_config/code_mapping.py#x1B[0m:103: in __init__
    raise UnsupportedFrameInfo("This path is not supported.")
#x1B[1m#x1B[31mE   sentry.issues.auto_source_code_config.code_mapping.UnsupportedFrameInfo: This path is not supported.#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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant