diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e1d4b936d41402..4683234338a78f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -512,6 +512,8 @@ tests/sentry/api/endpoints/test_organization_dashboard_widget_details.py @ge /src/sentry/api/helpers/group_index/ @getsentry/issues /src/sentry/api/helpers/source_map_helper.py @getsentry/issues /src/sentry/api/issue_search.py @getsentry/issues +/src/sentry/deletions/defaults/group.py @getsentry/issues +/src/sentry/deletions/tasks/groups.py @getsentry/issues /src/sentry/event_manager.py @getsentry/issues /src/sentry/eventstore/models.py @getsentry/issues /src/sentry/grouping/ @getsentry/issues @@ -550,6 +552,7 @@ tests/sentry/api/endpoints/test_organization_dashboard_widget_details.py @ge /static/app/utils/analytics.tsx @getsentry/issues /static/app/utils/routeAnalytics/ @getsentry/issues /tests/sentry/api/test_issue_search.py @getsentry/issues +/tests/sentry/deletions/test_group.py @getsentry/issues /tests/sentry/event_manager/ @getsentry/issues /tests/sentry/grouping/ @getsentry/issues /tests/sentry/search/ @getsentry/issues diff --git a/biome.json b/biome.json index 6026cb19d4928f..030f704518b143 100644 --- a/biome.json +++ b/biome.json @@ -36,7 +36,6 @@ "noExcessiveNestedTestSuites": "error" }, "nursery": { - "noDuplicateJsonKeys": "error", "noRestrictedImports": { "level": "warn", "options": { @@ -100,6 +99,10 @@ ".devenv" ] }, + "css": { + "formatter": { "enabled": false }, + "linter": { "enabled": false } + }, "formatter": { "enabled": true, "formatWithErrors": true, diff --git a/config/tsconfig.base.json b/config/tsconfig.base.json index 081a655b7a25e4..326841c8574a4a 100644 --- a/config/tsconfig.base.json +++ b/config/tsconfig.base.json @@ -19,11 +19,7 @@ "moduleResolution": "node", // We add esnext to lib to pull in types for all newer ECMAScript features - "lib": [ - "esnext", - "dom", - "dom.iterable" - ], + "lib": ["esnext", "dom", "dom.iterable"], // Skip type checking of all declaration files "skipLibCheck": true, diff --git a/fixtures/vsts.py b/fixtures/vsts.py index 76ad6d83519c3b..4c9f4678670f21 100644 --- a/fixtures/vsts.py +++ b/fixtures/vsts.py @@ -66,6 +66,17 @@ def _stub_vsts(self): }, ) + responses.add( + responses.POST, + "https://login.microsoftonline.com/common/oauth2/v2.0/token", + json={ + "access_token": self.access_token, + "token_type": "grant", + "expires_in": 300, # seconds (5 min) + "refresh_token": self.refresh_token, + }, + ) + responses.add( responses.GET, "https://app.vssps.visualstudio.com/_apis/accounts?memberId=%s&api-version=4.1" @@ -195,19 +206,27 @@ def assert_vsts_oauth_redirect(self, redirect): assert redirect.netloc == "app.vssps.visualstudio.com" assert redirect.path == "/oauth2/authorize" + def assert_vsts_new_oauth_redirect(self, redirect): + assert redirect.scheme == "https" + assert redirect.netloc == "login.microsoftonline.com" + assert redirect.path == "/common/oauth2/v2.0/authorize" + def assert_account_selection(self, response, account_id=None): account_id = account_id or self.vsts_account_id assert response.status_code == 200 assert f'