Use System.Text.Json as a backend for view model serialization #2984
main.yml
on: pull_request
Build all projects without errors
6m 22s
JS unit tests
58s
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Annotations
28 errors and 31 warnings
.NET unit tests (macOS-latest)
Process completed with exit code 130.
|
.NET unit tests (macOS-latest)
Process completed with exit code 130.
|
UI tests (chrome, windows-2022, Development, Default):
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
UI tests (chrome, windows-2022, Development, Default):
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
UI tests (chrome, windows-2022, Development, Default):
src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
UI tests (chrome, windows-2022, Development, Default):
src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
UI tests (chrome, windows-2022, Development, Default)
Process completed with exit code 1.
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
|
Build all projects without errors:
src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
|
SupportTuples:
src/Tests/ViewModel/SerializerTests.cs#L232
Assert.AreEqual failed. Expected:<{"$type":"pUM6BN1XpGhNArrP","Item1":9,"Item2":8,"Item3":7,"Item4":6}>. Actual:<{"$type":"pczEps4E/vxByPfT","Item1":9,"Item2":8,"Item3":7,"Item4":6}>.
|
SupportsDateTime:
src/Tests/ViewModel/SerializerTests.cs#L467
Assert.AreEqual failed. Expected:<1/1/2000>. Actual:<1/1/0001>.
|
SupportsDateTime_MicrosecondPrecision:
src/Tests/ViewModel/SerializerTests.cs#L488
Assert.AreEqual failed. Expected:<3:16 PM>. Actual:<12:00 AM>.
|
SerializationReflectionAssembly:
src/Tests/Runtime/ErrorPageTests.cs#L111
Test method DotVVM.Framework.Tests.Runtime.ErrorPageTests.SerializationReflectionAssembly threw exception:
System.Exception: ErrorPageTests.SerializationReflectionAssembly.json has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json b/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json
index 7725a87..c5bcef3 100644
--- a/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json
+++ b/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json
@@ -1,5 +1,5 @@
{
- "assembly": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
- "assemblyObj": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
- "assemblyInterface": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
+ "assembly": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
+ "assemblyObj": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
+ "assemblyInterface": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
}
Is this change OK? To let the test pass, stage the file in git. Confused? See https://github.com/exyi/CheckTestOutput/blob/master/trouble.md#changed-file
|
IncludeViewModule:
src/Tests/ControlTests/ViewModulesServerSideTests.cs#L36
Test method DotVVM.Framework.Tests.ControlTests.ViewModulesServerSideTests.IncludeViewModule threw exception:
System.Exception: ViewModulesServerSideTests.IncludeViewModule.html has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html b/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html
index 032e690..90ee34f 100644
--- a/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html
+++ b/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html
@@ -22,7 +22,7 @@
<body>
<input id="__dot_viewmodel_root" type="hidden" value="{
"viewModel": {
- "$type": "4n/9KyUdRKOKC0n3",
+ "$type": "MD6qlCGp64JOYYrK",
"$csrfToken": "Not a CSRF token."
},
"url": "/testpage",
@@ -36,7 +36,7 @@
"viewModule.init.6DLlOTYMqGV5yPAJoz5k_moKDBgEmZ3_HLLQ2zKDo74"
],
"typeMetadata": {
- "4n/9KyUdRKOKC0n3": {"type":"object","debugName":"object","properties":{}}
+ "MD6qlCGp64JOYYrK": {"type":"object","debugName":"object","properties":{}}
}
}">
<script defer="" src="data:text/javascript;base64,ZG90dnZtLm9wdGlvbnMuY29tcHJlc3NQT1NUPWZhbHNlOwp3aW5kb3cuZG90dnZtLmluaXQoImVuLVVTIik7"></script>
Is this change OK? To let the test pass, stage the file in git. Confused? See https://github.com/exyi/CheckTestOutput/blob/master/trouble.md#changed-file
|
.NET unit tests (windows-2022)
Process completed with exit code 1.
|
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
The job running on runner GitHub Actions 15 has exceeded the maximum execution time of 50 minutes.
|
UI tests (firefox, ubuntu-latest, Development, Default)
The job running on runner GitHub Actions 8 has exceeded the maximum execution time of 50 minutes.
|
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
The job running on runner GitHub Actions 7 has exceeded the maximum execution time of 50 minutes.
|
UI tests (chrome, ubuntu-latest, Production, Default)
The job running on runner GitHub Actions 14 has exceeded the maximum execution time of 50 minutes.
|
UI tests (firefox, ubuntu-latest, Production, Default)
The job running on runner GitHub Actions 1 has exceeded the maximum execution time of 50 minutes.
|
.NET unit tests (macOS-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
JS unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Build published projects without warnings (Debug)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build published projects without warnings (Debug)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build published projects without warnings (Debug)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build published projects without warnings (Debug)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
.NET unit tests (ubuntu-latest)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (ubuntu-latest)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (ubuntu-latest)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build published projects without warnings (Release)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build published projects without warnings (Release)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build published projects without warnings (Release)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build published projects without warnings (Release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
UI tests (chrome, windows-2022, Development, Default)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
UI tests (chrome, windows-2022, Development, Default)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
UI tests (chrome, windows-2022, Development, Default)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
UI tests (chrome, windows-2022, Development, Default)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build all projects without errors
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (windows-2022)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (windows-2022)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (windows-2022)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
.NET unit tests (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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-Windows", "analyzers-tests-net6.0-Release-Linux", "analyzers-tests-net6.0-Release-Windows", "framework-tests-net8.0-Debug-Linux", "framework-tests-net8.0-Debug-Windows", "framework-tests-net8.0-Release-Linux", "framework-tests-net8.0-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.5 KB |
|
analyzers-tests-net6.0-Debug-Windows
Expired
|
66.6 KB |
|
analyzers-tests-net6.0-Release-Linux
Expired
|
67.7 KB |
|
analyzers-tests-net6.0-Release-Windows
Expired
|
66.8 KB |
|
framework-tests-net8.0-Debug-Linux
Expired
|
2.58 MB |
|
framework-tests-net8.0-Debug-Windows
Expired
|
2.6 MB |
|
framework-tests-net8.0-Release-Linux
Expired
|
2.59 MB |
|
framework-tests-net8.0-Release-Windows
Expired
|
2.6 MB |
|