[stress] native watcher — 50-round macos-14 pressure test#1520
Draft
stormslowly wants to merge 3 commits into
Draft
[stress] native watcher — 50-round macos-14 pressure test#1520stormslowly wants to merge 3 commits into
stormslowly wants to merge 3 commits into
Conversation
Turn on experiments.nativeWatcher now that rsbuild 2.1's safeTime baseline suppresses the stale-FSEvent reruns that used to flake macOS watch e2e. - watch aggregateTimeout 5 -> 100ms (macOS FSEvent/vnode cache cycle) - poll config files for restart (chokidar v5 dropped fsevents) - await chokidar 'ready' so pre-ready events are not dropped
10 shards x 5 fresh rounds = 50 runs of the watch e2e suite. Draft-only, not wired into test-gate; remove before merge.
Each round now runs the complete e2e suite (rstest run over all ~237 files incl. browser-mode) instead of only watch/, so the watch flake is exercised under real full-suite load. 10 shards x 5 rounds = 50 runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft / do-not-merge. Stress-validation companion to #1441.
Runs the watch e2e suite 50 times on macos-14 (10 shards × 5 fresh rounds) with the rspack native watcher enabled, to statistically confirm the stale-FSEvent flake (~7.5% baseline,
expected '' to match 'other.test.ts') is gone on released@rsbuild/core 2.1.4/@rspack/core 2.1.2.Contains the #1441 watcher-enablement changes plus a throwaway
stress-watchCI job (not wired intotest-gate). The stress job is removed before #1441 merges.