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

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: 's avatarvercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
Co-authored-by: 's avatarBenjamin Woodruff ‮ <180404+bgw@users.noreply.github.com>
parent 6302e6a9
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