Harden cross-suite E2E process cleanup - #2539
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The teardown changes are scoped, race-safe, and preserve the intended E2E assertions.
Review tier: Balanced
Findings: None
What changed in this PR
Hardens cross-platform E2E teardown without changing SDK runtime behavior.
Changes:
- Adds bounded graceful shutdown with
SIGKILLescalation for the Node OAuth MCP helper. - Replaces nested PowerShell startup with a cmd-native Windows test command.
| File | Description |
|---|---|
nodejs/test/e2e/mcp_oauth.e2e.test.ts |
Adds race-safe, bounded child-process teardown. |
dotnet/test/E2E/RpcAdditionalEdgeCasesE2ETests.cs |
Simplifies Windows delay and marker handling. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0dbb9c55-3bbb-4da8-9fec-c135f7d6a3e5
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0dbb9c55-3bbb-4da8-9fec-c135f7d6a3e5
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0dbb9c55-3bbb-4da8-9fec-c135f7d6a3e5
SDK Consistency ReviewThis PR is scoped entirely to test/E2E harness infrastructure, not public SDK client APIs. No files under Changes reviewed:
Consistency assessment: Since this is test-harness-only (no public SDK API surface changed), there's no API naming/parameter/return-type parity issue to flag under the review criteria. Minor, non-blocking observation: the "wait, then escalate to force-kill with a timeout" pattern was applied to the Go, Python, and Node.js test harnesses, but not to the Java or .NET E2E test harnesses' proxy-stop logic (only a command-string tweak landed in No inline code comments needed; nothing here creates a cross-language SDK API inconsistency.
|
Summary
SIGTERM,SIGKILLescalation, and race-safe timer/listener cleanupThese are test harness reliability fixes only; SDK runtime behavior is unchanged. Release-artifact checksum retry behavior is untouched.
Validation
The final design and repository-wide occurrence audit were independently reviewed with Claude Opus 5.