Skip to content

Wait for the reconciler to become inactive in pollUntilClean - #4452

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:lv/reconciler-inactive-flake
Oct 8, 2026
Merged

vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:lv/reconciler-inactive-flake

Conversation

@vogella

@vogella vogella commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

AbstractReconcilerTest.testReplacingDocumentWhenClean fails intermittently on macOS CI with expected: <false> but was: <true> at the assertFalse(isActive()) after pollUntilClean(). The reconciler worker clears its dirty flag and notifies before it resets its active flag, so a test that only waited for the dirty flag could assert in between. pollUntilClean() now waits for both flags, which fixes all call sites at once without changing the reconciler itself.

The reconciler worker clears its dirty flag and only afterwards its
active flag. pollUntilClean() waited for the dirty flag alone, so a
following assertFalse(isActive()) could run in between and fail, as
seen on macOS in testReplacingDocumentWhenClean.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Test Results

   864 files  ±0     864 suites  ±0   1h 5m 27s ⏱️ + 18m 22s
 8 395 tests ±0   8 153 ✅ ±0  242 💤 ±0  0 ❌ ±0 
21 054 runs  ±0  20 377 ✅ ±0  677 💤 ±0  0 ❌ ±0 

Results for commit d517090. ± Comparison against base commit 0d11bad.

@vogella
vogella merged commit cdf21e3 into eclipse-platform:master Oct 8, 2026
18 checks passed
@vogella
vogella deleted the lv/reconciler-inactive-flake branch October 8, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant