Skip to content

fix: getPos race condition in React StrictMode #6670

fix: getPos race condition in React StrictMode

fix: getPos race condition in React StrictMode #6670

Triggered via pull request December 23, 2025 05:20
Status Failure
Total duration 7m 44s
Artifacts 3

build.yml

on: pull_request
Matrix: playwright
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 notices
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/schema/blocks/internal.ts#L100
Error: Cannot find node position ❯ Module.getBlockFromPos ../packages/core/src/schema/blocks/internal.ts:100:11 ❯ ReactNodeViewRenderer.className ../packages/react/src/schema/ReactBlockSpec.tsx:265:31 ❯ Object.react_stack_bottom_frame ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync ../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 This error originated in "src/unit/react/BlockNoteViewRapidRemount.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should not crash when remounting BlockNoteView with custom blocks rapidly". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
🎭 Playwright Run Summary
1 skipped 94 passed (2.3m)
🎭 Playwright Run Summary
11 skipped 84 passed (2.7m)
🎭 Playwright Run Summary
9 skipped 86 passed (3.1m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium
263 KB
sha256:bd0ddcd7e5570231351a6be72b641a4dfeae70a74b8b46686c0bbbb736857458
playwright-report-firefox
256 KB
sha256:6280c03bb67b4fa6aa66ebb6c5c36909edbcfe6b08beced438eea44d5656dc60
playwright-report-webkit
260 KB
sha256:13d4331fd9324e38a45c8f3c0c6a6071ce86c232906a8540276f30a4a2415fcd