Skip to content

Commit 00c9a99

Browse files
committed
Merge branch 'develop' into lazarnikolov/js-2140-tanstack-start-tunnel-adapter
2 parents da03651 + 8f32e18 commit 00c9a99

561 files changed

Lines changed: 5850 additions & 2759 deletions

File tree

Some content is hidden

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

.agents/skills/e2e/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ All tests completed successfully. Your SDK changes work correctly with this test
116116

117117
- **No tarballs found**: Run `yarn build && yarn build:tarball` at repository root
118118
- **Test app not found**: List available apps and ask user to clarify
119-
- **Verdaccio not running**: Tests should start Verdaccio automatically, but if issues occur, check Docker
119+
- **Packed tarballs missing**: Run `yarn build:tarball` at the repo root, then `yarn test:prepare` in `dev-packages/e2e-tests`
120120
- **Build failures**: Fix build errors before running tests
121121

122122
## Common Test Applications

.craft.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ targets:
139139
- name: npm
140140
id: '@sentry/react-router'
141141
includeNames: /^sentry-react-router-\d.*\.tgz$/
142+
- name: npm
143+
id: '@sentry/nitro'
144+
includeNames: /^sentry-nitro-\d.*\.tgz$/
142145

143146
## 7. Other Packages
144147
## 7.1
@@ -256,3 +259,9 @@ targets:
256259
packageUrl: 'https://www.npmjs.com/package/@sentry/elysia'
257260
mainDocsUrl: 'https://docs.sentry.io/platforms/javascript/guides/elysia/'
258261
onlyIfPresent: /^sentry-elysia-\d.*\.tgz$/
262+
'npm:@sentry/nitro':
263+
name: 'Sentry Nitro SDK'
264+
sdkName: 'sentry.javascript.nitro'
265+
packageUrl: 'https://www.npmjs.com/package/@sentry/nitro'
266+
mainDocsUrl: 'https://docs.sentry.io/platforms/javascript/guides/nitro/'
267+
onlyIfPresent: /^sentry-nitro-\d.*\.tgz$/

.cursor/BUGBOT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Do not flag the issues below if they appear in tests.
6363
- Race conditions when waiting on multiple requests. Ensure that waiting checks are unique enough and don't depend on a hard order when there's a chance that telemetry can be sent in arbitrary order.
6464
- Timeouts or sleeps in tests. Instead suggest concrete events or other signals to wait on.
6565
- Flag usage of `getFirstEnvelope*`, `getMultipleEnvelope*` or related test helpers. These are NOT reliable anymore. Instead suggest helpers like `waitForTransaction`, `waitForError`, `waitForSpans`, etc.
66+
- Flag any new or modified `docker-compose.yml` under `dev-packages/node-integration-tests/suites/` or `dev-packages/node-core-integration-tests/suites/` where a service does not define a `healthcheck:`. The runner uses `docker compose up --wait` and relies on healthchecks to know when services are actually ready; without one the test will race the service's startup.
6667

6768
## Platform-safe code
6869

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ body:
5252
- '@sentry/google-cloud-serverless'
5353
- '@sentry/nestjs'
5454
- '@sentry/nextjs'
55+
- '@sentry/nitro'
5556
- '@sentry/nuxt'
5657
- '@sentry/react'
5758
- '@sentry/react-router'

.github/workflows/build.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ jobs:
935935
matrix.test-application)
936936
uses: oven-sh/setup-bun@v2
937937
- name: Set up AWS SAM
938-
if: matrix.test-application == 'aws-serverless'
938+
if: matrix.test-application == 'aws-serverless' || matrix.test-application == 'aws-serverless-layer'
939939
uses: aws-actions/setup-sam@v2
940940
with:
941941
use-installer: true
@@ -961,18 +961,24 @@ jobs:
961961
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'
962962
run: yarn build:tarball
963963

964-
- name: Validate Verdaccio
965-
run: yarn test:validate
964+
- name: Prepare e2e tests
965+
run: yarn test:prepare
966966
working-directory: dev-packages/e2e-tests
967967

968-
- name: Prepare Verdaccio
969-
run: yarn test:prepare
968+
- name: Validate e2e tests setup
969+
run: yarn test:validate
970970
working-directory: dev-packages/e2e-tests
971971

972972
- name: Copy to temp
973973
run: yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
974974
working-directory: dev-packages/e2e-tests
975975

