Skip to content

Commit 94bb650

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/feat/growthbook-integration' into feat/growthbook-integration
2 parents 996a37d + 0a6c795 commit 94bb650

File tree

990 files changed

+22776
-11813
lines changed

Some content is hidden

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

990 files changed

+22776
-11813
lines changed

.claude/settings.local.json renamed to .claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
],
1212
"deny": []
1313
}
14-
}
14+
}

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ aecf26f22dbf65ce2c0caadc4ce71b46266c9f45
2121
971b51d4b8e92aa1b93c51074e28c7cbed63b486
2222
ebc9b539548953bb9dd81d6a18adcdd91e804563
2323
c88ff463a5566194a454b58bc555f183cf9ee813
24+
25+
# chore: Ensure prettier is run on all files #17497
26+
90edf65b3d93c89ae576b063a839541022f478cf

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ body:
133133
description: Logs? Screenshots? Yes, please.
134134
validations:
135135
required: true
136+
- type: textarea
137+
id: additional
138+
attributes:
139+
label: Additional Context
140+
description:
141+
Add any other context here. Please keep the pre-filled text, which helps us manage issue prioritization.
142+
value: |-
143+
<sub>Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.</sub>
144+
validations:
145+
required: false
136146
- type: markdown
137147
attributes:
138148
value: |-

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ body:
2323
Add a blender to Sentry.
2424
validations:
2525
required: true
26+
- type: textarea
27+
id: additional
28+
attributes:
29+
label: Additional Context
30+
description:
31+
Add any other context here. Please keep the pre-filled text, which helps us manage feature prioritization.
32+
value: |-
33+
<sub>Tip: React with 👍 to help prioritize this improvement. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.</sub>
34+
validations:
35+
required: false
2636
- type: markdown
2737
attributes:
2838
value: |-

.github/workflows/auto-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
steps:
1616
- name: Get auth token
1717
id: token
18-
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
18+
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
1919
with:
2020
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2121
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
2222

23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
with:
2525
token: ${{ steps.token.outputs.token }}
2626
fetch-depth: 0

.github/workflows/build.yml

Lines changed: 62 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
pull-requests: read
7272
steps:
7373
- name: Check out current commit
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v5
7575
with:
7676
ref: ${{ env.HEAD_COMMIT }}
7777
# We need to check out not only the fake merge commit between the PR and the base branch which GH creates, but
@@ -131,13 +131,13 @@ jobs:
131131
(needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'false')
132132
steps:
133133
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
134-
uses: actions/checkout@v4
134+
uses: actions/checkout@v5
135135
if: github.event_name == 'pull_request'
136136
with:
137137
ref: ${{ github.event.pull_request.base.sha }}
138138

139139
- name: 'Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})'
140-
uses: actions/checkout@v4
140+
uses: actions/checkout@v5
141141
with:
142142
ref: ${{ env.HEAD_COMMIT }}
143143

@@ -200,6 +200,9 @@ jobs:
200200
changed_node:
201201
${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
202202
'@sentry/node') }}
203+
changed_node_overhead_action:
204+
${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
205+
'@sentry-internal/node-overhead-gh-action') }}
203206
changed_deno:
204207
${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
205208
'@sentry/deno') }}
@@ -235,7 +238,7 @@ jobs:
235238
needs.job_get_metadata.outputs.is_release == 'true'
236239
steps:
237240
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
238-
uses: actions/checkout@v4
241+
uses: actions/checkout@v5
239242
with:
240243
ref: ${{ env.HEAD_COMMIT }}
241244
- name: Set up Node
@@ -253,6 +256,37 @@ jobs:
253256
# Only run comparison against develop if this is a PR
254257
comparison_branch: ${{ (github.event_name == 'pull_request' && github.base_ref) || ''}}
255258

