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

print a warning when the trace file is missing rather than wait #8904

Closed
wants to merge 1 commit into from

Conversation

arlyon
Copy link
Contributor

@arlyon arlyon commented Aug 1, 2024

Description

The trace viewer just sits and waits if it can't file the trace file. We instead print a little message in this case to help avoid cases where (in my case) you are missing a character from the end of the file name 😂

Testing Instructions

Attempt to load a trace with a path that doesn't exist. Observe error message.

@arlyon arlyon requested a review from a team as a code owner August 1, 2024 13:51
Copy link

vercel bot commented Aug 1, 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 Aug 1, 2024 1:53pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 1:53pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 1:53pm

Copy link
Contributor Author

arlyon commented Aug 1, 2024

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

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

Copy link
Contributor

github-actions bot commented Aug 1, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Aug 1, 2024

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented Aug 1, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

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

See workflow summary for details

@arlyon arlyon closed this Aug 2, 2024
@arlyon arlyon deleted the arlyon/turbo-trace-missing-warning branch August 2, 2024 11:17
This pull request was closed.
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.

1 participant