Skip to content

Harden JSON-RPC server mode protocol - #10779

Merged
Amaury Levé (Evangelink) merged 26 commits into
microsoft:mainfrom
Evangelink:dev/amauryleve/harden-json-rpc-protocol
Aug 27, 2026
Merged

Amaury Levé (Evangelink) merged 26 commits into
microsoft:mainfrom
Evangelink:dev/amauryleve/harden-json-rpc-protocol

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Summary

  • add independent server-mode protocol version negotiation while preserving client/server product compatibility versions
  • enforce initialize lifecycle rules and standard JSON-RPC errors, including resilient terminal test-update ordering on success, failure, and cancellation
  • align System.Text.Json and Jsonite behavior for params, notifications, cancellation, and numeric-string request IDs
  • validate negotiated versions in the source-only client and keep legacy servers compatible
  • publish a Draft 2020-12 JSON Schema and align the protocol/RFC documentation with implemented capabilities

Validation

  • built Microsoft.Testing.Platform for net8.0, net9.0, and netstandard2.0
  • built platform and source-client unit tests with zero warnings
  • passed protocol-focused tests on net8.0 and net462 for both serializer implementations
  • validated server-mode-1.0.schema.json against the Draft 2020-12 metaschema

Add explicit protocol negotiation, enforce lifecycle and error semantics, make completion handling resilient, and align both JSON serializers with a machine-readable protocol schema.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI balanced review requested due to automatic review settings August 26, 2026 16:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Hardens MTP JSON-RPC server mode through protocol negotiation, lifecycle enforcement, serializer parity, and updated documentation.

Changes:

  • Adds independent protocol-version negotiation and client validation.
  • Standardizes request errors, cancellation, and terminal update ordering.
  • Adds protocol schema, documentation, and cross-serializer tests.
Show a summary per file
File Description
test/UnitTests/Microsoft.Testing.Platform.UnitTests/ServerMode/ServerTests.cs Tests lifecycle, negotiation, cancellation, and completion ordering.
test/UnitTests/Microsoft.Testing.Platform.UnitTests/ServerMode/FormatterUtilitiesTests.cs Tests IDs, params, capabilities, and serialization.
test/UnitTests/Microsoft.Testing.Platform.ServerMode.Client.Sources.UnitTests/MtpServerClientTests.cs Tests client negotiation and legacy compatibility.
test/UnitTests/Microsoft.Testing.Platform.ServerMode.Client.Sources.UnitTests/FakeMtpServer.cs Adds negotiated version to the fake server.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.RpcMessageSerializers.cs Serializes negotiated protocol versions.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.Deserializers.cs Handles params, versions, and notifications.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.cs Normalizes numeric-string IDs.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/RpcMessages.cs Extends initialization models and corrects coverage capability.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/PassiveNode.cs Advertises the server-mode protocol version.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/JsonRpcMethods.cs Defines protocol versions and wire keys.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/Json/Json.Serializers.cs Adds protocol-version serialization.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/Json/Json.Deserializers.cs Aligns IDs, params, and version deserialization.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/Json/Json.cs Treats JSON null as an absent optional value.
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/ErrorCodes.cs Adds unsupported-protocol error code.
src/Platform/Microsoft.Testing.Platform/InternalAPI/InternalAPI.Unshipped.txt Tracks new internal APIs.
src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.RequestExecution.cs Negotiates versions and standardizes method errors.
src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.Messaging.cs Supports best-effort terminal notifications.
src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.MessageLoop.cs Enforces lifecycle and response ordering.
src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.cs Stores initialization state.
src/Platform/Microsoft.Testing.Platform.ServerMode.Client.Sources/Client/SerializerUtilities.ClientSerializers.cs Serializes client-supported versions.
src/Platform/Microsoft.Testing.Platform.ServerMode.Client.Sources/Client/MtpServerClientOptions.cs Exposes protocol-version configuration.
src/Platform/Microsoft.Testing.Platform.ServerMode.Client.Sources/Client/MtpServerClient.cs Negotiates and validates the server version.
src/Platform/Microsoft.Testing.Platform.ServerMode.Client.Sources/Client/IMtpServerClient.cs Exposes the negotiated version.
docs/RFCs/019-Code-Coverage-Messages.md Clarifies coverage capability semantics.
docs/mstest-runner-protocol/server-mode-1.0.schema.json Defines the Draft 2020-12 wire schema.
docs/mstest-runner-protocol/001-protocol-intro.md Updates the protocol specification.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Suppressed comments (2)