259+
job_node_overhead_check:
260+
name: Node Overhead Check
261+
needs: [job_get_metadata, job_build]
262+
timeout-minutes: 15
263+
runs-on: ubuntu-24.04
264+
if:
265+
(needs.job_build.outputs.changed_node == 'true' && github.event_name == 'pull_request') ||
266+
(needs.job_build.outputs.changed_node_overhead_action == 'true' && github.event_name == 'pull_request') ||
267+
needs.job_get_metadata.outputs.is_base_branch == 'true' || needs.job_get_metadata.outputs.is_release == 'true'
268+
steps:
269+
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
270+
uses: actions/checkout@v5
271+
with:
272+
ref: ${{ env.HEAD_COMMIT }}
273+
- name: Set up Node
274+
uses: actions/setup-node@v4
275+
with:
276+
node-version-file: 'package.json'
277+
- name: Restore caches
278+
uses: ./.github/actions/restore-cache
279+
with:
280+
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
281+
- name: Check node overhead
282+
uses: ./dev-packages/node-overhead-gh-action
283+
env:
284+
DEBUG: '1'
285+
with:
286+
github_token: ${{ secrets.GITHUB_TOKEN }}
287+
# Only run comparison against develop if this is a PR
288+
comparison_branch: ${{ (github.event_name == 'pull_request' && github.base_ref) || ''}}
289+
256290
job_lint:
257291
name: Lint
258292
# Even though the linter only checks source code, not built code, it needs the built code in order check that all
@@ -262,7 +296,7 @@ jobs:
262296
runs-on: ubuntu-24.04
263297
steps:
264298
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
265-
uses: actions/checkout@v4
299+
uses: actions/checkout@v5
266300
with:
267301
ref: ${{ env.HEAD_COMMIT }}
268302
- name: Set up Node
@@ -281,14 +315,17 @@ jobs:
281315
- name: Lint for ES compatibility
282316
run: yarn lint:es-compatibility
283317

318+
- name: Check that yarn.lock is stable
319+
run: yarn && git diff --exit-code yarn.lock
320+
284321
job_check_format:
285322
name: Check file formatting
286323
needs: [job_get_metadata]
287324
timeout-minutes: 10
288325
runs-on: ubuntu-24.04
289326
steps:
290327
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
291-
uses: actions/checkout@v4
328+
uses: actions/checkout@v5
292329
with:
293330
ref: ${{ env.HEAD_COMMIT }}
294331

@@ -311,7 +348,7 @@ jobs:
311348
runs-on: ubuntu-24.04
312349
steps:
313350
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
314-
uses: actions/checkout@v4
351+
uses: actions/checkout@v5
315352
with:
316353
ref: ${{ env.HEAD_COMMIT }}
317354
- name: Set up Node
@@ -333,7 +370,7 @@ jobs:
333370
if: needs.job_get_metadata.outputs.is_release == 'true'
334371
steps:
335372
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
336-
uses: actions/checkout@v4
373+
uses: actions/checkout@v5
337374
with:
338375
ref: ${{ env.HEAD_COMMIT }}
339376
- name: Set up Node
@@ -368,13 +405,13 @@ jobs:
368405
runs-on: ubuntu-24.04
369406
steps:
370407
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
371-
uses: actions/checkout@v4
408+
uses: actions/checkout@v5
372409
if: github.event_name == 'pull_request'
373410
with:
374411
ref: ${{ github.event.pull_request.base.sha }}
375412

376413
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
377-
uses: actions/checkout@v4
414+
uses: actions/checkout@v5
378415
with:
379416
ref: ${{ env.HEAD_COMMIT }}
380417
- name: Set up Node
@@ -415,7 +452,7 @@ jobs:
415452
runs-on: ubuntu-24.04
416453
steps:
417454
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
418-
uses: actions/checkout@v4
455+
uses: actions/checkout@v5
419456
with:
420457
ref: ${{ env.HEAD_COMMIT }}
421458
- name: Set up Node
@@ -440,7 +477,7 @@ jobs:
440477
runs-on: ubuntu-24.04
441478
steps:
442479
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
443-
uses: actions/checkout@v4
480+
uses: actions/checkout@v5
444481
with:
445482
ref: ${{ env.HEAD_COMMIT }}
446483
- name: Set up Node
@@ -472,12 +509,12 @@ jobs:
472509
node: [18, 20, 22, 24]
473510
steps:
474511
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
475-
uses: actions/checkout@v4
512+
uses: actions/checkout@v5
476513
if: github.event_name == 'pull_request'
477514
with:
478515
ref: ${{ github.event.pull_request.base.sha }}
479516
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
480-
uses: actions/checkout@v4
517+
uses: actions/checkout@v5
481518
with:
482519
ref: ${{ env.HEAD_COMMIT }}
483520
- name: Set up Node
@@ -566,7 +603,7 @@ jobs:
566603

567604
steps:
568605
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
569-
uses: actions/checkout@v4
606+
uses: actions/checkout@v5
570607
with:
571608
ref: ${{ env.HEAD_COMMIT }}
572609
- name: Set up Node
@@ -630,7 +667,7 @@ jobs:
630667

