LearnNewsExamplesServices
Frontmatter
id8824
titletest: Add Regression Tests for VDOM Race Conditions
stateClosed
labels
aitestingcore
assigneestobiu
createdAtJan 20, 2026, 4:28 AM
updatedAtJan 20, 2026, 4:48 AM
githubUrlhttps://github.com/neomjs/neo/issues/8824
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 20, 2026, 4:48 AM

test: Add Regression Tests for VDOM Race Conditions

Closed v11.23.0 aitestingcore
tobiu
tobiu commented on Jan 20, 2026, 4:28 AM

Adding a comprehensive suite of regression tests to prevent future regressions of the VDOM race conditions fixed in #8814.

Files:

  • test/playwright/unit/vdom/RaceCondition.spec.mjs: Reproduction of the original "duplicate button" bug and other race scenarios.
  • test/playwright/unit/vdom/HelperNeoIgnore.spec.mjs: Validates VdomHelper logic for skipping inserts on neoIgnore.
  • test/playwright/unit/vdom/TreeBuilder.spec.mjs: Validates TreeBuilder expansion logic for unmounted/waking-up nodes.
  • test/playwright/unit/vdom/VdomLifecycle.spec.mjs: Validates mounted and vnode lifecycle state consistency.

These tests serve as the long-term guardrails for the VDOM engine stability.

tobiu added the ai label on Jan 20, 2026, 4:28 AM
tobiu added the testing label on Jan 20, 2026, 4:28 AM
tobiu added the core label on Jan 20, 2026, 4:28 AM
tobiu assigned to @tobiu on Jan 20, 2026, 4:31 AM
tobiu
tobiu Jan 20, 2026, 4:48 AM

already pushed.

tobiu closed this issue on Jan 20, 2026, 4:48 AM