Skip to content

Fix viewmodel restore on back/forward navigation #3102

Fix viewmodel restore on back/forward navigation

Fix viewmodel restore on back/forward navigation #3102

Triggered via pull request August 16, 2024 10:05
Status Failure
Total duration 23m 3s
Artifacts 22

main.yml

on: pull_request
Build all projects without errors
8m 17s
Build all projects without errors
JS unit tests
41s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 15 warnings
JS unit tests: src/Framework/Framework/Resources/Scripts/dotvvm-base.ts#L73
TypeError: performance.getEntriesByType is not a function at isBrowserReload (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:73:25) at initCore (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:84:10) at Object.init (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-root.ts:37:13) at initDotvvm (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/helper.ts:48:12) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/sanity.test.ts:9:15) at Promise.then.completed (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:126:9) at run (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests: src/Framework/Framework/Resources/Scripts/dotvvm-base.ts#L30
Error: DotVVM is not initialized. at getCoreState (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:30:15) at getStateManager (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:68:73) at getState (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:56:12) at Object.get state [as state] (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-root.ts:89:34) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/sanity.test.ts:28:26) at Promise.then.completed (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:126:9) at run (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests: src/Framework/Framework/Resources/Scripts/dotvvm-base.ts#L30
Error: DotVVM is not initialized. at getCoreState (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:30:15) at getStateManager (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:68:73) at getViewModelObservable (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:44:12) at getViewModel (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:35:12) at Object.get viewModel [as viewModel] (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-root.ts:86:50) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/sanity.test.ts:33:39) at Promise.then.completed (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:126:9) at run (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests: src/Framework/Framework/Resources/Scripts/dotvvm-base.ts#L30
Error: DotVVM is not initialized. at getCoreState (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:30:15) at getStateManager (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:68:73) at getViewModelObservable (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:44:12) at getViewModel (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:35:12) at Object.get viewModel [as viewModel] (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-root.ts:86:50) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/sanity.test.ts:39:39) at Promise.then.completed (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:126:9) at run (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests: src/Framework/Framework/Resources/Scripts/dotvvm-base.ts#L30
Error: DotVVM is not initialized. at getCoreState (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:30:15) at getStateManager (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:68:73) at getViewModelObservable (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:44:12) at getViewModel (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-base.ts:35:12) at Object.get viewModel [as viewModel] (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/dotvvm-root.ts:86:50) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/sanity.test.ts:45:39) at Promise.then.completed (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:290:26) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:126:9) at run (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
Action failed since 4 tests failed.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest, Production, Default)
Action failed since 4 tests failed.
UI tests (chrome, ubuntu-latest, Production, Default)
Process completed with exit code 1.
UI tests (chrome, windows-2022, Development, Default)
Action failed since 3 tests failed.
UI tests (chrome, windows-2022, Development, Default)
Process completed with exit code 1.
JS unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
JS unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build published projects without warnings (Release)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build published projects without warnings (Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (macOS-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build all projects without errors
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (windows-2022)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (chrome, ubuntu-latest, Production, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (firefox, ubuntu-latest, Production, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (firefox, ubuntu-latest, Development, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (chrome, windows-2022, Development, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "analyzers-tests-net6.0-Debug-Linux", "analyzers-tests-net6.0-Debug-macOS", "analyzers-tests-net6.0-Debug-Windows", "analyzers-tests-net6.0-Release-Linux", "analyzers-tests-net6.0-Release-macOS", "analyzers-tests-net6.0-Release-Windows", "chrome-tests-Linux-Production-Default", "chrome-tests-Linux-Production-ExperimentalFeaturesTests", "chrome-tests-Windows-Development-Default", "firefox-tests-Linux-Development-Default", "firefox-tests-Linux-Development-ExperimentalFeaturesTests", "firefox-tests-Linux-Production-Default", "framework-tests-net472-Debug-Windows", "framework-tests-net472-Release-Windows", "framework-tests-net8.0-Debug-Linux", "framework-tests-net8.0-Debug-macOS", "framework-tests-net8.0-Debug-Windows", "framework-tests-net8.0-Release-Linux", "framework-tests-net8.0-Release-macOS", "framework-tests-net8.0-Release-Windows", "webforms-adapters-tests-net472-Debug-Windows", "webforms-adapters-tests-net472-Release-Windows". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
analyzers-tests-net6.0-Debug-Linux Expired
67.4 KB
analyzers-tests-net6.0-Debug-Windows Expired
66.6 KB
analyzers-tests-net6.0-Debug-macOS Expired
67.8 KB
analyzers-tests-net6.0-Release-Linux Expired
67.6 KB
analyzers-tests-net6.0-Release-Windows Expired
66.8 KB
analyzers-tests-net6.0-Release-macOS Expired
67.9 KB
chrome-tests-Linux-Production-Default Expired
2.19 MB
chrome-tests-Linux-Production-ExperimentalFeaturesTests Expired
2.05 MB
chrome-tests-Windows-Development-Default Expired
1.32 MB
firefox-tests-Linux-Development-Default Expired
4 MB
firefox-tests-Linux-Development-ExperimentalFeaturesTests Expired
5.22 MB
firefox-tests-Linux-Production-Default Expired
2.17 MB
framework-tests-net472-Debug-Windows Expired
2.11 MB
framework-tests-net472-Release-Windows Expired
2.11 MB
framework-tests-net8.0-Debug-Linux Expired
2.15 MB
framework-tests-net8.0-Debug-Windows Expired
2.12 MB
framework-tests-net8.0-Debug-macOS Expired
2.16 MB
framework-tests-net8.0-Release-Linux Expired
2.16 MB
framework-tests-net8.0-Release-Windows Expired
2.13 MB
framework-tests-net8.0-Release-macOS Expired
2.17 MB
webforms-adapters-tests-net472-Debug-Windows Expired
4.85 KB
webforms-adapters-tests-net472-Release-Windows Expired
4.86 KB