Unverified Commit 75c9e2b8 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Revert turborepo to 1.13.3-canary.2 (#64892)

Reverts turborepo bump while investigating some issues

reverts: https://github.com/vercel/next.js/pull/64767
reverts: https://github.com/vercel/next.js/pull/64842 

x-ref: [slack
thread](https://vercel.slack.com/archives/C04KC8A53T7/p1713816363062429)

Closes NEXT-3195
parent ad638660
...@@ -7,7 +7,7 @@ on: ...@@ -7,7 +7,7 @@ on:
env: env:
NAPI_CLI_VERSION: 2.16.2 NAPI_CLI_VERSION: 2.16.2
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
NODE_LTS_VERSION: 20 NODE_LTS_VERSION: 20
CARGO_PROFILE_RELEASE_LTO: 'true' CARGO_PROFILE_RELEASE_LTO: 'true'
TURBO_TEAM: 'vercel' TURBO_TEAM: 'vercel'
......
...@@ -8,7 +8,7 @@ on: ...@@ -8,7 +8,7 @@ on:
env: env:
NAPI_CLI_VERSION: 2.14.7 NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
NODE_MAINTENANCE_VERSION: 18 NODE_MAINTENANCE_VERSION: 18
NODE_LTS_VERSION: 20 NODE_LTS_VERSION: 20
TEST_CONCURRENCY: 8 TEST_CONCURRENCY: 8
......
...@@ -52,7 +52,7 @@ on: ...@@ -52,7 +52,7 @@ on:
env: env:
NAPI_CLI_VERSION: 2.14.7 NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
NODE_LTS_VERSION: 20.9.0 NODE_LTS_VERSION: 20.9.0
TEST_CONCURRENCY: 8 TEST_CONCURRENCY: 8
# disable backtrace for test snapshots # disable backtrace for test snapshots
......
...@@ -17,7 +17,7 @@ name: Code Freeze ...@@ -17,7 +17,7 @@ name: Code Freeze
env: env:
NAPI_CLI_VERSION: 2.14.7 NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
NODE_LTS_VERSION: 20 NODE_LTS_VERSION: 20
jobs: jobs:
......
...@@ -6,7 +6,7 @@ name: Generate Pull Request Stats ...@@ -6,7 +6,7 @@ name: Generate Pull Request Stats
env: env:
NAPI_CLI_VERSION: 2.14.7 NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
NODE_LTS_VERSION: 20 NODE_LTS_VERSION: 20
TEST_CONCURRENCY: 6 TEST_CONCURRENCY: 6
......
name: test-e2e-deploy
on:
schedule:
# run every day at midnight
- cron: '0 0 * * *'
# allow triggering manually as well
workflow_dispatch:
jobs:
build:
if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest
env:
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
VERCEL_TEST_TEAM: vtest314-next-e2e-tests
DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }}
NAPI_CLI_VERSION: 2.16.2
TURBO_VERSION: 1.13.2
NODE_LTS_VERSION: 20
CARGO_PROFILE_RELEASE_LTO: 'true'
TURBO_TEAM: 'vercel'
TURBO_REMOTE_ONLY: 'true'
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
NEXT_TELEMETRY_DISABLED: 1
strategy:
fail-fast: false
matrix:
group: [1, 2]
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true
- run: corepack enable
- uses: actions/checkout@v4
with:
fetch-depth: 25
- run: pnpm install
- run: pnpm run build
- run: npm i -g vercel@latest
- run: node scripts/run-e2e-test-project-reset.mjs
name: Reset test project
- run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c "cd /work && NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && corepack enable > /dev/null && NEXT_JUNIT_TEST_REPORT=true DATADOG_API_KEY=${DATADOG_API_KEY} DD_ENV=ci VERCEL_TEST_TOKEN=${{ secrets.VERCEL_TEST_TOKEN }} VERCEL_TEST_TEAM=vtest314-next-e2e-tests NEXT_TEST_JOB=1 NEXT_TEST_MODE=deploy TEST_TIMINGS_TOKEN=${{ secrets.TEST_TIMINGS_TOKEN }} xvfb-run node run-tests.js --type e2e --timings -g ${{ matrix.group }}/2 -c 1 >> /proc/1/fd/1"
name: Run test/e2e (deploy)
- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: test-reports
if-no-files-found: ignore
retention-days: 2
path: |
test/test-junit-report
- name: Upload test report to datadog
continue-on-error: true
run: |
ls -al ./test/*junit
DD_ENV=ci npx @datadog/datadog-ci@2.23.1 junit upload --tags test.type:nextjs_deploy_e2e --service nextjs ./test/test-junit-report
...@@ -22,7 +22,7 @@ jobs: ...@@ -22,7 +22,7 @@ jobs:
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }} TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
TURBO_REMOTE_ONLY: 'true' TURBO_REMOTE_ONLY: 'true'
TURBO_TEAM: 'vercel' TURBO_TEAM: 'vercel'
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
VERCEL_TEST_TEAM: vtest314-next-e2e-tests VERCEL_TEST_TEAM: vtest314-next-e2e-tests
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }} VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
...@@ -54,11 +54,11 @@ jobs: ...@@ -54,11 +54,11 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.41.2-jammy /bin/bash -c "cd /work && \ docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.41.2-jammy /bin/bash -c "cd /work && \
NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && \ NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && \
corepack enable > /dev/null && \ corepack enable > /dev/null && \
NEXT_JUNIT_TEST_REPORT=${{ env.NEXT_JUNIT_TEST_REPORT }} \ NEXT_JUNIT_TEST_REPORT=${{ env.NEXT_JUNIT_TEST_REPORT }} \
DATADOG_API_KEY=${{ env.DATADOG_API_KEY }} \ DATADOG_API_KEY=${{ env.DATADOG_API_KEY }} \
DD_ENV=${{ env.DD_ENV }} \ DD_ENV=${{ env.DD_ENV }} \
VERCEL_TEST_TOKEN=${{ env.VERCEL_TEST_TOKEN }} \ VERCEL_TEST_TOKEN=${{ env.VERCEL_TEST_TOKEN }} \
VERCEL_TEST_TEAM=${{ env.VERCEL_TEST_TEAM }} \ VERCEL_TEST_TEAM=${{ env.VERCEL_TEST_TEAM }} \
NEXT_TEST_JOB=${{ env.NEXT_TEST_JOB }} \ NEXT_TEST_JOB=${{ env.NEXT_TEST_JOB }} \
......
...@@ -26,7 +26,7 @@ jobs: ...@@ -26,7 +26,7 @@ jobs:
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }} TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
TURBO_REMOTE_ONLY: 'true' TURBO_REMOTE_ONLY: 'true'
TURBO_TEAM: 'vercel' TURBO_TEAM: 'vercel'
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
VERCEL_TEST_TEAM: vtest314-next-e2e-tests VERCEL_TEST_TEAM: vtest314-next-e2e-tests
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }} VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
...@@ -60,11 +60,11 @@ jobs: ...@@ -60,11 +60,11 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.41.2-jammy /bin/bash -c "cd /work && \ docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.41.2-jammy /bin/bash -c "cd /work && \
NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && \ NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && \
corepack enable > /dev/null && \ corepack enable > /dev/null && \
NEXT_JUNIT_TEST_REPORT=${{ env.NEXT_JUNIT_TEST_REPORT }} \ NEXT_JUNIT_TEST_REPORT=${{ env.NEXT_JUNIT_TEST_REPORT }} \
DATADOG_API_KEY=${{ env.DATADOG_API_KEY }} \ DATADOG_API_KEY=${{ env.DATADOG_API_KEY }} \
DD_ENV=${{ env.DD_ENV }} \ DD_ENV=${{ env.DD_ENV }} \
VERCEL_TEST_TOKEN=${{ env.VERCEL_TEST_TOKEN }} \ VERCEL_TEST_TOKEN=${{ env.VERCEL_TEST_TOKEN }} \
VERCEL_TEST_TEAM=${{ env.VERCEL_TEST_TEAM }} \ VERCEL_TEST_TEAM=${{ env.VERCEL_TEST_TEAM }} \
NEXT_TEST_JOB=${{ env.NEXT_TEST_JOB }} \ NEXT_TEST_JOB=${{ env.NEXT_TEST_JOB }} \
......
...@@ -29,7 +29,7 @@ name: Trigger Release ...@@ -29,7 +29,7 @@ name: Trigger Release
env: env:
NAPI_CLI_VERSION: 2.14.7 NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.13.2 TURBO_VERSION: 1.12.5
NODE_LTS_VERSION: 20 NODE_LTS_VERSION: 20
jobs: jobs:
......
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
"taskr": "1.1.0", "taskr": "1.1.0",
"tree-kill": "1.2.2", "tree-kill": "1.2.2",
"tsec": "0.2.1", "tsec": "0.2.1",
"turbo": "1.13.3-canary.3", "turbo": "1.12.5",
"typescript": "5.3.3", "typescript": "5.3.3",
"unfetch": "4.2.0", "unfetch": "4.2.0",
"wait-port": "0.2.2", "wait-port": "0.2.2",
......
...@@ -540,8 +540,8 @@ importers: ...@@ -540,8 +540,8 @@ importers:
specifier: 0.2.1 specifier: 0.2.1
version: 0.2.1(@bazel/bazelisk@1.18.0)(typescript@5.3.3) version: 0.2.1(@bazel/bazelisk@1.18.0)(typescript@5.3.3)
turbo: turbo:
specifier: 1.13.3-canary.3 specifier: 1.12.5
version: 1.13.3-canary.3 version: 1.12.5
typescript: typescript:
specifier: 5.3.3 specifier: 5.3.3
version: 5.3.3 version: 5.3.3
...@@ -24078,64 +24078,64 @@ packages: ...@@ -24078,64 +24078,64 @@ packages:
engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'}
dev: true dev: true
/turbo-darwin-64@1.13.3-canary.3: /turbo-darwin-64@1.12.5:
resolution: {integrity: sha512-yD6Jc6vDPVGAffJDsVgkYuICMOgKoEOM90TKVxGn4EW1GUAMzBlp/wvmSlBVcVp9JQ3skfnPo28sYBmE14Pgug==} resolution: {integrity: sha512-0GZ8reftwNQgIQLHkHjHEXTc/Z1NJm+YjsrBP+qhM/7yIZ3TEy9gJhuogDt2U0xIWwFgisTyzbtU7xNaQydtoA==}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
dev: true dev: true
optional: true optional: true
/turbo-darwin-arm64@1.13.3-canary.3: /turbo-darwin-arm64@1.12.5:
resolution: {integrity: sha512-J/2E1HU/DCSghdJylTtZ5QEFy64vLDKC5rkzpIBwf22Q7Hpx6XsgLYDskbn5V/Vmar37/PvbL1gVN6EdfZaIbQ==} resolution: {integrity: sha512-8WpOLNNzvH6kohQOjihD+gaWL+ZFNfjvBwhOF0rjEzvW+YR3Pa7KjhulrjWyeN2yMFqAPubTbZIGOz1EVXLuQA==}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
dev: true dev: true
optional: true optional: true
/turbo-linux-64@1.13.3-canary.3: /turbo-linux-64@1.12.5:
resolution: {integrity: sha512-QM38SWZjAksrDAYjmWr+Fnj2iFy3a9Q2src8vgA+jV1+swhk5G5Ja8BXVS4dOLzk0bfVSLzUfpAyKihFikfH1A==} resolution: {integrity: sha512-INit73+bNUpwqGZCxgXCR3I+cQsdkQ3/LkfkgSOibkpg+oGqxJRzeXw3sp990d7SCoE8QOcs3iw+PtiFX/LDAA==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true dev: true
optional: true optional: true
/turbo-linux-arm64@1.13.3-canary.3: /turbo-linux-arm64@1.12.5:
resolution: {integrity: sha512-czJJR3d7REiHwMs539WEZ3zxc+zQhg9KptQX9whMiKdvFnDM1Bb5bwTEDqLXVPZAvIiLrYt0GUgQK+PofkXUzg==} resolution: {integrity: sha512-6lkRBvxtI/GQdGtaAec9LvVQUoRw6nXFp0kM+Eu+5PbZqq7yn6cMkgDJLI08zdeui36yXhone8XGI8pHg8bpUQ==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true dev: true
optional: true optional: true
/turbo-windows-64@1.13.3-canary.3: /turbo-windows-64@1.12.5:
resolution: {integrity: sha512-5qp+nvLQaIFj5W5rBKEhWMKUKDCnmAGezGbea8xkic2tBurS6gSDXfkN5K6ClGZiqebrULRKc+lwyroZm2K2nw==} resolution: {integrity: sha512-gQYbOhZg5Ww0bQ/bC0w/4W6yQRwBumUUnkB+QPo15VznwxZe2a7bo6JM+9Xy9dKLa/kn+p7zTqme4OEp6M3/Yg==}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: true dev: true
optional: true optional: true
/turbo-windows-arm64@1.13.3-canary.3: /turbo-windows-arm64@1.12.5:
resolution: {integrity: sha512-H0IMsfPdh8BJHpcnNpa9eYTNSicTkvssBP8JXzdaizamz7ObRfg+4s84xwDJsmPsilVybJmCTCnZt9hjpEg/vw==} resolution: {integrity: sha512-auvhZ9FrhnvQ4mgBlY9O68MT4dIfprYGvd2uPICba/mHUZZvVy5SGgbHJ0KbMwaJfnnFoPgLJO6M+3N2gDprKw==}
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: true dev: true
optional: true optional: true
/turbo@1.13.3-canary.3: /turbo@1.12.5:
resolution: {integrity: sha512-HI35/4Ovf184DBFS6P87W3Pp0sWOEtbqrZawFI9FYG416Df8JCo3eSINPkmWTtErOMUeaGwav2wLxN1smgpcuw==} resolution: {integrity: sha512-FATU5EnhrYG8RvQJYFJnDd18DpccDjyvd53hggw9T9JEg9BhWtIEoeaKtBjYbpXwOVrJQMDdXcIB4f2nD3QPPg==}
hasBin: true hasBin: true
optionalDependencies: optionalDependencies:
turbo-darwin-64: 1.13.3-canary.3 turbo-darwin-64: 1.12.5
turbo-darwin-arm64: 1.13.3-canary.3 turbo-darwin-arm64: 1.12.5
turbo-linux-64: 1.13.3-canary.3 turbo-linux-64: 1.12.5
turbo-linux-arm64: 1.13.3-canary.3 turbo-linux-arm64: 1.12.5
turbo-windows-64: 1.13.3-canary.3 turbo-windows-64: 1.12.5
turbo-windows-arm64: 1.13.3-canary.3 turbo-windows-arm64: 1.12.5
dev: true dev: true
/tweetnacl@0.14.5: /tweetnacl@0.14.5:
......
{ {
"$schema": "https://turborepo.org/schema.json", "$schema": "https://turborepo.org/schema.json",
"experimentalUI": true,
"pipeline": { "pipeline": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment