Skip to content

test(extra): centralize mstsgu integration tests - #1743

Open
Benoît Cortier (CBenoit) wants to merge 10 commits into
masterfrom
cbenoit-consolidate-mstsgu-tests
Open

test(extra): centralize mstsgu integration tests#1743
Benoît Cortier (CBenoit) wants to merge 10 commits into
masterfrom
cbenoit-consolidate-mstsgu-tests

Conversation

@CBenoit

@CBenoit Benoît Cortier (CBenoit) commented Aug 21, 2026

Copy link
Copy Markdown
Member

Move Mstsgu coverage to the shared extra test harness.

Keep native-TLS coverage in the same centralized binary.

Copilot AI balanced review requested due to automatic review settings August 21, 2026 08:33

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

Consolidates MSTSGU integration tests into one binary to reduce relinking while retaining native-TLS coverage.

Changes:

  • Registers a unified integration-test harness.
  • Moves native-TLS gating to the http_auth module.
  • Updates xtask commands for the new target.

No material findings identified; protocol review was unnecessary because protocol behavior is unchanged.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
xtask/src/check.rs Targets the consolidated test binary.
crates/ironrdp-mstsgu/Cargo.toml Disables test autodiscovery and registers one harness.
crates/ironrdp-mstsgu/tests/main.rs Declares the test modules and feature gate.
crates/ironrdp-mstsgu/tests/http_auth.rs Removes the now-centralized lint allowance.
crates/ironrdp-mstsgu/tests/http_control.rs Removes the now-centralized lint allowance.
crates/ironrdp-mstsgu/tests/rpc_pdu.rs Removes the now-centralized lint allowance.
crates/ironrdp-mstsgu/tests/udp.rs Removes the now-centralized lint allowance.

@github-actions github-actions Bot added maintainer-required Maintainer review or intervention is required risk/low Self-contained change with no cross-crate behavioral effect scope/tooling Build, CI, release, or developer tooling size/M Size: up to 449 counted lines and 10 files; exceeds S in either measure labels Aug 21, 2026
@CBenoit Benoît Cortier (CBenoit) changed the title test: consolidate mstsgu test binary test(extra): centralize mstsgu integration tests Aug 21, 2026
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from ecbf2a1 to 07910d5 Compare August 21, 2026 10:49
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from 07910d5 to 6b9742a Compare August 21, 2026 20:16
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from 6b9742a to bdf4a10 Compare August 21, 2026 20:25
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from bdf4a10 to f9f7a02 Compare August 22, 2026 07:23
@github-actions github-actions Bot added risk/unknown Risk could not be determined automatically; needs maintainer-level scrutiny and removed risk/low Self-contained change with no cross-crate behavioral effect labels Aug 22, 2026
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from c8c0389 to 569972a Compare August 23, 2026 07:25
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from 569972a to 080a5a7 Compare August 26, 2026 15:09
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from 080a5a7 to d57abdc Compare August 28, 2026 15:03
@github-actions github-actions Bot added the size/L Size: up to 899 counted lines and 20 files; exceeds M in either measure label Aug 28, 2026
@github-actions github-actions Bot removed the size/M Size: up to 449 counted lines and 10 files; exceeds S in either measure label Aug 28, 2026
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from c4d254c to e5f7285 Compare August 28, 2026 18:32
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from e5f7285 to ddc3f56 Compare August 29, 2026 03:28
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from ddc3f56 to 26a5e17 Compare August 29, 2026 15:12
@CBenoit
Benoît Cortier (CBenoit) force-pushed the cbenoit-consolidate-mstsgu-tests branch from 26a5e17 to 5e4673f Compare August 29, 2026 15:17
Use one test harness to preserve feature-gated coverage while avoiding repeated relinking.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move Mstsgu coverage to the shared extra test harness.

Keep native-TLS coverage in the same centralized binary.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Nest the Mstsgu integration modules beneath the extra test harness.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Retain upstream Mstsgu coverage in the centralized harness after rebasing.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep native TLS smart-card coverage in the extra test harness.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move the Mstsgu integration coverage to the extra suite's sole test binary.

This leaves ironrdp-mstsgu with no Cargo test targets.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The crate has no test targets, so this import no longer has a supporting dependency.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep Mstsgu integration coverage in the extra-suite harness so the package exposes no Cargo test target.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the updated RPCH v2 coverage in the extra-suite harness.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep RPC stub coverage in the extra-suite harness with its test-only dependency.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-required Maintainer review or intervention is required risk/unknown Risk could not be determined automatically; needs maintainer-level scrutiny scope/tooling Build, CI, release, or developer tooling size/L Size: up to 899 counted lines and 20 files; exceeds M in either measure

Development

Successfully merging this pull request may close these issues.

3 participants