-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -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()); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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>
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.