Unverified Commit 3ad9213d authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

fix(turbo-tasks): Temporarily disable immutable task optimizations (#80914)

https://vercel.slack.com/archives/C03EWR7LGEN/p1750889741099559

Looks like this is broken, this seems like the easiest way to disable
the feature for the moment.
parent 47835e6c
......@@ -87,6 +87,10 @@ impl ConnectChildOperation {
});
}
// https://vercel.slack.com/archives/C03EWR7LGEN/p1750889741099559
// HACK: immutable tracking is broken, disable it for now
is_child_immutable = false;
// Immutable tasks cannot be invalidated, meaning that we never reschedule them.
if !is_child_immutable && ctx.should_track_activeness() {
queue.push(AggregationUpdateJob::IncreaseActiveCount {
......
......@@ -597,7 +597,10 @@ impl<B: BackingStorage> TaskGuard for TaskGuardImpl<'_, B> {
}
fn is_immutable(&self) -> bool {
self.task.state().is_immutable()
// https://vercel.slack.com/archives/C03EWR7LGEN/p1750889741099559
// HACK: immutable tracking is broken, disable it for now
false
// self.task.state().is_immutable()
}
fn mark_as_immutable(&mut self) {
self.task.state_mut().set_is_immutable(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