Unverified Commit 77071f90 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: more stale details for tracing (#88306)

### What?

Add the point of stale detection to the trace
parent 45a68edf
......@@ -1815,7 +1815,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
else {
// Task was stale and has been rescheduled
#[cfg(feature = "trace_task_details")]
span.record("stale", "true");
span.record("stale", "prepare");
return true;
};
......@@ -1848,7 +1848,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
{
// Task was stale and has been rescheduled
#[cfg(feature = "trace_task_details")]
span.record("stale", "true");
span.record("stale", "connect");
return true;
}
......@@ -1863,7 +1863,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
) {
// Task was stale and has been rescheduled
#[cfg(feature = "trace_task_details")]
span.record("stale", "true");
span.record("stale", "finish");
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment