Skip to content

Commit 922ee0c

Browse files
authored
Merge branch 'develop' into baggage-sent-twice
2 parents 9946766 + 3bb4325 commit 922ee0c

57 files changed

Lines changed: 1151 additions & 60 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.

dev-packages/e2e-tests/test-applications/nextjs-15-intl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@types/node": "^18.19.1",
1616
"@types/react": "18.0.26",
1717
"@types/react-dom": "18.0.9",
18-
"next": "15.5.10",
18+
"next": "15.5.13",
1919
"next-intl": "^4.3.12",
2020
"react": "latest",
2121
"react-dom": "latest",

dev-packages/e2e-tests/test-applications/nextjs-15-t3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@trpc/client": "~11.8.0",
2121
"@trpc/react-query": "~11.8.0",
2222
"@trpc/server": "~11.8.0",
23-
"next": "^15.5.9",
23+
"next": "^15.5.13",
2424
"react": "^19.1.0",
2525
"react-dom": "^19.1.0",
2626
"server-only": "^0.0.1",

dev-packages/e2e-tests/test-applications/nextjs-15/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@types/react": "18.0.26",
2121
"@types/react-dom": "18.0.9",
2222
"ai": "^3.0.0",
23-
"next": "15.5.10",
23+
"next": "15.5.13",
2424
"react": "latest",
2525
"react-dom": "latest",
2626
"typescript": "~5.0.0",

dev-packages/e2e-tests/test-applications/nextjs-16-bun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@sentry/nextjs": "latest || *",
1616
"@sentry/core": "latest || *",
1717
"import-in-the-middle": "^2",
18-
"next": "16.1.5",
18+
"next": "16.1.7",
1919
"react": "19.1.0",
2020
"react-dom": "19.1.0",
2121
"require-in-the-middle": "^8"

dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@sentry/nextjs": "latest || *",
2727
"@sentry/core": "latest || *",
2828
"import-in-the-middle": "^1",
29-
"next": "16.1.5",
29+
"next": "16.1.7",
3030
"react": "19.1.0",
3131
"react-dom": "19.1.0",
3232
"require-in-the-middle": "^7",

dev-packages/e2e-tests/test-applications/nextjs-16-cf-workers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@opennextjs/cloudflare": "^1.14.9",
2121
"@sentry/nextjs": "latest || *",
2222
"@sentry/core": "latest || *",
23-
"next": "16.1.5",
23+
"next": "16.1.7",
2424
"react": "19.1.0",
2525
"react-dom": "19.1.0"
2626
},

dev-packages/e2e-tests/test-applications/nextjs-16-cf-workers/tests/cloudflare-runtime.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { expect, test } from '@playwright/test';
22
import { waitForError } from '@sentry-internal/test-utils';
33

