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
5dab0e7e
Unverified
Commit
5dab0e7e
authored
Feb 22, 2026
by
Jiwon Choi
Committed by
GitHub
Feb 22, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PR tarball install note to stats comment (#90316)
parent
54d12035
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
add-comment.js
.github/actions/next-stats-action/src/add-comment.js
+20
-0
No files found.
.github/actions/next-stats-action/src/add-comment.js
View file @
5dab0e7e
...
@@ -973,6 +973,24 @@ function generateDiffsSection(result) {
...
@@ -973,6 +973,24 @@ function generateDiffsSection(result) {
return
content
return
content
}
}
function
generatePrTarballSection
(
actionInfo
)
{
if
(
actionInfo
.
isRelease
||
!
actionInfo
.
issueId
)
return
''
const
prNumber
=
String
(
actionInfo
.
issueId
).
trim
()
if
(
!
/^
\d
+$/
.
test
(
prNumber
))
return
''
return
`<details>
<summary><strong>📎 Tarball URL</strong></summary>
\`\`\`
next@https://vercel-packages.vercel.app/next/prs/
${
prNumber
}
/next
\`\`\`
</details>
`
}
// ============================================================================
// ============================================================================
// Main Export
// Main Export
// ============================================================================
// ============================================================================
...
@@ -1034,6 +1052,8 @@ module.exports = async function addComment(
...
@@ -1034,6 +1052,8 @@ module.exports = async function addComment(
}
}
}
}
comment
+=
generatePrTarballSection
(
actionInfo
)
// Save canary stats to history (only for releases, not PR comparisons)
// Save canary stats to history (only for releases, not PR comparisons)
// This ensures we only track official canary metrics, not PR-specific data
// This ensures we only track official canary metrics, not PR-specific data
if
(
results
.
length
>
0
&&
actionInfo
.
isRelease
&&
actionInfo
.
commitId
)
{
if
(
results
.
length
>
0
&&
actionInfo
.
isRelease
&&
actionInfo
.
commitId
)
{
...
...
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