src/Platform/Microsoft.Testing.Platform.ServerMode.Client.Sources/Client/MtpServerClient.cs:226

  • A present but non-string protocolVersion is silently converted to null, so the client treats a malformed negotiation response as a compatible legacy server and bypasses the new version check. Only an absent property should activate legacy compatibility; reject the property when it is present with the wrong type.
        string? protocolVersion = result.TryGetValue(JsonRpcStrings.ProtocolVersion, out object? protocolVersionObj)
            ? protocolVersionObj as string
            : null;

src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.Deserializers.cs:155

  • Jsonite treats every non-string protocolVersion value as if the property were absent, while the System.Text.Json path rejects the same malformed value. This preserves a serializer-dependent legacy fallback; explicitly reject non-null, non-string values.
            string? protocolVersion = GetOptionalPropertyFromJson(properties, JsonRpcStrings.ProtocolVersion) as string;
  • Files reviewed: 26/26 changed files
  • Comments generated: 4
  • Review effort level: Balanced

@Evangelink
Amaury Levé (Evangelink) enabled auto-merge (squash) August 27, 2026 08:18
@Evangelink Amaury Levé (Evangelink) added the state/needs-review Awaiting review from the team. label Aug 27, 2026
Resolve protocol documentation and server-mode test conflicts while retaining upstream deadline-state coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 08:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (1)

src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/PassiveNode.cs:76

  • The passive endpoint now advertises 1.0.0 unconditionally instead of negotiating the InitializeRequestArgs.ProtocolVersions it just received. A client that offers only an incompatible version therefore gets a successful initialize response selecting a version it never offered, unlike the primary server. Negotiate here too and return ProtocolVersionNotSupported when there is no match.
            ProtocolVersion = JsonRpcProtocolVersions.Current,
  • Files reviewed: 26/26 changed files
  • Comments generated: 7
  • Review effort level: Balanced

Align passive-node negotiation, legacy empty-version handling, serializer type validation, RPC ID schema validation, and Markdown formatting.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 09:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (2)