631668
steps:
632669
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
633-
uses: actions/checkout@v4
670+
uses: actions/checkout@v5
634671
with:
635672
ref: ${{ env.HEAD_COMMIT }}
636673
- name: Set up Node
@@ -678,7 +715,7 @@ jobs:
678715
timeout-minutes: 5
679716
steps:
680717
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
681-
uses: actions/checkout@v4
718+
uses: actions/checkout@v5
682719
with:
683720
ref: ${{ env.HEAD_COMMIT }}
684721
- name: Set up Node
@@ -716,7 +753,7 @@ jobs:
716753
typescript: '3.8'
717754
steps:
718755
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
719-
uses: actions/checkout@v4
756+
uses: actions/checkout@v5
720757
with:
721758
ref: ${{ env.HEAD_COMMIT }}
722759
- name: Set up Node
@@ -752,7 +789,7 @@ jobs:
752789
timeout-minutes: 15
753790
steps:
754791
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
755-
uses: actions/checkout@v4
792+
uses: actions/checkout@v5
756793
with:
757794
ref: ${{ env.HEAD_COMMIT }}
758795
- name: Set up Node
@@ -780,7 +817,7 @@ jobs:
780817
node: [18, 20, 22, 24]
781818
steps:
782819
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
783-
uses: actions/checkout@v4
820+
uses: actions/checkout@v5
784821
with:
785822
ref: ${{ env.HEAD_COMMIT }}
786823
- name: Set up Node
@@ -827,12 +864,12 @@ jobs:
827864
matrix-optional: ${{ steps.matrix-optional.outputs.matrix }}
828865
steps:
829866
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
830-
uses: actions/checkout@v4
867+
uses: actions/checkout@v5
831868
if: github.event_name == 'pull_request'
832869
with:
833870
ref: ${{ github.event.pull_request.base.sha }}
834871
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
835-
uses: actions/checkout@v4
872+
uses: actions/checkout@v5
836873
with:
837874
ref: ${{ env.HEAD_COMMIT }}
838875
- name: Set up Node
@@ -897,7 +934,7 @@ jobs:
897934
matrix: ${{ fromJson(needs.job_e2e_prepare.outputs.matrix) }}
898935
steps:
899936
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
900-
uses: actions/checkout@v4
937+
uses: actions/checkout@v5
901938
with:
902939
ref: ${{ env.HEAD_COMMIT }}
903940
- uses: pnpm/action-setup@v4
@@ -1027,7 +1064,7 @@ jobs:
10271064

10281065
steps:
10291066
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
1030-
uses: actions/checkout@v4
1067+
uses: actions/checkout@v5
10311068
with:
10321069
ref: ${{ env.HEAD_COMMIT }}
10331070
- uses: pnpm/action-setup@v4
@@ -1137,6 +1174,6 @@ jobs:
11371174
runs-on: ubuntu-24.04
11381175
steps:
11391176
- name: Check for failures
1140-
if: contains(needs.*.result, 'failure')
1177+
if: cancelled() || contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
11411178
run: |
11421179
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1

.github/workflows/canary.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
timeout-minutes: 30
3232
steps:
3333
- name: Check out current commit
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535
with:
3636
ref: ${{ env.HEAD_COMMIT }}
3737
- name: Set up Node
@@ -81,9 +81,6 @@ jobs:
8181
- test-application: 'nextjs-app-dir'
8282
build-command: 'test:build-latest'
8383
label: 'nextjs-app-dir (latest)'
84-
- test-application: 'nextjs-13'
85-
build-command: 'test:build-canary'
86-
label: 'nextjs-13 (canary)'
8784
- test-application: 'nextjs-13'
8885
build-command: 'test:build-latest'
8986
label: 'nextjs-13 (latest)'
@@ -120,7 +117,7 @@ jobs:
120117

121118
steps:
122119
- name: Check out current commit
123-
uses: actions/checkout@v4
120+
uses: actions/checkout@v5
124121
with:
125122
ref: ${{ env.HEAD_COMMIT }}
126123
- uses: pnpm/action-setup@v4

.github/workflows/cleanup-pr-caches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
contents: read
1515
steps:
1616
- name: Check out code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Cleanup
2020
run: |

.github/workflows/clear-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: Delete all caches
2424
runs-on: ubuntu-24.04
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727

2828
- name: Set up Node
2929
uses: actions/setup-node@v4

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v5
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL

0 commit comments

Comments
 (0)