Skip to content
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

chore: differentiate rust changes from building turbo #8001

Merged
merged 3 commits into from Apr 30, 2024

Conversation

chris-olszewski
Copy link
Contributor

@chris-olszewski chris-olszewski commented Apr 18, 2024

Description

This PR adds a new dummy task that will be invalidated whenever turborepo related Rust code changes.

I noticed we were building the turbo binary when running our JS tests. This is due to turborepo-repository depending on cli#build, but I believe that we really just want it invalidate on any Rust code changes.

Testing Instructions

Verify that updating a Rust file causes a cache miss for both turbo build --filter=cli and turbo build --filter=turborepo-repository.

Closes TURBO-2837

Copy link

vercel bot commented Apr 18, 2024

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

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:39pm

Copy link
Contributor

github-actions bot commented Apr 18, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Apr 18, 2024

🟢 CI successful 🟢

Thanks

Copy link
Contributor

@mehulkar mehulkar left a comment

Choose a reason for hiding this comment

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

FWIW, I think it would make sense to exclude the turborepo-repository tests as a check before release, since it is independently released. We do this in CI also:

TURBO_API= turbo run check-types test --filter=docs --filter="!turborepo-repository" --filter={./packages/*}...[${{ github.event.pull_request.base.sha || 'HEAD^1' }}] --color --env-mode=strict

and turborepo-repository is independently tested in its own workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants