Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion turbopack/crates/turbo-tasks-backend/src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
{
let _span = tracing::trace_span!(
"make root node for strongly consistent read",
%task_id
task = self.debug_get_task_description(task_id)
)
.entered();
AggregationUpdateQueue::run(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pub trait ExecuteContext<'e>: Sized {
this: Option<RawVc>,
arg: &dyn DynTaskInputs,
) -> Option<(TaskId, Arc<CachedTaskType>)>;
fn debug_get_task_description(&self, task_id: TaskId) -> String;
}

pub trait ChildExecuteContext<'e>: Send + Sized {
Expand Down Expand Up @@ -1007,6 +1008,10 @@ impl<'e, B: BackingStorage> ExecuteContext<'e> for ExecuteContextImpl<'e, B> {
}
None
}

fn debug_get_task_description(&self, task_id: TaskId) -> String {
self.backend.debug_get_task_description(task_id)
}
}

struct ChildExecuteContextImpl<'e, B: BackingStorage> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl UpdateCollectibleOperation {
{
let _span = tracing::trace_span!(
"make root node for removing collectible",
%task_id
task = ctx.debug_get_task_description(task_id)
)
.entered();
AggregationUpdateQueue::run(
Expand Down
Loading