-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Import turbo daily integration test workflows #57083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# First, build next-dev and Next.js both to execute across tests. | ||
setup_nextjs: | ||
name: Setup Next.js build | ||
uses: ./.github/workflows/setup-nextjs-build.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't look like this exists in this repo, checking to see if we even need it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this probably should use next.js's existing workflow to setup next.js build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm looks like there's some other jobs/handling in that workflow so copied it over for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean eventually for the followup, not immediately in this PR
Stats from current PRDefault BuildGeneral
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size
Middleware size
|
name: Execute Next.js integration workflow | ||
permissions: | ||
pull-requests: write | ||
uses: ./.github/workflows/nextjs-integration-test.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prolly as followup, this may able to use existing workflow in next.js repo itself - most of these setups are mimic to port what next.js already have.
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Next.js version, sha, branch to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may not needed?
# We'll tag this to the Turbopack service, not the next.js | ||
DD_ENV=ci datadog-ci junit upload --tags test.type:turbopack.daily --service Turbopack test | ||
|
||
# For the debugging purpose, upload the test trace to github artifact. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if we need this or not.
# Upload test results to branch. | ||
# upload_test_results: | ||
# name: Upload test results | ||
# needs: [next_js_integration] | ||
# if: ${{ github.event_name == 'schedule' }} && always() | ||
# uses: ./.github/workflows/upload-nextjs-integration-test-results.yml | ||
# secrets: inherit | ||
# with: | ||
# is_main_branch: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use that JSON file as source for the build-turbopack-tests-manifest.js
import and for the website maia did. So we need that data pushed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
b39325d
to
d0cbfd1
Compare
As discussed this imports our daily turbo integration tests workflow into the Next.js repo