sentry icon indicating copy to clipboard operation
sentry copied to clipboard

chore(issues): Begin migrating ownership rules limits to flagpole

Open mrduncan opened this issue 1 year ago • 1 comments

XLARGE is not used yet and won't be enabled without additional research/testing (and possibly changing the actual value).

Old check will get removed once the values are migrated over to flagpole.

mrduncan avatar Oct 03 '24 23:10 mrduncan

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
21728 1 21727 214
View the top 1 failed tests by shortest run time
tests.sentry.api.endpoints.test_project_ownership.ProjectOwnershipEndpointTestCase test_max_raw_length
Stack Traces | 4.81s run time
#x1B[1m#x1B[.../api/endpoints/test_project_ownership.py#x1B[0m:375: in test_max_raw_length
    with mock.patch("sentry.api.endpoints.project_ownership.LARGE_RAW_LENGTH", 10):
#x1B[1m#x1B[.../hostedtoolcache/Python/3.12.6....../x64/lib/python3.12/unittest/mock.py#x1B[0m:1461: in __enter__
    original, local = self.get_original()
#x1B[1m#x1B[.../hostedtoolcache/Python/3.12.6....../x64/lib/python3.12/unittest/mock.py#x1B[0m:1434: in get_original
    raise AttributeError(
#x1B[1m#x1B[31mE   AttributeError: <module 'sentry.api.endpoints.project_ownership' from '.../api/endpoints/project_ownership.py'> does not have the attribute 'LARGE_RAW_LENGTH'#x1B[0m

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

codecov[bot] avatar Oct 03 '24 23:10 codecov[bot]