[turbo-tasks-backend] Correctly maintain outdated_collectibles to prevent…
[turbo-tasks-backend] Correctly maintain outdated_collectibles to prevent unnecessary stale executions (#99386)
The outdated_collectibles collection was not correctly bootstrapped on
when starting task execution and was not leveraged when dirtying tasks
This could lead to extra 'dirty' calls that would actually make tasks
'stale' and lead to re-executions. On canary this generally means that
tasks that read collectibles at the top level can get reexecuted if they
change and they often do (output effects), but with this change we take
advantage of the 'stale vs dirty' optimization to avoid that in the
common case
Depends on #99249 otherwise the new test fails flakily
---------
Co-authored-by:
Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment