Unverified Commit a5f8baf4 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: fix task category on reading cells (#88309)

### What?

fix the task category
parent a6f23d8d
...@@ -835,10 +835,10 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> { ...@@ -835,10 +835,10 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
// Having a task_pair here is not optimal, but otherwise this would lead to a race // Having a task_pair here is not optimal, but otherwise this would lead to a race
// condition. See below. // condition. See below.
// TODO(sokra): solve that in a more performant way. // TODO(sokra): solve that in a more performant way.
let (task, reader) = ctx.task_pair(task_id, reader_id, TaskDataCategory::Data); let (task, reader) = ctx.task_pair(task_id, reader_id, TaskDataCategory::All);
(task, Some(reader)) (task, Some(reader))
} else { } else {
(ctx.task(task_id, TaskDataCategory::Data), None) (ctx.task(task_id, TaskDataCategory::All), None)
}; };
let content = if final_read_hint { let content = if final_read_hint {
......
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