test(turbopack): fix filesystem watcher read-write tracking (#98982)
### What? Replaces the filesystem-watcher fuzzer's obsolete pure-write tracking mode with a tracked read-derived write mode. Stack: **1/5** · Next: #98983 ### Why? Pure write effects are no longer watcher dependencies after #92300 removed write-invalidation tracking and added effect-value deduplication. The old fuzzer mode therefore expected behavior the runtime intentionally does not provide and reported mismatches on every iteration. ### How? The new mode reads each regular-file path to establish a real watcher dependency, then writes an idempotent value derived from the observed external content. An external edit changes the derived effect value, so the task reruns without restoring removed product semantics or entering a write/invalidation loop. Symlinks remain read-tracked. The content transformation has focused behavioural tests, and recursive/nonrecursive stress runs complete without mismatches. <!-- NEXT_JS_LLM --> <!-- fleet 6488265d-2685-49d3-b632-6511b4b47690 --> Co-authored-by:vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com> Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com> Co-authored-by:
Benjamin Woodruff <180404+bgw@users.noreply.github.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment