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: Improved errors for watch mode #8016

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Conversation

NicholasLYang
Copy link
Contributor

@NicholasLYang NicholasLYang commented Apr 22, 2024

Description

Some of our error messages were a little opaque for watch mode. This threads the diagnostic code through the watch mode errors and adds some help text.

Testing Instructions

Closes TURBO-2856

Copy link

vercel bot commented Apr 22, 2024

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

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 5:48pm
examples-svelte-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 5:48pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 5:48pm
7 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:48pm

Copy link
Contributor Author

NicholasLYang commented Apr 22, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NicholasLYang and the rest of your teammates on Graphite Graphite

Copy link
Contributor

github-actions bot commented Apr 22, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Apr 22, 2024

🟢 CI successful 🟢

Thanks

@NicholasLYang NicholasLYang changed the base branch from nicholasyang/persistent-tasks to main April 22, 2024 17:36
@NicholasLYang NicholasLYang changed the title Improved errors for watch mode chore: Improved errors for watch mode Apr 22, 2024
@NicholasLYang NicholasLYang marked this pull request as ready for review April 22, 2024 17:38
@NicholasLYang NicholasLYang requested a review from a team as a code owner April 22, 2024 17:38
DaemonError::VersionMismatch(Some(status.message().to_owned()))
Code::FailedPrecondition => DaemonError::VersionMismatch(status.message().to_owned()),
Code::Unimplemented => {
DaemonError::VersionMismatch("rpc not implemented on daemon".to_string())
Copy link
Contributor

Choose a reason for hiding this comment

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

does rpc need to be capitalized?

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

Successfully merging this pull request may close these issues.

3 participants