Skip to content

Commit 8698510

Browse files
author
Andrii Soldatenko
authored
Merge branch 'master' into andrii/implement-cronjob-to-fetch-orgs-projects
2 parents 833ff23 + 359fe64 commit 8698510

File tree

105 files changed

+1267
-603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+1267
-603
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
/src/sentry/scripts/quotas/ @getsentry/owners-ingest
4242
/src/sentry/scripts/tsdb/ @getsentry/owners-ingest
4343
/src/sentry/tasks/store.py @getsentry/owners-ingest
44+
/src/sentry/tasks/relay.py @getsentry/owners-ingest
4445
/src/sentry/tasks/unmerge.py @getsentry/owners-ingest
4546
/tests/sentry/event_manager/ @getsentry/owners-ingest
4647
/tests/sentry/ingest/ @getsentry/owners-ingest

.github/codeql/codeql-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Sentry CodeQL Config"
1+
name: 'Sentry CodeQL Config'
22

33
paths-ignore:
44
- '**/tests/**'

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,12 @@ updates:
6060
- dependency-name: 'reflux'
6161
- dependency-name: 'sprintf-js'
6262
- dependency-name: 'u2f-api'
63+
- package-ecosystem: 'docker'
64+
directory: 'docker/'
65+
schedule:
66+
interval: 'daily'
67+
reviewers:
68+
- '@getsentry/open-source'
69+
- '@getsentry/security'
70+
# security only updates
71+
open-pull-requests-limit: 0

.github/labels.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@
266266
- name: 'Team: Telemetry Experience'
267267
color: '8D5494'
268268
description: telemetry-experience
269-
- name: 'Team: Visibility'
270-
color: '8D5494'
271-
description: ''
272269
- name: 'Team: Web SDKs - Backend'
273270
color: '8D5494'
274271
description: team-web-sdk-backend

.github/workflows/codeql.yml

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL"
12+
name: 'CodeQL'
1313

1414
on:
1515
push:
16-
branches: [ "master" ]
16+
branches: ['master']
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ "master" ]
19+
branches: ['master']
20+
paths:
21+
- '**.js'
22+
- '**.ejs'
23+
- '**.tsx'
24+
- '**.ts'
25+
- '**.py'
26+
- '!tests/**'
2027
schedule:
2128
- cron: '44 12 * * 1'
2229

@@ -32,42 +39,42 @@ jobs:
3239
strategy:
3340
fail-fast: false
3441
matrix:
35-
language: [ 'javascript', 'python' ]
42+
language: ['javascript', 'python']
3643
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3744
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3845

3946
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
47+
- name: Checkout repository
48+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
4249

43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # v2
46-
with:
47-
config-file: ./.github/codeql/codeql-config.yml
48-
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: security-extended
50+
# Initializes the CodeQL tools for scanning.
51+
- name: Initialize CodeQL
52+
uses: github/codeql-action/init@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # v2
53+
with:
54+
config-file: ./.github/codeql/codeql-config.yml
55+
languages: ${{ matrix.language }}
56+
# If you wish to specify custom queries, you can do so here or in a config file.
57+
# By default, queries listed here will override any specified in a config file.
58+
# Prefix the list here with "+" to use these queries and those in the config file.
59+
# queries: security-extended
5360

54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55-
# If this step fails, then you should remove it and run the build manually (see below)
56-
- name: Autobuild
57-
uses: github/codeql-action/autobuild@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # v2
61+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
62+
# If this step fails, then you should remove it and run the build manually (see below)
63+
- name: Autobuild
64+
uses: github/codeql-action/autobuild@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # v2
5865

59-
# ℹ️ Command-line programs to run using the OS shell.
60-
# 📚 https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
66+
# ℹ️ Command-line programs to run using the OS shell.
67+
# 📚 https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6168

62-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63-
# and modify them (or add more) to build your code if your project
64-
# uses a compiled language
69+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
70+
# and modify them (or add more) to build your code if your project
71+
# uses a compiled language
6572

66-
#- run: |
67-
# make bootstrap
68-
# make release
73+
#- run: |
74+
# make bootstrap
75+
# make release
6976

70-
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # v2
72-
with:
73-
category: "/language:${{matrix.language}}"
77+
- name: Perform CodeQL Analysis
78+
uses: github/codeql-action/analyze@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # v2
79+
with:
80+
category: '/language:${{matrix.language}}'

bin/load-mocks

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,7 @@ def create_mock_transactions(
11411141
"parent_span_id": parent_span_id,
11421142
"span_id": uuid4().hex[:16],
11431143
"hash": "858fea692d4d93e8",
1144+
"data": {"Encoded Body Size": 1000001},
11441145
}
11451146
]
11461147

requirements-base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ requests>=2.25.1
5454
rfc3339-validator>=0.1.2
5555
rfc3986-validator>=0.1.1
5656
# [end] jsonschema format validators
57-
sentry-arroyo>=2.5.3
57+
sentry-arroyo>=2.6.0
5858
sentry-relay>=0.8.18
5959
sentry-sdk>=1.15.0
6060
snuba-sdk>=1.0.3

requirements-dev-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ rfc3986-validator==0.1.1
154154
rsa==4.8
155155
s3transfer==0.5.2
156156
selenium==4.3.0
157-
sentry-arroyo==2.5.3
157+
sentry-arroyo==2.6.0
158158
sentry-relay==0.8.18
159159
sentry-sdk==1.15.0
160160
simplejson==3.17.6

requirements-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ rfc3986-validator==0.1.1
107107
rsa==4.8
108108
s3transfer==0.5.2
109109
selenium==4.3.0
110-
sentry-arroyo==2.5.3
110+
sentry-arroyo==2.6.0
111111
sentry-relay==0.8.18
112112
sentry-sdk==1.15.0
113113
simplejson==3.17.6

src/sentry/api/endpoints/group_integrations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from sentry.models.grouplink import GroupLink
1616
from sentry.models.integrations.external_issue import ExternalIssue
1717
from sentry.models.user import User
18-
from sentry.services.hybrid_cloud import ApiPaginationArgs
18+
from sentry.services.hybrid_cloud import RpcPaginationArgs
1919
from sentry.services.hybrid_cloud.integration import RpcIntegration, integration_service
2020
from sentry.utils.json import JSONData
2121

@@ -93,7 +93,7 @@ def get(self, request: Request, group) -> Response:
9393
result = integration_service.page_integration_ids(
9494
organization_id=group.organization.id,
9595
provider_keys=providers,
96-
args=ApiPaginationArgs.from_endpoint_request(self, request),
96+
args=RpcPaginationArgs.from_endpoint_request(self, request),
9797
)
9898

9999
response = Response(

0 commit comments

Comments
 (0)