src/Platform/Microsoft.Testing.Platform.ServerMode.Client.Sources/Client/MtpServerClient.cs:136

  • An omitted protocolVersion means the server is using the legacy 1.0.0 protocol, but this guard skips validation for that case. A client configured with only a future version such as 2.0.0 therefore accepts a legacy server and proceeds using a wire contract it declared unsupported. Validate null as V1 while preserving the exposed nullable value for legacy-server detection.
        if (capabilities.ProtocolVersion is { } negotiatedProtocolVersion
            && !IsSupportedProtocolVersion(negotiatedProtocolVersion))
        {
            throw new MtpServerClientException(
                $"The server negotiated unsupported protocol version '{negotiatedProtocolVersion}'. "
                + $"Supported versions: {string.Join(", ", _options.SupportedProtocolVersions)}.");

docs/mstest-runner-protocol/server-mode-1.0.schema.json:99

  • Because additionalProperties is enabled and id is not constrained here, a payload such as an exit notification with "id": 1 validates against this schema. The runtime treats every non-null ID as a request instead, so the published schema accepts a message with different protocol semantics. Constrain an optional notification ID to null; this preserves the implementation's deliberate id: null notification behavior while rejecting request IDs.
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
  • Files reviewed: 27/27 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Normalize omitted versions to V1, pin the 1.0 schema response version, and reject top-level IDs on notifications.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 10:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (2)

Previously missed (2) — in code that hasn't changed since the last review.

src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.Deserializers.cs:34

  • This edited file is currently UTF-8 without a BOM, but .editorconfig:66-67 requires utf-8-bom for all C# files. Re-save the file with an EF BB BF BOM.
                object? rawParams = GetOptionalPropertyFromJson(properties, JsonRpcStrings.Params);

src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.RpcMessageSerializers.cs:80

  • This edited file is currently UTF-8 without a BOM, but .editorconfig:66-67 requires utf-8-bom for all C# files. Re-save the file with an EF BB BF BOM.
            if (res.ProtocolVersion is not null)
  • Files reviewed: 27/27 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Retain numeric-string ID representation in responses and publish initialized state only after the initialize response write succeeds.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 10:25
Re-encode the edited serializer files as UTF-8 with BOM per repository policy.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (2)

Previously missed (1) — in code that hasn't changed since the last review.

src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.Deserializers.cs:65

  • The formatter paths still disagree on malformed nested request parameters. In this Jsonite path, Deserialize<RunRequestArgs>/Deserialize<DiscoverRequestArgs> use as string for filter and as ICollection<object> for tests (lines 203-223), so a payload such as "filter": 42 is silently treated as no filter and can execute all tests; the System.Text.Json path throws and returns InvalidParams. Validate an optional property’s type whenever it is present rather than silently casting it to null.
                    catch (Exception ex) when (ex is MessageFormatException or InvalidCastException)

src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.MessageLoop.cs:249

  • There is a race after a successful initialize response: the transport write can make the response visible to the client before this continuation stores Initialized. A client that sends its first request immediately after reading the response can therefore be rejected with ServerNotInitialized. Make response publication and the lifecycle transition an ordered operation (for example, coordinate the transition with the message lock or queue requests observed while initialization is completing).
                if (isInitializeRequest)
                {
                    Volatile.Write(ref _initializeState, Initialized);
                }
  • Files reviewed: 27/27 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Preserve string IDs on client replies, queue requests during initialization, validate Jsonite optional fields, and support primitive error data.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 10:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

docs/mstest-runner-protocol/server-mode-1.0.schema.json:205

  • The new schema requires an integer processId, while 001-protocol-intro.md:206-210 still says this field may be null. The implementation also requires int, so the published prose and machine-readable contract now disagree; update the protocol document to describe the implemented non-null requirement (or add nullable handling consistently).
                "processId": {
                  "type": "integer"
                },
  • Files reviewed: 28/28 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Document the required integer process ID used by the protocol 1.0 schema and implementation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 11:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 28/28 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 27, 2026 14:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

docs/mstest-runner-protocol/server-mode-1.0.schema.json:286

  • This shared selection schema advertises optional tests and filter for discovery (and run), matching DiscoverRequestArgs/RunRequestArgs, but the prose contract still defines DiscoverTestsParams with only runId and RunTestsParams without filter (001-protocol-intro.md:526-528,601-609). Align those interfaces so the two published protocol contracts describe the same valid requests.
              "$ref": "#/$defs/testSelectionParams"
  • Files reviewed: 28/28 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 15:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (3)

Previously missed (3) — in code that hasn't changed since the last review.

src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/SerializerUtilities.cs:85

  • On the Jsonite path, fractional/exponent numbers are parsed as double before reaching this check. A non-integral wire ID such as 1.00000000000000001 rounds to 1.0, passes Math.Truncate, and is accepted on net462/netstandard2.0, while the System.Text.Json path and the schema reject it. Preserve an exact numeric representation for ID validation (for example, parse this value as decimal or validate the raw token) so both formatters reject non-integral IDs consistently.
            double idDouble when idDouble == Math.Truncate(idDouble)
                && idDouble >= int.MinValue
                && idDouble <= int.MaxValue => (int)idDouble,

docs/mstest-runner-protocol/server-mode-1.0.schema.json:235

  • The source client copies SupportedProtocolVersions directly to this array and the server accepts duplicates, but IReadOnlyCollection<string> does not require uniqueness. A caller configuring ["1.0.0", "1.0.0"] therefore emits a request that works in the implementation but fails this published schema. Since duplicates do not affect negotiation, remove uniqueItems (or deduplicate/validate the client option and server input).
                  "items": {
                    "type": "string"
                  },
                  "uniqueItems": true

docs/mstest-runner-protocol/001-protocol-intro.md:268

  • The schema permits an explicit null here, and both deserializers treat it like an omitted legacy version, but this TypeScript contract only permits a string or absence. Include null so the prose contract matches the schema and implemented legacy behavior.
    // Independently negotiated wire-protocol version.
    protocolVersion?: string,
  • Files reviewed: 28/28 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 15:41

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

One or more custom setup steps configured for this repository failed during this Copilot code review run:

Build the repository

Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.

Note

You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (3)

Previously missed (1) — in code that hasn't changed since the last review.

docs/mstest-runner-protocol/server-mode-1.0.schema.json:707

  • This response schema permits an additional top-level method, so a payload such as {"jsonrpc":"2.0","id":1,"method":"bogus","result":null} validates as a success response. Both deserializers check method first and classify that payload as a request instead, so the schema accepts a message with different runtime semantics. Explicitly prohibit method on response envelopes, as the notification envelope already prohibits id.

This issue also appears on line 743 of the same file.

      "additionalProperties": true

src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.MessageLoop.cs:286

  • A permitted retry can reuse the failed initialize request's ID immediately after receiving its error, but that old ID remains in _clientToServerRequests until the error-writing finally completes. In that race, this TryAdd returns false and is ignored, so the retry runs with an unregistered RpcInvocationState; cancellation targets the stale request and the new state is never disposed. Ensure registration succeeds (or wait/remove the completed state before accepting reuse) while preserving the required error-before-waiter ordering.
            rpcState ??= new RpcInvocationState();
            if (!requestRegistered)
            {
                _clientToServerRequests.TryAdd(GetRequestKey(request.Id, request.StringId), rpcState);

docs/mstest-runner-protocol/server-mode-1.0.schema.json:743

  • The error-response envelope also allows a top-level method, but the runtime then deserializes the frame as a request and never observes its error. Prohibit method here so every schema-valid error response is classified as an error by both formatter implementations.
      "additionalProperties": true
  • Files reviewed: 29/29 changed files
  • Comments generated: 1
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Build Failure Analysis

Verdict: Genuine build failure — identical root cause across all 5 build legs (Linux Release, Windows Debug, Windows Release, Windows application-model_acceptance Release, macOS Release).

Root cause

The _UpdateXlf MSBuild target fails on src/Platform/Microsoft.Testing.Platform/Microsoft.Testing.Platform.csproj:

'Resources/xlf/PlatformResources.cs.xlf' is out-of-date with 'Resources/PlatformResources.resx'.
Run `msbuild /t:UpdateXlf` to update .xlf files or set UpdateXlfOnBuild=true to update them on
every build, but note that it is strongly discouraged to set UpdateXlfOnBuild=true in
official/CI build environments as they should not modify source code during the build.

This PR's PlatformResources.resx currently has 268 resource entries while Resources/xlf/PlatformResources.cs.xlf has 264 <trans-unit> entries — the localization file was not regenerated after new/changed resource strings were added to the .resx (most likely the new error-message / capability-negotiation strings added as part of the JSON-RPC protocol hardening in this PR). The XliffTasks build step (microsoft.dotnet.xlifftasks v11.0.0-beta.26426.4) treats this drift as a hard error rather than a warning, so it fails consistently regardless of OS/configuration.

Suggested fix

Because .xlf files are generated/localization artifacts (and per repo convention must never be hand-edited), the correct remediation is procedural rather than a line-level suggestion:

dotnet msbuild src/Platform/Microsoft.Testing.Platform/Microsoft.Testing.Platform.csproj /t:UpdateXlf

...then commit the regenerated Resources/xlf/*.xlf files (a full repo build also regenerates them, but is slower).

Notes

  • This PR's head branch lives on a fork (Evangelink/testfx), so per this workflow's policy no automated fix commit was pushed to the branch — the author needs to run the command above locally and push the update.
  • No inline suggestion is posted: none of the 29 files changed by this PR touch PlatformResources.resx/.xlf directly, and the fix is a machine-regenerated file rather than a hand-editable diff line.
Build overview (Linux Release leg, representative of all 5)
  • MSBuild 18.11.0-1.26425.121+e20a5af9c, 51 projects evaluated, duration 129.2s
  • Failed: Build.proj, NonWindowsTests.slnf
  • 4 errors (3 identical _UpdateXlf errors + build failure summary), 1 warning
  • Failing project: src/Platform/Microsoft.Testing.Platform/Microsoft.Testing.Platform.csproj, target _UpdateXlf, task UpdateXlf

🤖 Automated content by GitHub Copilot. Generated by the Build Failure Analysis workflow. · auto · 187.1 AIC · ⌖ 0.712 AIC · ⊞ 13.3K · [◷]( · ◷)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 31/31 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 17:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 31/31 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c1399eff-1328-4e8f-92d4-d730891fbefd
Copilot AI review requested due to automatic review settings August 27, 2026 18:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

Review tier: Balanced
Findings: None

Issues resolved since last review (1)
Severity Finding
Medium severity src/​Platform/​Microsoft.Testing.Platform/​ServerMode/​JsonRpc/​Json/​Json.Deserializers.cs — An explicit JSON null ID is treated as if the member were absent, so `{ "id": null, "method": ...… View resolved comment

@Evangelink
Amaury Levé (Evangelink) merged commit 455f09d into microsoft:main Aug 27, 2026
36 checks passed
@Evangelink
Amaury Levé (Evangelink) deleted the dev/amauryleve/harden-json-rpc-protocol branch August 27, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state/needs-review Awaiting review from the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants