Decouple extension version reporting from MTP AppVersion while preserving CrashDump forward compatibility#7743
Decouple extension version reporting from MTP AppVersion while preserving CrashDump forward compatibility#7743
AppVersion while preserving CrashDump forward compatibility#7743Conversation
Agent-Logs-Url: https://github.com/microsoft/testfx/sessions/b1573313-b7dd-4dca-a827-51d1ada1e918 Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/testfx/sessions/b1573313-b7dd-4dca-a827-51d1ada1e918 Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
AppVersion and remove CrashDump IVT dependency
|
@copilot pipeline is red, please fix issues |
Agent-Logs-Url: https://github.com/microsoft/testfx/sessions/073d3d20-d294-468e-82ba-4e708f8126f1 Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Pushed a fix in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot there is a test failure: Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs @azure-pipelines src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs(665,1): error : [NewerPlatform_WithPreviousExtensions_ShouldExecuteTests] [net11.0] Assert.AreEqual failed. Expected:<0>. Actual:<1>. 'expected' expression: 'exitCode', 'actual' expression: 'testHostResult.ExitCode'. Expression 'AssertExitCodeIs' failed for member 'NewerPlatform_WithPreviousExtensions_ShouldExecuteTests' at line 17 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/ForwardCompatibilityTests.cs'. Output of the test host is:
|
Agent-Logs-Url: https://github.com/microsoft/testfx/sessions/ceb77044-bf71-4acf-8113-6c0af8aee63c Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Fixed in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
AppVersion and remove CrashDump IVT dependencyAppVersion while preserving CrashDump forward compatibility
Extensions were reporting
VersionviaMicrosoft.Testing.Platform.Helpers.AppVersion.DefaultSemVer(through IVT), which incorrectly ties extension version identity to the loaded MTP version. This breaks version accuracy when extension and platform versions differ.Version source correction (extension-local, not platform-local)
ExtensionVersionhelper in each affected extension assembly.Versionproperties now resolve from the extension assembly metadata (AssemblyInformationalVersionAttribute, fallback to assembly version), instead ofAppVersion.DefaultSemVer.CrashDump forward-compatibility adjustment
InternalsVisibleTofromMicrosoft.Testing.PlatformtoMicrosoft.Testing.Extensions.CrashDump.Touched extension areas
Focused regression coverage
ExtensionVersion) rather than MTPAppVersion.