Skip to content

Commit

Permalink
Merge branch 'canary' into 01-26-fix_erroneous_prefetch_cache_misses
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner authored Feb 13, 2024
2 parents 97b0a56 + f4f0293 commit 7df6f30
Show file tree
Hide file tree
Showing 114 changed files with 5,218 additions and 3,400 deletions.
4 changes: 2 additions & 2 deletions .github/actions/next-integration-stat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"engines": {
"node": ">=18.17.0",
"pnpm": "8.14.2"
"pnpm": "8.15.1"
},
"packageManager": "pnpm@8.14.2"
"packageManager": "pnpm@8.15.1"
}
2 changes: 1 addition & 1 deletion .github/actions/next-repo-info/dist/prs/index.mjs

Large diffs are not rendered by default.

28 changes: 17 additions & 11 deletions .github/actions/next-repo-info/src/popular-prs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,30 @@ import { setFailed, info } from '@actions/core'
import { WebClient } from '@slack/web-api'

function generateBlocks(prs) {
let text = ''
let count = 0

const blocks = [
{
type: 'section',
text: {
type: 'mrkdwn',
text: '*A list of the top 15 PRs sorted by most :+1: reactions over the last 90 days.*\n_Note: This :github2: workflow will run every Monday at 1PM UTC (9AM EST)._',
},
},
{
type: 'divider',
},
]

let text = ''
prs.forEach((pr, i) => {
text += `${i + 1}. [<${pr.html_url}|#${pr.number}>, :+1: ${
pr.reactions['+1']
}]: ${pr.title}\n`
if (pr.reactions['+1'] > 1) {
text += `${i + 1}. [<${pr.html_url}|#${pr.number}>, :+1: ${
pr.reactions['+1']
}]: ${pr.title}\n`
count++
}
})

blocks.unshift({
type: 'section',
text: {
type: 'mrkdwn',
text: `*A list of the top ${count} PRs sorted by most :+1: reactions (> 1) over the last 90 days.*\n_Note: This :github2: workflow will run every Monday at 1PM UTC (9AM EST)._`,
},
})

blocks.push({
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/next-stats-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"engines": {
"node": ">=18.17.0",
"pnpm": "8.14.2"
"pnpm": "8.15.1"
},
"packageManager": "pnpm@8.14.2"
"packageManager": "pnpm@8.15.1"
}
4 changes: 2 additions & 2 deletions .github/actions/upload-turboyet-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"engines": {
"node": ">=18.17.0",
"pnpm": "8.14.2"
"pnpm": "8.15.1"
},
"packageManager": "pnpm@8.14.2"
"packageManager": "pnpm@8.15.1"
}
25 changes: 25 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,31 @@ jobs:
VERCEL_API_TOKEN: ${{ secrets.VERCEL_API_TOKEN }}
DEPLOY_ENVIRONMENT: production

deployTurbopackDocs:
name: Deploy Turbopack docs
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 25
- name: Install Vercel CLI
run: npm i -g vercel@latest
- name: Install Rust
uses: ./.github/actions/setup-rust
- name: Deploy preview docs
if: ${{ needs.build.outputs.isRelease != 'true' }}
run: ./scripts/deploy-turbopack-docs.sh
env:
VERCEL_API_TOKEN: ${{ secrets.VERCEL_API_TOKEN }}
DEPLOY_ENVIRONMENT: preview
- name: Deploy production docs
if: ${{ needs.build.outputs.isRelease == 'true' }}
run: ./scripts/deploy-turbopack-docs.sh
env:
VERCEL_API_TOKEN: ${{ secrets.VERCEL_API_TOKEN }}
DEPLOY_ENVIRONMENT: production

releaseStats:
name: Release Stats
runs-on:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,20 @@ jobs:
stepName: 'rust-check'
secrets: inherit

rust-doc-check:
name: rustdoc check
needs: ['changes', 'build-next']
if: ${{ needs.changes.outputs.docs-only == 'false' }}

uses: ./.github/workflows/build_reusable.yml
with:
needsRust: 'yes'
skipInstallBuild: 'yes'
skipNativeBuild: 'yes'
afterBuild: ./scripts/deploy-turbopack-docs.sh
stepName: 'rust-doc-check'
secrets: inherit

test-turbopack-dev:
name: test turbopack dev
needs: ['changes', 'build-next']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request_popular.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Notify about the top 15 PRs (most reacted) in the last 90 days
name: Notify about the top PRs (most reacted) in the last 90 days

on:
schedule:
- cron: '0 13 * * 1' # Every Monday at 1PM UTC (9AM EST)
workflow_dispatch:

jobs:
popular-issues:
popular-prs:
if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Nissuer
runs-on: ubuntu-latest
steps:
- uses: balazsorban44/nissuer@1.8.2
- uses: balazsorban44/nissuer@1.9.2
with:
label-area-prefix: 'area:'
label-area-section: 'Which area\(s\) are affected\? \(Select all that apply\)(.*)### Additional context'
Expand All @@ -34,4 +34,4 @@ jobs:
reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\\w*/?$,github.com$'
reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce'
reproduction-invalid-label: 'invalid link'
reproduction-issue-labels: 'template: bug'
reproduction-issue-labels: 'template: bug,'
Loading

0 comments on commit 7df6f30

Please sign in to comment.