4-
test.describe('Cloudflare Runtime', () => {
4+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
5+
test.describe.skip('Cloudflare Runtime', () => {
56
test('Should report cloudflare as the runtime in API route error events', async ({ request }) => {
67
const errorEventPromise = waitForError('nextjs-16-cf-workers', errorEvent => {
78
return !!errorEvent?.exception?.values?.some(value =>

dev-packages/e2e-tests/test-applications/nextjs-16-cf-workers/tests/isr-routes.test.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33

4-
test('should remove sentry-trace and baggage meta tags on ISR dynamic route page load', async ({ page }) => {
4+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
5+
test.skip('should remove sentry-trace and baggage meta tags on ISR dynamic route page load', async ({ page }) => {
56
// Navigate to ISR page
67
await page.goto('/isr-test/laptop');
78

@@ -13,7 +14,8 @@ test('should remove sentry-trace and baggage meta tags on ISR dynamic route page
1314
await expect(page.locator('meta[name="baggage"]')).toHaveCount(0);
1415
});
1516

16-
test('should remove sentry-trace and baggage meta tags on ISR static route', async ({ page }) => {
17+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
18+
test.skip('should remove sentry-trace and baggage meta tags on ISR static route', async ({ page }) => {
1719
// Navigate to ISR static page
1820
await page.goto('/isr-test/static');
1921

@@ -25,7 +27,8 @@ test('should remove sentry-trace and baggage meta tags on ISR static route', asy
2527
await expect(page.locator('meta[name="baggage"]')).toHaveCount(0);
2628
});
2729

28-
test('should remove meta tags for different ISR dynamic route values', async ({ page }) => {
30+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
31+
test.skip('should remove meta tags for different ISR dynamic route values', async ({ page }) => {
2932
// Test with 'phone' (one of the pre-generated static params)
3033
await page.goto('/isr-test/phone');
3134
await expect(page.locator('#isr-product-id')).toHaveText('phone');
@@ -41,7 +44,8 @@ test('should remove meta tags for different ISR dynamic route values', async ({
4144
await expect(page.locator('meta[name="baggage"]')).toHaveCount(0);
4245
});
4346

44-
test('should create unique transactions for ISR pages on each visit', async ({ page }) => {
47+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
48+
test.skip('should create unique transactions for ISR pages on each visit', async ({ page }) => {
4549
const traceIds: string[] = [];
4650

4751
// Load the same ISR page 5 times to ensure cached HTML meta tags are consistently removed
@@ -71,7 +75,8 @@ test('should create unique transactions for ISR pages on each visit', async ({ p
7175
expect(uniqueTraceIds.size).toBe(5);
7276
});
7377

74-
test('ISR route should be identified correctly in the route manifest', async ({ page }) => {
78+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
79+
test.skip('ISR route should be identified correctly in the route manifest', async ({ page }) => {
7580
const transactionPromise = waitForTransaction('nextjs-16-cf-workers', async transactionEvent => {
7681
return transactionEvent.transaction === '/isr-test/:product' && transactionEvent.contexts?.trace?.op === 'pageload';
7782
});

dev-packages/e2e-tests/test-applications/nextjs-16-cf-workers/tests/parameterized-routes.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33

4-
test('should create a parameterized transaction when the `app` directory is used', async ({ page }) => {
4+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
5+
test.skip('should create a parameterized transaction when the `app` directory is used', async ({ page }) => {
56
const transactionPromise = waitForTransaction('nextjs-16-cf-workers', async transactionEvent => {
67
return (
78
transactionEvent.transaction === '/parameterized/:one' && transactionEvent.contexts?.trace?.op === 'pageload'
@@ -47,7 +48,8 @@ test('should create a parameterized transaction when the `app` directory is used
4748
});
4849
});
4950

50-
test('should create a static transaction when the `app` directory is used and the route is not parameterized', async ({
51+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
52+
test.skip('should create a static transaction when the `app` directory is used and the route is not parameterized', async ({
5153
page,
5254
}) => {
5355
const transactionPromise = waitForTransaction('nextjs-16-cf-workers', async transactionEvent => {
@@ -95,7 +97,8 @@ test('should create a static transaction when the `app` directory is used and th
9597
});
9698
});
9799

98-
test('should create a partially parameterized transaction when the `app` directory is used', async ({ page }) => {
100+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
101+
test.skip('should create a partially parameterized transaction when the `app` directory is used', async ({ page }) => {
99102
const transactionPromise = waitForTransaction('nextjs-16-cf-workers', async transactionEvent => {
100103
return (
101104
transactionEvent.transaction === '/parameterized/:one/beep' && transactionEvent.contexts?.trace?.op === 'pageload'
@@ -141,7 +144,8 @@ test('should create a partially parameterized transaction when the `app` directo
141144
});
142145
});
143146

144-
test('should create a nested parameterized transaction when the `app` directory is used.', async ({ page }) => {
147+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
148+
test.skip('should create a nested parameterized transaction when the `app` directory is used.', async ({ page }) => {
145149
const transactionPromise = waitForTransaction('nextjs-16-cf-workers', async transactionEvent => {
146150
return (
147151
transactionEvent.transaction === '/parameterized/:one/beep/:two' &&

dev-packages/e2e-tests/test-applications/nextjs-16-cf-workers/tests/prefetch-spans.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33
import { isDevMode } from './isDevMode';
44

5-
test('Prefetch client spans should have a http.request.prefetch attribute', async ({ page }) => {
5+
// TODO(https://github.com/opennextjs/opennextjs-cloudflare/issues/1141): Unskip once opennext supports prefetch-hints.json
6+
test.skip('Prefetch client spans should have a http.request.prefetch attribute', async ({ page }) => {
67
test.skip(isDevMode, "Prefetch requests don't have the prefetch header in dev mode");
78

89
const pageloadTransactionPromise = waitForTransaction('nextjs-16-cf-workers', async transactionEvent => {

0 commit comments

Comments
 (0)