Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
a67fe1d7
Commit
a67fe1d7
authored
Nov 07, 2025
by
Janka Uryga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add extra logs in pages
parent
84215b3e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
24 deletions
+52
-24
page.tsx
...ack-validation/app/none/[top]/unwrapped/[bottom]/page.tsx
+7
-0
page.tsx
...lback-validation/app/none/[top]/wrapped/[bottom]/page.tsx
+7
-0
page.tsx
...-validation/app/partial/[top]/unwrapped/[bottom]/page.tsx
+7
-0
page.tsx
...ck-validation/app/partial/[top]/wrapped/[bottom]/page.tsx
+7
-0
cache-components-dev-fallback-validation.test.ts
...lidation/cache-components-dev-fallback-validation.test.ts
+24
-24
No files found.
test/development/app-dir/cache-components-dev-fallback-validation/app/none/[top]/unwrapped/[bottom]/page.tsx
View file @
a67fe1d7
export
default
async
function
Page
(
props
:
{
export
default
async
function
Page
(
props
:
{
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
})
{
})
{
const
location
=
'/none/[top]/unwrapped/[bottom]/page.tsx'
process
.
stdout
.
write
(
`
${
location
}
:: awaiting params\n`
)
using
_
=
{
async
[
Symbol
.
dispose
]()
{
process
.
stdout
.
write
(
`
${
location
}
:: finished awaiting params\n`
)
},
}
return
(
return
(
<
p
>
<
p
>
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
...
...
test/development/app-dir/cache-components-dev-fallback-validation/app/none/[top]/wrapped/[bottom]/page.tsx
View file @
a67fe1d7
export
default
async
function
Page
(
props
:
{
export
default
async
function
Page
(
props
:
{
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
})
{
})
{
const
location
=
'/none/[top]/wrapped/[bottom]/page.tsx'
process
.
stdout
.
write
(
`
${
location
}
:: awaiting params\n`
)
using
_
=
{
async
[
Symbol
.
dispose
]()
{
process
.
stdout
.
write
(
`
${
location
}
:: finished awaiting params\n`
)
},
}
return
(
return
(
<
p
>
<
p
>
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
...
...
test/development/app-dir/cache-components-dev-fallback-validation/app/partial/[top]/unwrapped/[bottom]/page.tsx
View file @
a67fe1d7
export
default
async
function
Page
(
props
:
{
export
default
async
function
Page
(
props
:
{
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
})
{
})
{
const
location
=
'/partial/[top]/unwrapped/[bottom]/page.tsx'
process
.
stdout
.
write
(
`
${
location
}
:: awaiting params\n`
)
using
_
=
{
async
[
Symbol
.
dispose
]()
{
process
.
stdout
.
write
(
`
${
location
}
:: finished awaiting params\n`
)
},
}
return
(
return
(
<
p
>
<
p
>
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
...
...
test/development/app-dir/cache-components-dev-fallback-validation/app/partial/[top]/wrapped/[bottom]/page.tsx
View file @
a67fe1d7
export
default
async
function
Page
(
props
:
{
export
default
async
function
Page
(
props
:
{
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
params
:
Promise
<
{
top
:
string
;
bottom
:
string
}
>
})
{
})
{
const
location
=
'/partial/[top]/wrapped/[bottom]/page.tsx'
process
.
stdout
.
write
(
`
${
location
}
:: awaiting params\n`
)
using
_
=
{
async
[
Symbol
.
dispose
]()
{
process
.
stdout
.
write
(
`
${
location
}
:: finished awaiting params\n`
)
},
}
return
(
return
(
<
p
>
<
p
>
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
Top:
{
(
await
props
.
params
).
top
}
, Bottom:
{
(
await
props
.
params
).
bottom
}
...
...
test/development/app-dir/cache-components-dev-fallback-validation/cache-components-dev-fallback-validation.test.ts
View file @
a67fe1d7
...
@@ -69,11 +69,11 @@ describe('Cache Components Fallback Validation', () => {
...
@@ -69,11 +69,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"environmentLabel": "Server",
"label": "Blocking Route",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26) @ Page
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26) @ Page
>
6
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
>
13
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
| ^",
"stack": [
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26)",
"ReportValidation <anonymous>",
"ReportValidation <anonymous>",
],
],
}
}
...
@@ -98,11 +98,11 @@ describe('Cache Components Fallback Validation', () => {
...
@@ -98,11 +98,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"environmentLabel": "Server",
"label": "Blocking Route",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26) @ Page
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26) @ Page
>
6
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
>
13
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
| ^",
"stack": [
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26)",
"ReportValidation <anonymous>",
"ReportValidation <anonymous>",
],
],
}
}
...
@@ -130,11 +130,11 @@ describe('Cache Components Fallback Validation', () => {
...
@@ -130,11 +130,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"environmentLabel": "Server",
"label": "Blocking Route",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26) @ Page
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26) @ Page
>
6
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
>
13
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
| ^",
"stack": [
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26)",
"ReportValidation <anonymous>",
"ReportValidation <anonymous>",
],
],
}
}
...
@@ -159,11 +159,11 @@ describe('Cache Components Fallback Validation', () => {
...
@@ -159,11 +159,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"environmentLabel": "Server",
"label": "Blocking Route",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26) @ Page
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26) @ Page
>
6
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
>
13
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
| ^",
"stack": [
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26)",
"ReportValidation <anonymous>",
"ReportValidation <anonymous>",
],
],
}
}
...
@@ -191,11 +191,11 @@ describe('Cache Components Fallback Validation', () => {
...
@@ -191,11 +191,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"environmentLabel": "Server",
"label": "Blocking Route",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26) @ Page
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26) @ Page
>
6
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
>
13
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
| ^",
"stack": [
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26)",
"ReportValidation <anonymous>",
"ReportValidation <anonymous>",
],
],
}
}
...
@@ -220,11 +220,11 @@ describe('Cache Components Fallback Validation', () => {
...
@@ -220,11 +220,11 @@ describe('Cache Components Fallback Validation', () => {
Learn more: https://nextjs.org/docs/messages/blocking-route",
Learn more: https://nextjs.org/docs/messages/blocking-route",
"environmentLabel": "Server",
"environmentLabel": "Server",
"label": "Blocking Route",
"label": "Blocking Route",
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26) @ Page
"source": "app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26) @ Page
>
6
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
>
13
| Top: {(await props.params).top}, Bottom: {(await props.params).bottom}
| ^",
| ^",
"stack": [
"stack": [
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
6
:26)",
"Page app/partial/[top]/unwrapped/[bottom]/page.tsx (
13
:26)",
"ReportValidation <anonymous>",
"ReportValidation <anonymous>",
],
],
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment