Skip to content

Add unit tests for HangDump named-pipe serializers - #11741

Merged
Amaury Levé (Evangelink) merged 2 commits into
mainfrom
copilot/test-improver-add-unit-tests-for-named-pipe-serial
Oct 5, 2026
Merged

Amaury Levé (Evangelink) merged 2 commits into
mainfrom
copilot/test-improver-add-unit-tests-for-named-pipe-serial

Conversation

Copilot AI commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

The HangDump named-pipe serializers lacked direct unit coverage, leaving their wire-format behavior validated only through higher-level flows.

  • Serializer coverage

    • Verify serializer IDs.
    • Cover empty-payload request messages and singleton identity.
    • Round-trip consumer pipe names, including empty values.
    • Round-trip in-progress test responses with multiple entries, empty arrays, boundary timestamps, ordering, and Unicode names.
  • Test infrastructure

    • Use reflection to invoke embedded NamedPipeSerializer<T> members, matching the established Retry serializer test pattern.
    • Keep production code and dependencies unchanged.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 12:10

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 wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 4, 2026 12:33
Copilot AI changed the title [WIP] Add unit tests for HangDump named-pipe serializers Add unit tests for HangDump named-pipe serializers Oct 4, 2026

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

The tests comprehensively cover the intended serializers and follow established repository patterns.

Review effort: Balanced
Findings: None

@Evangelink
Amaury Levé (Evangelink) marked this pull request as ready for review October 4, 2026 12:57
@Evangelink
Amaury Levé (Evangelink) enabled auto-merge (squash) October 4, 2026 12:57
@github-actions github-actions Bot added the state/needs-review Awaiting review from the team. label Oct 4, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Oct 5, 2026
@Evangelink
Amaury Levé (Evangelink) merged commit 1392498 into main Oct 5, 2026
42 of 44 checks passed
@Evangelink
Amaury Levé (Evangelink) deleted the copilot/test-improver-add-unit-tests-for-named-pipe-serial branch October 5, 2026 07:27
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the state/needs-review Awaiting review from the team. label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[test-improver] Add unit tests for HangDump named-pipe serializers

4 participants