Skip to content

[vendored-sync] dotnet-test-wire-contract-constants: drift detected (#0) #55471

Description

@github-actions

Automated drift report for vendored file src/Cli/dotnet/Commands/Test/CliConstants.cs.

Source

Drift

  • Baseline blob SHA: d21531909dd2620f3d0f4c61190f05a82b383f44
  • Current blob SHA: 8e11c4ba1b8472a4d28178f28ef088c0c0948580
  • Baseline ref SHA : 1285203f4cea535b9386e0e8712b4ec078de16f2
  • Current ref SHA : f935d2d3f9ce1ab831a361041b0ceaf92ff73363

Links

Upstream-only diff

--- src/Platform/Microsoft.Testing.Platform/ServerMode/DotnetTest/IPC/Constants.cs@d215319
+++ src/Platform/Microsoft.Testing.Platform/ServerMode/DotnetTest/IPC/Constants.cs@8e11c4b
@@ -88,6 +88,13 @@
     // reports "1". This is an additive, capability-style property: consumers that do not understand it ignore it,
     // so it is not gated on the negotiated protocol version.
     internal const byte AttemptNumber = 13;
+
+    // Semicolon-separated reverse-DNS artifact kinds supported by the post-processors registered in this app.
+    // Missing means the app does not advertise artifact post-processing.
+    internal const byte SupportedPostProcessorKinds = 14;
+
+    // Semicolon-separated lowercase file extensions used as a compatibility fallback for untagged artifacts.
+    internal const byte SupportedPostProcessorExtensionsLegacy = 15;
 }
 
 [Embedded]
@@ -114,6 +121,9 @@
     // A test host orchestrator process (e.g. the retry orchestrator) that drives
     // one or more test host executions.
     internal const string TestHostOrchestrator = "TestHostOrchestrator";
+
+    // A tool host relaunched by dotnet test to run artifact post-processors.
+    internal const string ArtifactPostProcessor = "ArtifactPostProcessor";
 }
 
 [Embedded]
@@ -127,6 +137,9 @@
 
     // The host is going to discover tests (e.g. --list-tests).
     internal const string Discover = "discover";
+
+    // Artifact post-processing or another non-test tool.
+    internal const string Tool = "tool";
 }
 
 [Embedded]

Local adaptation notes

Handshake/session/state string constants for the 'dotnet test' named-pipe protocol. Upstream lives in testfx IPC/Constants.cs; the SDK inlines the same constants into CliConstants.cs (TestStates, SessionEventTypes, HandshakeMessagePropertyNames, HandshakeMessageExecutionModes, ProtocolConstants). Watch the upstream file for added/changed wire constants.

How to reconcile

  1. Review the upstream changes and decide whether they should be ported.
  2. Port the relevant changes to src/Cli/dotnet/Commands/Test/CliConstants.cs.
  3. Update eng/vendored-files.json entry dotnet-test-wire-contract-constants (source index 0):
    • bump baseline_ref_sha to the new upstream ref SHA,
    • bump baseline_blob_sha to the new upstream blob SHA.
  4. Close this issue once the reconciliation PR is merged.

If no port is needed (e.g. whitespace-only upstream change), still bump the baseline SHAs to silence future runs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions