perf: add quick mode for nextjs framework tests#686
Merged
Conversation
Run only v16+turbopack for most PRs, full suite (v14/v15/v16, both
bundlers) only when the nextjs integration package or test files change.
- Restructure CI matrix from string arrays to {name, testPath} objects
- Add QUICK_TEST_PATHS config in detect-changed-integrations
- Add NEXTJS_TURBO_ONLY env var to skip webpack bundler in quick mode
- Preserve .next/cache between scenario runs so turbopack/webpack compilation cache speeds up subsequent builds within the same fixture - Add NEXT_TELEMETRY_DISABLED=1 to avoid telemetry overhead - Cache pnpm store in CI for framework test project installs
ESLint was already disabled; also skip TS type-checking since these are framework integration tests, not type-correctness tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{name, testPath}objects to support per-integration test path selectionNEXTJS_TURBO_ONLYenv var for quick mode to also skip webpack bundler within v16When each mode triggers
@varlock/nextjs-integrationchanged--all/framework-testslabel / release PRTest plan
framework-testslabel to confirm full suite runs