Skip to content

Followup to STDIN PR - #41703

Merged
JohnMcPMS merged 2 commits into
microsoft:masterfrom
JohnMcPMS:stdin-follow
Sep 25, 2026
Merged

JohnMcPMS merged 2 commits into
microsoft:masterfrom
JohnMcPMS:stdin-follow

Conversation

@JohnMcPMS

Copy link
Copy Markdown
Member

Summary of the Pull Request

Followup to #41698 that makes changes only to docs, tests, and maintainability aspects of the code.

PR Checklist

  • Closes: Link to issue #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated if needed and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated if needed
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

PR feedback from the previous change as none of it required any functionality changes to the product code.

  • Documentation/comment updates.
  • Added test coverage.
  • Maintainability improvements.

Validation Steps Performed

Ran the modified tests.

Copilot AI lite review requested due to automatic review settings September 25, 2026 17:26
@JohnMcPMS
JohnMcPMS requested review from a team as code owners September 25, 2026 17: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.

Copilot review overview

🟢 Approval recommended

Only minor documentation timing clarifications remain; no blocking issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Follow-up improving SDK stdin coverage, flag handling, maintainability, and API documentation.

Changes:

  • Added C and WinRT stdin tests for init and exec processes.
  • Refined process flag validation and propagation.
  • Clarified process-settings lifecycle documentation.
File Summary
test/​windows/​WslcSdkWinRTTests.cpp Adds WinRT stdin helpers and coverage.
test/​windows/​WslcSdkTests.cpp Adds C SDK stdin coverage and helpers.
src/​windows/​WslcSDK/​wslcsdk.h Clarifies process flag lifecycle.
src/​windows/​WslcSDK/​wslcsdk.cpp Refines unknown-flag validation.
src/​windows/​WslcSDK/​winrt/​ProcessSettings.cpp Applies process flags consistently.
doc/​docs/​api-reference/​csharp/​settings-classes/​processsettings.md Clarifies configuration timing.
doc/​docs/​api-reference/​cpp/​settings-classes/​processsettings.md Clarifies configuration timing.
doc/​docs/​api-reference/​c/​process-apis/​wslcsetprocesssettingsflags.md Clarifies C API usage timing.

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

@JohnMcPMS
JohnMcPMS merged commit 5cca520 into microsoft:master Sep 25, 2026
11 checks passed
@JohnMcPMS
JohnMcPMS deleted the stdin-follow branch September 25, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants