Skip to content

Commit 4c3c05c

Browse files
committed
Merge branch 'develop' into timfish/feat/handle-tunnel-envelope
2 parents 08fd2f7 + 8f9f42c commit 4c3c05c

File tree

2,901 files changed

+73789
-54691
lines changed

Some content is hidden

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

2,901 files changed

+73789
-54691
lines changed

.craft.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,27 @@ targets:
88
- name: npm
99
id: '@sentry/types'
1010
includeNames: /^sentry-types-\d.*\.tgz$/
11-
## 1.2 Utils
12-
- name: npm
13-
id: '@sentry/utils'
14-
includeNames: /^sentry-utils-\d.*\.tgz$/
15-
## 1.3 Core SDK
11+
## 1.2 Core SDK
1612
- name: npm
1713
id: '@sentry/core'
1814
includeNames: /^sentry-core-\d.*\.tgz$/
19-
## 1.4 Browser Utils package
15+
## 1.3 Browser Utils package
2016
- name: npm
2117
id: '@sentry-internal/browser-utils'
2218
includeNames: /^sentry-internal-browser-utils-\d.*\.tgz$/
23-
## 1.5 Replay Internal package (browser only)
19+
## 1.4 Replay Internal package (browser only)
2420
- name: npm
2521
id: '@sentry-internal/replay'
2622
includeNames: /^sentry-internal-replay-\d.*\.tgz$/
27-
## 1.6 OpenTelemetry package
23+
## 1.5 OpenTelemetry package
2824
- name: npm
2925
id: '@sentry/opentelemetry'
3026
includeNames: /^sentry-opentelemetry-\d.*\.tgz$/
31-
## 1.7 Feedback package (browser only)
27+
## 1.6 Feedback package (browser only)
3228
- name: npm
3329
id: '@sentry-internal/feedback'
3430
includeNames: /^sentry-internal-feedback-\d.*\.tgz$/
35-
## 1.8 ReplayCanvas package (browser only)
31+
## 1.7 ReplayCanvas package (browser only)
3632
- name: npm
3733
id: '@sentry-internal/replay-canvas'
3834
includeNames: /^sentry-internal-replay-canvas-\d.*\.tgz$/
@@ -81,14 +77,6 @@ targets:
8177
- name: npm
8278
id: '@sentry/deno'
8379
includeNames: /^sentry-deno-\d.*\.tgz$/
84-
- name: commit-on-git-repository
85-
# This will publish on the Deno registry
86-
id: getsentry/deno
87-
archive: /^sentry-deno-\d.*\.tgz$/
88-
repositoryUrl: https://github.com/getsentry/sentry-deno.git
89-
stripComponents: 1
90-
branch: main
91-
createTag: true
9280

9381
## 5. Node-based Packages
9482
- name: npm
@@ -143,7 +131,7 @@ targets:
143131
# AWS Lambda Layer target
144132
- name: aws-lambda-layer
145133
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
146-
layerName: SentryNodeServerlessSDK
134+
layerName: SentryNodeServerlessSDKv9
147135
compatibleRuntimes:
148136
- name: node
149137
versions:

.github/ISSUE_TEMPLATE/flaky.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body:
1919
id: job-name
2020
attributes:
2121
label: Name of Job
22-
placeholder: "CI: Build & Test / Nextjs (Node 14) Tests"
22+
placeholder: "CI: Build & Test / Nextjs (Node 18) Tests"
2323
description: name of job as reported in the status report
2424
validations:
2525
required: true

.github/actions/install-playwright/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
browsers:
55
description: 'What browsers to install.'
66
default: 'chromium webkit firefox'
7+
cwd:
8+
description: 'The working directory to run Playwright in.'
9+
default: '.'
710

811
runs:
912
using: "composite"
@@ -12,6 +15,8 @@ runs:
1215
id: playwright-version
1316
run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT
1417
shell: bash
18+
working-directory: ${{ inputs.cwd }}
19+
1520

1621
- name: Restore cached playwright binaries
1722
uses: actions/cache/restore@v4
@@ -26,11 +31,13 @@ runs:
2631
run: npx playwright install chromium webkit firefox --with-deps
2732
if: steps.playwright-cache.outputs.cache-hit != 'true'
2833
shell: bash
34+
working-directory: ${{ inputs.cwd }}
2935

3036
- name: Install Playwright system dependencies only (cached)
3137
run: npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
3238
if: steps.playwright-cache.outputs.cache-hit == 'true'
3339
shell: bash
40+
working-directory: ${{ inputs.cwd }}
3441

3542
# Only store cache on develop branch
3643
- name: Store cached playwright binaries

.github/actions/restore-cache/action.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ inputs:
55
dependency_cache_key:
66
description: "The dependency cache key"
77
required: true
8-
node_version:
9-
description: "If set, temporarily set node version to default one before installing, then revert to this version after."
10-
required: false
118

129
runs:
1310
using: "composite"
@@ -24,19 +21,7 @@ runs:
2421
with:
2522
name: build-output
2623

27-
- name: Use default node version for install
28-
if: inputs.node_version && steps.dep-cache.outputs.cache-hit != 'true'
29-
uses: actions/setup-node@v4
30-
with:
31-
node-version-file: 'package.json'
32-
3324
- name: Install dependencies
3425
if: steps.dep-cache.outputs.cache-hit != 'true'
3526
run: yarn install --ignore-engines --frozen-lockfile
3627
shell: bash
37-
38-
- name: Revert node version to ${{ inputs.node_version }}
39-
if: inputs.node_version && steps.dep-cache.outputs.cache-hit != 'true'
40-
uses: actions/setup-node@v4
41-
with:
42-
node-version: ${{ inputs.node_version }}

.github/dependency-review-config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
fail-on-severity: 'high'
22
allow-ghsas:
33
# dependency review does not allow specific file exclusions
4-
# we use an older version of NextJS in our tests and thus need to
4+
# we use an older version of NextJS in our tests and thus need to
55
# exclude this
66
# once our minimum supported version is over 14.1.1 this can be removed
77
- GHSA-fr5h-rqp8-mj6g
8+
# we need this for an E2E test for the minimum required version of Nuxt 3.7.0
9+
- GHSA-v784-fjjh-f8r4
10+
# Next.js Cache poisoning - We require a vulnerable version for E2E testing
11+
- GHSA-gp8f-8m3g-qvj9

.github/workflows/auto-release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ jobs:
1313
name: 'Prepare a new version'
1414

1515
steps:
16+
- name: Get auth token
17+
id: token
18+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
19+
with:
20+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
21+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
22+
1623
- uses: actions/checkout@v4
1724
with:
18-
token: ${{ secrets.GH_RELEASE_PAT }}
25+
token: ${{ steps.token.outputs.token }}
1926
fetch-depth: 0
2027

2128
# https://github.com/actions-ecosystem/action-regex-match
@@ -34,11 +41,16 @@ jobs:
3441
version=${version/'prepare-release/'/''}
3542
echo "version=$version" >> $GITHUB_OUTPUT
3643
44+
- name: Set up Node
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version-file: 'package.json'
48+
3749
- name: Prepare release
3850
uses: getsentry/action-prepare-release@v1
3951
if: github.event.pull_request.merged == true && steps.version-regex.outputs.match != '' && steps.get_version.outputs.version != ''
4052
env:
41-
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
53+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
4254
with:
4355
version: ${{ steps.get_version.outputs.version }}
4456
force: false

0 commit comments

Comments
 (0)