Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Turbopack + Relay: correctly implement artifact_directory to fix multi-project test #8655

Merged
merged 4 commits into from
Jul 3, 2024

Conversation

wbinnssmith
Copy link
Member

Previously, if artifact_directory were set, artifacts would be resolved at a fixed location relative to each file. This correctly resolves them from the project root.

Test Plan: With vercel/next.js#67403, TURBOPACK_BUILD=1 TURBOPACK=1 pnpm test-dev test/integration/relay-graphql-swc-multi-project/test/index.test.js

…i-project test

Previously, if `artifact_directory` were set, artifacts would be resolved at a fixed location relative to each file. This correctly resolves them from the project root.

Test Plan: With vercel/next.js#67403, `TURBOPACK_BUILD=1 TURBOPACK=1 pnpm test-dev test/integration/relay-graphql-swc-multi-project/test/index.test.js`
@wbinnssmith wbinnssmith requested a review from a team as a code owner July 3, 2024 00:10
Copy link

vercel bot commented Jul 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 4:16pm
9 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Jul 3, 2024 4:16pm
examples-nonmonorepo ⬜️ Skipped (Inspect) Jul 3, 2024 4:16pm

@vercel vercel bot temporarily deployed to Preview – examples-nonmonorepo July 3, 2024 00:10 Inactive
@wbinnssmith wbinnssmith requested review from bgw, sokra and timneutkens July 3, 2024 00:11
Copy link
Contributor

github-actions bot commented Jul 3, 2024

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented Jul 3, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Jul 3, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

Copy link
Member

@bgw bgw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see that there are tests in the nextjs PR!

@vercel vercel bot temporarily deployed to Preview – examples-nonmonorepo July 3, 2024 16:14 Inactive
@wbinnssmith wbinnssmith merged commit 2503bb6 into main Jul 3, 2024
54 of 57 checks passed
@wbinnssmith wbinnssmith deleted the wbinnssmith/multi-relay branch July 3, 2024 16:55
wbinnssmith added a commit that referenced this pull request Jul 3, 2024
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
…i-project test (vercel/turborepo#8655)

Previously, if `artifact_directory` were set, artifacts would be
resolved at a fixed location relative to each file. This correctly
resolves them from the project root.

Test Plan: With #67403, `TURBOPACK_BUILD=1 TURBOPACK=1
pnpm test-dev
test/integration/relay-graphql-swc-multi-project/test/index.test.js`
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
…i-project test (vercel/turborepo#8655)

Previously, if `artifact_directory` were set, artifacts would be
resolved at a fixed location relative to each file. This correctly
resolves them from the project root.

Test Plan: With #67403, `TURBOPACK_BUILD=1 TURBOPACK=1
pnpm test-dev
test/integration/relay-graphql-swc-multi-project/test/index.test.js`
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
…i-project test (vercel/turborepo#8655)

Previously, if `artifact_directory` were set, artifacts would be
resolved at a fixed location relative to each file. This correctly
resolves them from the project root.

Test Plan: With #67403, `TURBOPACK_BUILD=1 TURBOPACK=1
pnpm test-dev
test/integration/relay-graphql-swc-multi-project/test/index.test.js`
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
…i-project test (vercel/turborepo#8655)

Previously, if `artifact_directory` were set, artifacts would be
resolved at a fixed location relative to each file. This correctly
resolves them from the project root.

Test Plan: With #67403, `TURBOPACK_BUILD=1 TURBOPACK=1
pnpm test-dev
test/integration/relay-graphql-swc-multi-project/test/index.test.js`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants