Skip to content

Commit 70c5882

Browse files
Merge branch 'master' into priscila/feat/add-logic-to-update-hit-counter-columns-in-grouptomstone
2 parents 27832f1 + de11fb0 commit 70c5882

File tree

882 files changed

+20473
-8825
lines changed

Some content is hidden

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

882 files changed

+20473
-8825
lines changed

.envrc

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ trap notice ERR
3636

3737
complete_success="yup"
3838

39+
40+
3941
help_message() {
4042
cat <<EOF
4143
For more help run: make direnv-help
@@ -99,7 +101,7 @@ unset PYTHONPATH
99101
export PIP_DISABLE_PIP_VERSION_CHECK=on
100102

101103
# increase node's memory limit, required for our webpacking
102-
export NODE_OPTIONS=--max-old-space-size=4096
104+
export NODE_OPTIONS="--max-old-space-size=4096 --experimental-transform-types"
103105

104106
# Frontend hot module reloader using `react-refresh`
105107
# Enable this by default for development envs (CI/deploys do not use envrc)
@@ -182,19 +184,23 @@ python3 -m tools.docker_memory_check
182184

183185
### Node ###
184186

185-
debug "Checking node..."
187+
# not needed for getsentry
188+
if [ "${PWD##*/}" = "sentry" ]; then
189+
debug "Checking node..."
186190

187-
if [ "${SENTRY_DEVENV_SKIP_FRONTEND}" != "1" ]; then
188-
if ! require node; then
189-
die "You don't seem to have node installed. Please run devenv sync."
190-
fi
191+
if [ "${SENTRY_DEVENV_SKIP_FRONTEND}" != "1" ]; then
192+
if ! require node; then
193+
die "You don't seem to have node installed. Please run devenv sync."
194+
fi
191195

192-
if ! node -pe "process.exit(Number(!(process.version == 'v' + require('./.volta.json').volta.node )))"; then
193-
die "Unexpected $(command -v node) version. Please run devenv sync."
194-
fi
196+
read -r node_version < .node-version
197+
if [ "v${node_version}" != "$(node --version)" ]; then
198+
die "Unexpected $(command -v node) version. Please run devenv sync."
199+
fi
195200

196-
if [ ! -d "node_modules" ]; then
197-
die "You don't seem to have yarn packages installed. Please run devenv sync."
201+
if [ ! -d "node_modules" ]; then
202+
die "You don't seem to have yarn packages installed. Please run devenv sync."
203+
fi
198204
fi
199205
fi
200206

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ eslint.config.mjs @getsentry/owners-js-bu
132132
jest.config.ts @getsentry/owners-js-build
133133
tsconfig.* @getsentry/owners-js-build
134134
webpack.config.* @getsentry/owners-js-build
135-
.volta.json @getsentry/owners-js-deps
135+
.node-version @getsentry/owners-js-deps
136136
package.json @getsentry/owners-js-deps
137137
pnpm-lock.yaml @getsentry/owners-js-deps
138138

.github/dependabot.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ updates:
2020
- '@babel/*'
2121
sentry-dependencies:
2222
patterns:
23-
- '@sentry/*'
23+
- '@sentry/core'
24+
- '@sentry/node'
25+
- '@sentry/react'
26+
- '@sentry/profiling-node'
2427
spectrum-dependencies:
2528
patterns:
2629
- '@react-stately/*'

.github/workflows/acceptance.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959
matrix:
6060
# XXX: When updating this, make sure you also update MATRIX_INSTANCE_TOTAL.
6161
instance: [0, 1, 2, 3, 4]
62-
pg-version: ['14']
6362
env:
6463
# XXX: MATRIX_INSTANCE_TOTAL must be hardcoded to the length of strategy.matrix.instance.
6564
MATRIX_INSTANCE_TOTAL: 5
@@ -72,7 +71,7 @@ jobs:
7271
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
7372
id: setup-node
7473
with:
75-
node-version-file: '.volta.json'
74+
node-version-file: '.node-version'
7675

7776
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
7877

@@ -93,7 +92,7 @@ jobs:
9392
id: nodemodulescache
9493
with:
9594
path: node_modules
96-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
95+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
9796

9897
- name: Install Javascript Dependencies
9998
if: steps.nodemodulescache.outputs.cache-hit != 'true'

.github/workflows/backend.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
5151
id: setup-node
5252
with:
53-
node-version-file: '.volta.json'
53+
node-version-file: '.node-version'
5454

5555
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
5656

@@ -89,7 +89,6 @@ jobs:
8989
# XXX: When updating this, make sure you also update MATRIX_INSTANCE_TOTAL.
9090
instance:
9191
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
92-
pg-version: ['14']
9392

9493
env:
9594
# XXX: `MATRIX_INSTANCE_TOTAL` must be hardcoded to the length of `strategy.matrix.instance`.
@@ -143,9 +142,6 @@ jobs:
143142
name: backend migration tests
144143
runs-on: ubuntu-24.04
145144
timeout-minutes: 30
146-
strategy:
147-
matrix:
148-
pg-version: ['14']
149145

150146
steps:
151147
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
@@ -182,9 +178,6 @@ jobs:
182178
name: cli test
183179
runs-on: ubuntu-24.04
184180
timeout-minutes: 10
185-
strategy:
186-
matrix:
187-
pg-version: ['14']
188181
steps:
189182
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
190183

@@ -252,9 +245,6 @@ jobs:
252245
needs: files-changed
253246
name: check migration
254247
runs-on: ubuntu-24.04
255-
strategy:
256-
matrix:
257-
pg-version: ['14']
258248

259249
steps:
260250
- name: Checkout sentry

.github/workflows/codecov_per_test_coverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
matrix:
2323
# XXX: When updating this, make sure you also update MATRIX_INSTANCE_TOTAL.
2424
instance: [0, 1, 2, 3, 4, 5, 6]
25-
pg-version: ['14']
2625

2726
env:
2827
# XXX: `MATRIX_INSTANCE_TOTAL` must be hardcoded to the length of `strategy.matrix.instance`.

.github/workflows/frontend.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
5151
id: setup-node
5252
with:
53-
node-version-file: '.volta.json'
53+
node-version-file: '.node-version'
5454

5555
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
5656

@@ -59,7 +59,7 @@ jobs:
5959
id: nodemodulescache
6060
with:
6161
path: node_modules
62-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
62+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
6363

6464
- name: Install Javascript Dependencies
6565
if: steps.nodemodulescache.outputs.cache-hit != 'true'
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
8787
id: setup-node
8888
with:
89-
node-version-file: '.volta.json'
89+
node-version-file: '.node-version'
9090

9191
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
9292

@@ -95,7 +95,7 @@ jobs:
9595
id: nodemodulescache
9696
with:
9797
path: node_modules
98-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
98+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
9999

100100
- name: Install Javascript Dependencies
101101
if: steps.nodemodulescache.outputs.cache-hit != 'true'
@@ -122,7 +122,7 @@ jobs:
122122
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
123123
id: setup-node
124124
with:
125-
node-version-file: '.volta.json'
125+
node-version-file: '.node-version'
126126

127127
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
128128

@@ -131,7 +131,7 @@ jobs:
131131
id: nodemodulescache
132132
with:
133133
path: node_modules
134-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
134+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
135135

136136
- name: Install Javascript Dependencies
137137
if: steps.nodemodulescache.outputs.cache-hit != 'true'
@@ -175,7 +175,7 @@ jobs:
175175
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
176176
id: setup-node
177177
with:
178-
node-version-file: '.volta.json'
178+
node-version-file: '.node-version'
179179

180180
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
181181

@@ -184,7 +184,7 @@ jobs:
184184
id: nodemodulescache
185185
with:
186186
path: node_modules
187-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
187+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
188188

189189
- name: Install Javascript Dependencies
190190
if: steps.nodemodulescache.outputs.cache-hit != 'true'

.github/workflows/jest-balance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
1717
id: setup-node
1818
with:
19-
node-version-file: '.volta.json'
19+
node-version-file: '.node-version'
2020

2121
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
2222

@@ -25,7 +25,7 @@ jobs:
2525
id: nodemodulescache
2626
with:
2727
path: node_modules
28-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
28+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
2929

3030
- name: Install Javascript Dependencies
3131
if: steps.nodemodulescache.outputs.cache-hit != 'true'

.github/workflows/migrations-drift.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ jobs:
2020
name: migration drift
2121
runs-on: ubuntu-24.04
2222
timeout-minutes: 15
23-
strategy:
24-
matrix:
25-
pg-version: ['14']
2623

2724
steps:
2825
# Checkout master to run all merged migrations.

.github/workflows/migrations.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
name: Generate SQL
3838
runs-on: ubuntu-24.04
3939
timeout-minutes: 8
40-
strategy:
41-
matrix:
42-
pg-version: ['14']
4340

4441
needs: did-migration-change
4542
if: needs.did-migration-change.outputs.added == 'true'

.github/workflows/openapi-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
4545
id: setup-node
4646
with:
47-
node-version-file: '.volta.json'
47+
node-version-file: '.node-version'
4848

4949
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
5050

.github/workflows/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
if: steps.changes.outputs.api_docs == 'true'
4949
id: setup-node
5050
with:
51-
node-version-file: '.volta.json'
51+
node-version-file: '.node-version'
5252

5353
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
5454

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
5757
id: setup-node
5858
with:
59-
node-version-file: '.volta.json'
59+
node-version-file: '.node-version'
6060

6161
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
6262

@@ -65,7 +65,7 @@ jobs:
6565
id: nodemodulescache
6666
with:
6767
path: node_modules
68-
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.volta.json') }}
68+
key: ${{ runner.os }}-node-modules-${{ hashFiles('pnpm-lock.yaml', 'api-docs/pnpm-lock.yaml', '.node-version') }}
6969

7070
- name: Install Javascript Dependencies
7171
if: steps.nodemodulescache.outputs.cache-hit != 'true'

.github/workflows/self-hosted.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
3838
id: setup-node
3939
with:
40-
node-version-file: '.volta.json'
40+
node-version-file: '.node-version'
4141

4242
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
4343

@@ -64,7 +64,7 @@ jobs:
6464
id: nodemodulescache
6565
with:
6666
path: node_modules
67-
key: ${{ runner.os }}-self-hosted-node-modules-${{ hashFiles('pnpm-lock.yaml', '.volta.json') }}
67+
key: ${{ runner.os }}-self-hosted-node-modules-${{ hashFiles('pnpm-lock.yaml', '.node-version') }}
6868

6969
- name: Install Javascript Dependencies
7070
if: steps.nodemodulescache.outputs.cache-hit != 'true'
@@ -103,7 +103,7 @@ jobs:
103103

104104
assemble:
105105
needs: [self-hosted]
106-
if: ${{ github.ref_name == 'master' && github.event_name != 'pull_request' }}
106+
if: ${{ (github.ref_name == 'master' || startsWith(github.ref_name, 'releases/')) && github.event_name != 'pull_request' }}
107107
runs-on: ubuntu-latest
108108
permissions:
109109
contents: read

.github/workflows/shuffle-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
matrix:
3939
# XXX: When updating this, make sure you also update MATRIX_INSTANCE_TOTAL.
4040
instance: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
41-
pg-version: ['14']
4241

4342
env:
4443
# XXX: `MATRIX_INSTANCE_TOTAL` must be hardcoded to the length of `strategy.matrix.instance`.

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
2727
id: setup-node
2828
with:
29-
node-version-file: '.volta.json'
29+
node-version-file: '.node-version'
3030

3131
- uses: pnpm/action-setup@36de12bed180fa130ed56a35e7344f2fa7a820ab # v4
3232

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.16.0

.volta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"volta": {
3-
"node": "22.11.0"
3+
"node": "22.16.0"
44
}
55
}

0 commit comments

Comments
 (0)