From 05d1ebfeb92c48a3ba18514510e0ac85f9c33bee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2026 19:49:35 +0000 Subject: [PATCH] Clarify task host protocol capability checks Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/instructions/backend-execution.instructions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/instructions/backend-execution.instructions.md b/.github/instructions/backend-execution.instructions.md index a88cd36cc4a..ffaa0358bc7 100644 --- a/.github/instructions/backend-execution.instructions.md +++ b/.github/instructions/backend-execution.instructions.md @@ -16,6 +16,7 @@ MSBuild's multi-process execution engine: `BuildManager`, node communication, sc ## Node Communication & IPC * Never change the IPC packet format without versioning — old nodes must communicate with new ones during rolling updates. +* Derive remote capabilities from the connection's negotiated packet version, not process startup or runtime assumptions; validate task host protocol changes on both .NET and .NET Framework. * IPC message ordering matters — race conditions cause intermittent, hard-to-reproduce failures. * Task host node (`NodeProviderOutOfProcTaskHost.cs`) has additional isolation constraints for type loading.