976+
- name: Add pnpm overrides
977+
run:
978+
yarn ci:pnpm-overrides ${{ runner.temp }}/test-application ${{ github.workspace
979+
}}/dev-packages/e2e-tests/packed
980+
working-directory: dev-packages/e2e-tests
981+
976982
- name: Build E2E app
977983
working-directory: ${{ runner.temp }}/test-application
978984
timeout-minutes: 7
@@ -1071,18 +1077,24 @@ jobs:
10711077
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'
10721078
run: yarn build:tarball
10731079

1074-
- name: Validate Verdaccio
1075-
run: yarn test:validate
1080+
- name: Prepare E2E tests
1081+
run: yarn test:prepare
10761082
working-directory: dev-packages/e2e-tests
10771083

1078-
- name: Prepare Verdaccio
1079-
run: yarn test:prepare
1084+
- name: Validate test setup
1085+
run: yarn test:validate
10801086
working-directory: dev-packages/e2e-tests
10811087

10821088
- name: Copy to temp
10831089
run: yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
10841090
working-directory: dev-packages/e2e-tests
10851091

1092+
- name: Add pnpm overrides
1093+
run:
1094+
yarn ci:pnpm-overrides ${{ runner.temp }}/test-application ${{ github.workspace
1095+
}}/dev-packages/e2e-tests/packed
1096+
working-directory: dev-packages/e2e-tests
1097+
10861098
- name: Build E2E app
10871099
working-directory: ${{ runner.temp }}/test-application
10881100
timeout-minutes: 7

.github/workflows/canary.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ jobs:
120120
- test-application: 'nestjs-microservices'
121121
build-command: 'test:build-latest'
122122
label: 'nestjs-microservices (latest)'
123+
- test-application: 'nitro-3'
124+
build-command: 'test:build-canary'
125+
label: 'nitro-3 (canary)'
123126

124127
steps:
125128
- name: Check out current commit
@@ -140,18 +143,24 @@ jobs:
140143
path: ${{ env.CACHED_BUILD_PATHS }}
141144
key: canary-${{ env.HEAD_COMMIT }}
142145

143-
- name: Validate Verdaccio
144-
run: yarn test:validate
146+
- name: Prepare e2e tests
147+
run: yarn test:prepare
145148
working-directory: dev-packages/e2e-tests
146149

147-
- name: Prepare Verdaccio
148-
run: yarn test:prepare
150+
- name: Validate test setup
151+
run: yarn test:validate
149152
working-directory: dev-packages/e2e-tests
150153

151154
- name: Copy to temp
152155
run: yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
153156
working-directory: dev-packages/e2e-tests
154157

158+
- name: Add pnpm overrides
159+
run:
160+
yarn ci:pnpm-overrides ${{ runner.temp }}/test-application ${{ github.workspace
161+
}}/dev-packages/e2e-tests/packed
162+
working-directory: dev-packages/e2e-tests
163+
155164
- name: Build E2E app
156165
working-directory: ${{ runner.temp }}/test-application
157166
timeout-minutes: 7

.github/workflows/issue-package-label.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ jobs:
6565
"@sentry.nestjs": {
6666
"label": "Nest.js"
6767
},
68+
"@sentry.nitro": {
69+
"label": "Nitro"
70+
},
6871
"@sentry.nextjs": {
6972
"label": "Next.js"
7073
},

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ local.log
3939

4040
.rpt2_cache
4141

42-
# verdaccio local registry (e2e tests)
43-
dev-packages/e2e-tests/verdaccio-config/storage/
44-
4542
lint-results.json
4643
trace.zip
4744

@@ -70,6 +67,7 @@ packages/**/*.junit.xml
7067

7168
# Local Claude Code settings that should not be committed
7269
.claude/settings.local.json
70+
.claude/worktrees
7371

7472
# Triage report
7573
**/triage_report.md

.oxlintrc.base.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,19 @@
117117
"max-lines": "off"
118118
}
119119
},
120+
{
121+
"files": ["**/integrations/node-fetch/vendored/**/*.ts"],
122+
"rules": {
123+
"typescript/consistent-type-imports": "off",
124+
"typescript/no-unnecessary-type-assertion": "off",
125+
"typescript/no-unsafe-member-access": "off",
126+
"typescript/no-explicit-any": "off",
127+
"typescript/prefer-for-of": "off",
128+
"max-lines": "off",
129+
"complexity": "off",
130+
"no-param-reassign": "off"
131+
}
132+
},
120133
{
121134
"files": [
122135
"**/scenarios/**",

.version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_comment": "Auto-generated by scripts/bump-version.js. Used by the gitflow sync workflow to detect version bumps. Do not edit manually.",
3-
"version": "10.49.0"
3+
"version": "10.50.0"
44
}

0 commit comments

Comments
 (0)