这是indexloc提供的服务,不要输入任何密码
Skip to content

refactor: add spans to some turbo.json fields #10627

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

Merged
merged 5 commits into from
Jul 3, 2025
Merged

refactor: add spans to some turbo.json fields #10627

merged 5 commits into from
Jul 3, 2025

Conversation

anthonyshew
Copy link
Contributor

@anthonyshew anthonyshew commented Jul 3, 2025

Description

Pre-work for #10610. Not all of our fields have spans, so we need to add them to get better at doing error reporting in some situations.

@anthonyshew anthonyshew requested a review from a team as a code owner July 3, 2025 00:36
Copy link

vercel bot commented Jul 3, 2025

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 Jul 3, 2025 1:49pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:49pm
turbo-site ❌ Failed (Inspect) Jul 3, 2025 1:49pm

@@ -116,7 +116,15 @@ impl WithMetadata for RawTurboJson {

self.tasks.add_text(text.clone());
self.cache_dir.add_text(text.clone());
self.pipeline.add_text(text);
self.pipeline.add_text(text.clone());
Copy link
Member

Choose a reason for hiding this comment

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

Might be able to skip pipeline

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm thinking I'm going to leave it for the sake of consistency - unless there's some perf or other upside I'm not realizing. The consternation I experienced when I went to work with these and some had spans and some didn't... :old-man-yells-at-unexpected-things:

Co-authored-by: Chris Olszewski <chris.olszewski@vercel.com>
@anthonyshew anthonyshew enabled auto-merge (squash) July 3, 2025 13:47
@anthonyshew anthonyshew merged commit ad2e118 into main Jul 3, 2025
40 of 41 checks passed
@anthonyshew anthonyshew deleted the shew/6ef41 branch July 3, 2025 14:12
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.

2 participants