diff --git a/.github/workflows/turbo-daily-integration-test.yml b/.github/workflows/turbopack-daily-integration-test.yml similarity index 70% rename from .github/workflows/turbo-daily-integration-test.yml rename to .github/workflows/turbopack-daily-integration-test.yml index 9b660b57ed8a6..b47749f3c296a 100644 --- a/.github/workflows/turbo-daily-integration-test.yml +++ b/.github/workflows/turbopack-daily-integration-test.yml @@ -1,6 +1,6 @@ # A workflow to run next.js integration test with turbopack for each day. # This runs against main branch with latest Next.js release. -name: Daily Next.js integration test with turbopack +name: Daily Next.js integration test with Turbopack on: schedule: @@ -26,10 +26,8 @@ jobs: version: ${{ inputs.version || 'canary' }} # Upload test results to KV, but only for scheduled runs. - upload_test_results: - name: Upload test results - needs: [next_js_integration] - # if: github.repository_owner == 'vercel' && ${{ github.event_name == 'schedule' }} && always() - if: always() - uses: ./.github/workflows/upload-nextjs-integration-test-results.yml + upload_turbopack_tests_manifest: + name: Upload Turbopack tests manifest to areweturboyet.com + if: ${{ !cancelled() }} + uses: ./.github/workflows/turbopack-upload-tests-manifest.yml secrets: inherit diff --git a/.github/workflows/nextjs-integration-test.yml b/.github/workflows/turbopack-nextjs-integration-tests.yml similarity index 92% rename from .github/workflows/nextjs-integration-test.yml rename to .github/workflows/turbopack-nextjs-integration-tests.yml index 728d4dcd59918..3a66353ab79d3 100644 --- a/.github/workflows/nextjs-integration-test.yml +++ b/.github/workflows/turbopack-nextjs-integration-tests.yml @@ -3,19 +3,7 @@ # # Refer test.yml for how this workflow is being initialized # - Workflow can specify `inputs.version` to specify which version of next.js to use, otherwise will use latest release version. -name: Turbopack Next.js integration test - -on: - workflow_call: - inputs: - # Allow to specify Next.js version to run integration test against. - # If not specified, will use latest release version including canary. - version: - type: string - # The base of the test results to compare against. If not specified, will try to compare with latest main branch's test results. - diff_base: - type: string - default: 'main' +name: Turbopack Next.js integration tests # Workflow-common env variables env: @@ -180,7 +168,7 @@ jobs: - 'x64' - 'metal' - if: always() + if: ${{ !cancelled() }} steps: - name: Download test report artifacts id: download-test-reports diff --git a/.github/workflows/update-turbopack-test-manifest.yml b/.github/workflows/turbopack-update-tests-manifest.yml similarity index 98% rename from .github/workflows/update-turbopack-test-manifest.yml rename to .github/workflows/turbopack-update-tests-manifest.yml index a5e366445a5bd..d186bfd579275 100644 --- a/.github/workflows/update-turbopack-test-manifest.yml +++ b/.github/workflows/turbopack-update-tests-manifest.yml @@ -4,7 +4,7 @@ name: Update Turbopack test manifest on: schedule: # Every day at 9AM https://crontab.guru/#0_9_*_*_* - - cron: '0 9 * * *' + - cron: '0 7 * * *' workflow_dispatch: jobs: diff --git a/.github/workflows/upload-nextjs-integration-test-results.yml b/.github/workflows/turbopack-upload-tests-manifest.yml similarity index 95% rename from .github/workflows/upload-nextjs-integration-test-results.yml rename to .github/workflows/turbopack-upload-tests-manifest.yml index 980b9ac587a43..82b57b445c5af 100644 --- a/.github/workflows/upload-nextjs-integration-test-results.yml +++ b/.github/workflows/turbopack-upload-tests-manifest.yml @@ -1,7 +1,7 @@ # Reusable workflow to upload next.js integration test results to KV for https://areweturboyet.com/ # This workflow assumes the `next-integration-test` workflow has been executed # and test reports have been uploaded to the `test-results` artifact. -name: Update next.js integration test results +name: Upload Turbopack tests manifest to areweturboyet.com on: workflow_call: diff --git a/Cargo.lock b/Cargo.lock index 24857b8ca9299..db774071db782 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2137,7 +2137,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.6", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -6806,9 +6806,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.36.0" +version = "1.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" dependencies = [ "backtrace", "bytes", @@ -6836,9 +6836,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", diff --git a/docs/02-app/02-api-reference/01-components/script.mdx b/docs/02-app/02-api-reference/01-components/script.mdx index ae12b73873efd..f5f407c3efebc 100644 --- a/docs/02-app/02-api-reference/01-components/script.mdx +++ b/docs/02-app/02-api-reference/01-components/script.mdx @@ -96,11 +96,13 @@ export default function RootLayout({ }) { return ( - {children} -