Commit 328a74d
authored
Turbopack: write tasks doesn't need to be session dependent, as effects will restore (#78727)
### What?
Filesystem write task don't need to be session dependent. We don't need to reexecute them for that reason. We already emit an "effect" and that is still emitted after restoring from cache.
Not making them session dependent avoids dirty updates and also tracking the task as dirty in the aggregated graph.
But the "effect" is not-serializeable, so the write task will be recomputed to recompute the value of the effect, when trying to apply the effect.1 parent 1113910 commit 328a74d
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
721 | 724 | | |
722 | 725 | | |
723 | 726 | | |
| |||
848 | 851 | | |
849 | 852 | | |
850 | 853 | | |
851 | | - | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
852 | 858 | | |
853 | 859 | | |
854 | 860 | | |
| |||
0 commit comments